CanvasesImport canvas from a GHL funnel

Import canvas from a GHL funnel

Create a canvas from a GoHighLevel funnel object. Each funnel step becomes a page node (positioned left to right by sequence), a URL pattern is added for the step's url (match type contains) and its id (match type step_id), and sequential steps are connected with edges. Pass the funnel object returned by GET /ghl/funnels. Requires an agency key (ak_) and ?location_id=.

curl -X POST "https://mythic-analytics.gulp.workers.dev/builder/canvases/import-funnel?location_id=acme-retail" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "name": "Product Launch Funnel",
  "description": "example_string",
  "funnel": {
    "name": "John Doe",
    "steps": [
      {
        "id": "example_string",
        "name": "John Doe",
        "url": "example_string",
        "sequence": 42
      }
    ]
  }
}'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "tenant_key": "acme-retail",
    "name": "Product Launch Funnel",
    "description": "example_string",
    "viewport": {
      "x": 0,
      "y": 0,
      "zoom": 1
    },
    "is_active": false,
    "version": 3,
    "published_version": 2,
    "created_at": "2024-12-25T10:00:00Z",
    "updated_at": "2024-12-25T10:00:00Z"
  }
}
POST
/canvases/import-funnel
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Builder key as a bearer token. Use an agency key for full CRUD (Bearer ak_...) or a viewer key for read-only access (Bearer sk_...). Scoped keys (mcp_) are accepted too and need canvases:read or canvases:write. See Using an mcp_ key over HTTP.

Builder key as a bearer token. Use an agency key for full CRUD (Bearer ak_...) or a viewer key for read-only access (Bearer sk_...). Scoped keys (mcp_) are accepted too and need canvases:read or canvases:write. See Using an mcp_ key over HTTP.
query
location_idstring

Client location to scope the request to. Required when authenticating with an agency key (ak_). Ignored for viewer keys (sk_).

Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Builder key as a bearer token. Use an agency key for full CRUD (Bearer ak_...) or a viewer key for read-only access (Bearer sk_...). Scoped keys (mcp_) are accepted too and need canvases:read or canvases:write. See Using an mcp_ key over HTTP.

Query Parameters

location_idstring

Client location to scope the request to. Required when authenticating with an agency key (ak_). Ignored for viewer keys (sk_).

Example:
acme-retail

Body

application/json
namestring
Required
Example:
Product Launch Funnel
funnelobject
Required

Responses

dataobject