FunnelFlux Pro API DocumentsFunnelFlux Pro API Documents
  • Changelog
  • Status
  • Dashboard
  • Documentation
  • Authentication
  • Domains
  • Assets
  • Reporting
Information
Traffic Sources
    List traffic sourcesgetFind traffic source by IDgetFind traffic sources by ID listgetFind traffic sources by statusgetFind traffic sources by categorygetSave traffic sourceputCreate traffic sourcepostDuplicate traffic sourcepostDelete traffic sourcedeleteArchive traffic sourcesputUnarchive traffic sourcesputMove traffic sources to a categoryput
Offer Sources
    List offer sourcesgetFind offer source by IDgetFind offer sources by ID listgetFind offer sources by statusgetFind offer sources by categorygetSave offer sourceputCreate offer sourcepostDuplicate offer sourcepostDelete offer sourcedeleteArchive offer sourcesputUnarchive offer sourcesputMove offer sources to a categoryput
Funnel Groups
    List funnel groupsgetFind funnel group by IDgetFind funnel groups by ID listgetFind funnel groups by statusgetUpdate a funnel groupputCreate a funnel grouppostDuplicate a funnel grouppostDelete a funnel groupdeleteArchive funnel groupsputList funnel groupsgetFind funnel group by IDgetFind funnel groups by ID listgetFind funnel groups by statusgetUpdate an existing funnel groupputCreate a new funnel grouppostDuplicate a funnel grouppostDelete a funnel groupdeleteArchive funnel groupsputUnarchive funnel groupsput
Funnels
    List funnelsgetFind funnel by IDgetFind funnels by ID listgetFind funnels by statusgetFind funnels by typegetFind funnels by categorygetUpdate a funnelputCreate a funnelpostDuplicate a funnelpostDelete a funneldeleteArchive a funnelputUnarchive a funnelputMove a funnelput
Conditions
    List conditionsgetFind condition by IDgetFind conditions by ID listgetFind conditions by statusgetFind conditions by categorygetUpdate a conditionputCreate a conditionpostDuplicate a conditionpostDelete a conditiondeleteArchive conditionsputUnarchive conditionsputMove conditions to a categoryput
Logic Scripts
    List logic scriptsgetFind logic script by IDgetFind logic scripts by ID listgetFind logic scripts by namegetFind logic scripts by statusgetFind logic scripts by categorygetUpdate a logic scriptputCreate a logic scriptpostDuplicate a logic scriptpostSoft-delete logic scriptsdeleteGet logic script language metadatagetValidate logic script codepostArchive logic scriptsputUnarchive logic scriptsputMove logic scripts to a categoryput
Visitor Tags
    Find visitor tag by IDgetList visitor tagsgetFind visitor tags by statusgetUpdate a visitor tagputCreate a visitor tagpostDuplicate a visitor tagpostDelete visitor tagsdeleteArchive visitor tagsputUnarchive visitor tagsputMove visitor tags to categoryput
Short Links
    List saved short linksgetFind saved short link by IDgetFind saved short link by sluggetUpdate a saved short linkputCreate a saved short linkpostDelete saved short linksdeleteDuplicate a saved short linkpostArchive saved short linksputUnarchive saved short linksput
Page Groups
    List page groupsgetFind a page group by IDgetFind page groups by ID listgetFind page groups by statusgetFind page groups by typegetFind page groups by categorygetUpdate a page groupputCreate a page grouppostDuplicate a page grouppostDelete a page groupdeleteArchive page groupsputUnarchive page groupsputMove global page groups to a categoryputFind page groups by categorygetMove global page groups to a categoryput
Pages
    List pagesgetFind a page by IDgetFind pages by ID listgetFind pages by statusgetFind pages by categorygetUpdate a pageputCreate a new pagepostDuplicate a pagepostDelete a pagedeleteArchive pagesputUnarchive pagesputMove pages to a categoryput
Categories
    List categoriesgetFind category by IDgetFind categories by ID listgetUpdate a categoryputCreate a categorypostDuplicate a categorypostDelete a categorydeleteArchive categoriesputUnarchive categoriesput
User
    Get user settingsgetSave user settingsputDelete user settingsdelete
Integration
    List integration API keysgetUpdate integration API keyputGenerate integration API keypostDelete integration API keydelete
AI Node Settings
    Update AI node settingsputCreate AI node settingspostFind AI node settings by IDgetFind AI node settings by ID listgetDelete AI node settingsdelete
Webhook Configs
    List webhook configsgetFind webhook config by IDgetFind webhook configs by ID listgetSave webhook configputCreate webhook configpostDelete webhook configdeleteDuplicate webhook configpostArchive webhook configsputUnarchive webhook configsputMove webhook configs to categoryput
Middleware Configs
    List middleware configsgetFind middleware config by IDgetFind middleware configs by ID listgetSave middleware configputCreate middleware configpostDelete middleware configdeleteDuplicate middleware configpostArchive middleware configsputUnarchive middleware configsputMove middleware configs to categoryput
Schemas
FunnelFlux Assets API
FunnelFlux Assets API

Short Links

Download schema

API endpoints to manage saved short entrance links


List saved short links

GET
https://api.funnelflux.pro/v1
/shortlink/list/

List saved short links by status. Omit status for the active list. Use archived for the recoverable archive view, or all for both.

List saved short links › query Parameters

status
​string · enum

Short link status filter.

Enum values:
active
archived
all

List saved short links › Responses

List of saved short links

​SavedShortLinkInfo[]
Slim saved short link projection returned by list endpoints.
SavedShortLinkInfo
idSavedShortLink
​string · required

ID of the saved short link.

savedShortLinkName
​string · minLength: 1 · maxLength: 256 · required

Saved short link display name.

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Owner-scoped short-link slug.

idFunnel
​string · required

Target funnel ID.

idTrafficSource
​string · required

Target traffic source ID.

status
​Status · enum · required
Enum values:
active
archived
deleted
Default: active
funnelName
​string

Target funnel name, resolved at read time rather than snapshotted — a rename is reflected without re-saving the link. Empty when the funnel no longer exists.

trafficSourceName
​string

Target traffic source name, resolved at read time. Empty when the traffic source no longer exists.

targetNodeId
​string

Optional target entrance node ID for list and reporting projections.

targetNodeName
​string

Snapshot of the target node name captured when the short link is saved.

trackingDomain
​string · maxLength: 253

Preferred tracking domain used to render this link. Display-only: the slug resolves on any of the owner's domains regardless of this value. Empty means fall back to the account default at render time.

GET/shortlink/list/
curl --request GET \ --url https://api.funnelflux.pro/v1/shortlink/list
Example Responses
[ { "idSavedShortLink": "idSavedShortLink", "savedShortLinkName": "savedShortLinkName", "slug": "slug", "idFunnel": "idFunnel", "funnelName": "funnelName", "idTrafficSource": "idTrafficSource", "trafficSourceName": "trafficSourceName", "targetNodeId": "targetNodeId", "targetNodeName": "targetNodeName", "trackingDomain": "trackingDomain", "status": "active" } ]
json
application/json

Find saved short link by ID

GET
https://api.funnelflux.pro/v1
/shortlink/find/byId/

Retrieve a saved short link by id.

Find saved short link by ID › query Parameters

idSavedShortLink
​string · required

The ID of the saved short link to retrieve.

Find saved short link by ID › Responses

The requested saved short link

Owner-scoped short entrance link that routes to a structured funnel entrance.
SavedShortLink
idSavedShortLink
​string · required

ID of the saved short link.

savedShortLinkName
​string · minLength: 1 · maxLength: 256 · required

Saved short link display name.

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Lowercase owner-scoped slug used at /l/{slug}.

idFunnel
​string · required

Target funnel ID.

idTrafficSource
​string · required

Target traffic source ID.

idNode
​string

Optional target entrance node ID.

idPage
​string

Optional target entrance page ID. Requires idNode to be a page-group node containing the page.

targetNodeName
​string

Server-managed snapshot of idNode's nodeName captured when the short link is saved.

​object

Optional default query parameters. Visitor query values override these defaults key-by-key.

defaultCost
​string

Optional default value injected as query key c when the visitor request does not already include c.

trackingDomain
​string · maxLength: 253

Preferred tracking domain used to render this link. Display-only: the slug resolves on any of the owner's domains regardless of this value. Must be one of the owner's domains; absent means fall back to the account default at render time.

status
​Status · enum
Enum values:
active
archived
deleted
Default: active
owner
​string

Server-managed owner context.

GET/shortlink/find/byId/
curl --request GET \ --url 'https://api.funnelflux.pro/v1/shortlink/find/byId?idSavedShortLink=%3Cstring%3E'
Example Responses
{ "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" }
json
application/json

Find saved short link by slug

GET
https://api.funnelflux.pro/v1
/shortlink/find/bySlug/

Retrieve an active saved short link by owner-scoped slug.

Find saved short link by slug › query Parameters

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Owner-scoped short-link slug.

Find saved short link by slug › Responses

The requested saved short link

Owner-scoped short entrance link that routes to a structured funnel entrance.
SavedShortLink
idSavedShortLink
​string · required

ID of the saved short link.

savedShortLinkName
​string · minLength: 1 · maxLength: 256 · required

Saved short link display name.

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Lowercase owner-scoped slug used at /l/{slug}.

idFunnel
​string · required

Target funnel ID.

idTrafficSource
​string · required

Target traffic source ID.

idNode
​string

Optional target entrance node ID.

idPage
​string

Optional target entrance page ID. Requires idNode to be a page-group node containing the page.

targetNodeName
​string

Server-managed snapshot of idNode's nodeName captured when the short link is saved.

​object

Optional default query parameters. Visitor query values override these defaults key-by-key.

defaultCost
​string

Optional default value injected as query key c when the visitor request does not already include c.

trackingDomain
​string · maxLength: 253

Preferred tracking domain used to render this link. Display-only: the slug resolves on any of the owner's domains regardless of this value. Must be one of the owner's domains; absent means fall back to the account default at render time.

status
​Status · enum
Enum values:
active
archived
deleted
Default: active
owner
​string

Server-managed owner context.

GET/shortlink/find/bySlug/
curl --request GET \ --url 'https://api.funnelflux.pro/v1/shortlink/find/bySlug?slug=%3Cstring%3E'
Example Responses
{ "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" }
json
application/json

Update a saved short link

PUT
https://api.funnelflux.pro/v1
/shortlink/save/

Update an existing saved short link. Slugs remain owner-scoped and must be unique across all short links for the owner, including archived links.

Update a saved short link › Request Body

Owner-scoped short entrance link that routes to a structured funnel entrance.
SavedShortLink
idSavedShortLink
​string · required

ID of the saved short link.

savedShortLinkName
​string · minLength: 1 · maxLength: 256 · required

Saved short link display name.

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Lowercase owner-scoped slug used at /l/{slug}.

idFunnel
​string · required

Target funnel ID.

idTrafficSource
​string · required

Target traffic source ID.

idNode
​string

Optional target entrance node ID.

idPage
​string

Optional target entrance page ID. Requires idNode to be a page-group node containing the page.

targetNodeName
​string

Server-managed snapshot of idNode's nodeName captured when the short link is saved.

​object

Optional default query parameters. Visitor query values override these defaults key-by-key.

defaultCost
​string

Optional default value injected as query key c when the visitor request does not already include c.

trackingDomain
​string · maxLength: 253

Preferred tracking domain used to render this link. Display-only: the slug resolves on any of the owner's domains regardless of this value. Must be one of the owner's domains; absent means fall back to the account default at render time.

status
​Status · enum
Enum values:
active
archived
deleted
Default: active
owner
​string

Server-managed owner context.

Update a saved short link › Responses

Saved short link updated successfully

Owner-scoped short entrance link that routes to a structured funnel entrance.
SavedShortLink
idSavedShortLink
​string · required

ID of the saved short link.

savedShortLinkName
​string · minLength: 1 · maxLength: 256 · required

Saved short link display name.

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Lowercase owner-scoped slug used at /l/{slug}.

idFunnel
​string · required

Target funnel ID.

idTrafficSource
​string · required

Target traffic source ID.

idNode
​string

Optional target entrance node ID.

idPage
​string

Optional target entrance page ID. Requires idNode to be a page-group node containing the page.

targetNodeName
​string

Server-managed snapshot of idNode's nodeName captured when the short link is saved.

​object

Optional default query parameters. Visitor query values override these defaults key-by-key.

defaultCost
​string

Optional default value injected as query key c when the visitor request does not already include c.

trackingDomain
​string · maxLength: 253

Preferred tracking domain used to render this link. Display-only: the slug resolves on any of the owner's domains regardless of this value. Must be one of the owner's domains; absent means fall back to the account default at render time.

status
​Status · enum
Enum values:
active
archived
deleted
Default: active
owner
​string

Server-managed owner context.

PUT/shortlink/save/
curl --request PUT \ --url https://api.funnelflux.pro/v1/shortlink/save \ --header 'Content-Type: application/json' \ --data ' { "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" } '
Example Request Body
{ "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" }
json
Example Responses
{ "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" }
json
application/json

Create a saved short link

POST
https://api.funnelflux.pro/v1
/shortlink/save/

Create a saved short link. The target must be a structured funnel entrance, not a generic URL.

Create a saved short link › Request Body

Owner-scoped short entrance link that routes to a structured funnel entrance.
SavedShortLink
idSavedShortLink
​string · required

ID of the saved short link.

savedShortLinkName
​string · minLength: 1 · maxLength: 256 · required

Saved short link display name.

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Lowercase owner-scoped slug used at /l/{slug}.

idFunnel
​string · required

Target funnel ID.

idTrafficSource
​string · required

Target traffic source ID.

idNode
​string

Optional target entrance node ID.

idPage
​string

Optional target entrance page ID. Requires idNode to be a page-group node containing the page.

targetNodeName
​string

Server-managed snapshot of idNode's nodeName captured when the short link is saved.

​object

Optional default query parameters. Visitor query values override these defaults key-by-key.

defaultCost
​string

Optional default value injected as query key c when the visitor request does not already include c.

trackingDomain
​string · maxLength: 253

Preferred tracking domain used to render this link. Display-only: the slug resolves on any of the owner's domains regardless of this value. Must be one of the owner's domains; absent means fall back to the account default at render time.

status
​Status · enum
Enum values:
active
archived
deleted
Default: active
owner
​string

Server-managed owner context.

Create a saved short link › Responses

Saved short link created successfully

Owner-scoped short entrance link that routes to a structured funnel entrance.
SavedShortLink
idSavedShortLink
​string · required

ID of the saved short link.

savedShortLinkName
​string · minLength: 1 · maxLength: 256 · required

Saved short link display name.

slug
​string · pattern: ^[a-z0-9_-]{1,64}$ · required

Lowercase owner-scoped slug used at /l/{slug}.

idFunnel
​string · required

Target funnel ID.

idTrafficSource
​string · required

Target traffic source ID.

idNode
​string

Optional target entrance node ID.

idPage
​string

Optional target entrance page ID. Requires idNode to be a page-group node containing the page.

targetNodeName
​string

Server-managed snapshot of idNode's nodeName captured when the short link is saved.

​object

Optional default query parameters. Visitor query values override these defaults key-by-key.

defaultCost
​string

Optional default value injected as query key c when the visitor request does not already include c.

trackingDomain
​string · maxLength: 253

Preferred tracking domain used to render this link. Display-only: the slug resolves on any of the owner's domains regardless of this value. Must be one of the owner's domains; absent means fall back to the account default at render time.

status
​Status · enum
Enum values:
active
archived
deleted
Default: active
owner
​string

Server-managed owner context.

POST/shortlink/save/
curl --request POST \ --url https://api.funnelflux.pro/v1/shortlink/save \ --header 'Content-Type: application/json' \ --data ' { "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" } '
Example Request Body
{ "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" }
json
Example Responses
{ "idSavedShortLink": "link-id", "savedShortLinkName": "Summer Sale", "slug": "summer-sale", "idFunnel": "funnel-id", "idTrafficSource": "traffic-source-id", "idNode": "node-id", "idPage": "page-id", "defaultUrlParams": { "campaign": "summer", "ad_id": "123" }, "defaultCost": "1.25", "status": "active" }
json
application/json

Delete saved short links

DELETE
https://api.funnelflux.pro/v1
/shortlink/delete/

Permanently delete the specified saved short links. Unlike every other asset type, short links are hard-deleted: the row is removed and its slug is released back to the owner's slug namespace. This is not reversible — use /shortlink/archive/ for the reversible operation.

Delete saved short links › Request Body

StringList
entries
​string[] · required

Delete saved short links › Responses

Saved short links deleted successfully

No data returned
DELETE/shortlink/delete/
curl --request DELETE \ --url https://api.funnelflux.pro/v1/shortlink/delete \ --header 'Content-Type: application/json' \ --data ' { "entries": [ "entries", "entries" ] } '
Example Request Body
{ "entries": [ "entries", "entries" ] }
json
Example Responses
No example specified for this content type

Duplicate a saved short link

POST
https://api.funnelflux.pro/v1
/shortlink/duplicate/

Create a copy of an existing saved short link. Both a name and a slug are required: a slug is unique per owner and user-visible, so the server cannot derive one for the copy. The duplicate is always created active.

Duplicate a saved short link › query Parameters

idSavedShortLink
​string · required

ID of the saved short link to duplicate.

Duplicate a saved short link › Request Body

DuplicateSavedShortLinkRequest
name
​string · minLength: 1 · maxLength: 256 · required

Name for the new saved short link

slug
​string · minLength: 1 · maxLength: 64 · pattern: ^[a-z0-9_-]{1,64}$ · required

Slug for the new saved short link. Required, because slugs are unique per owner and user-visible — the server cannot derive one for a copy.

Duplicate a saved short link › Responses

Duplicated saved short link ID

DuplicateResponse
id
​string

ID of the newly created asset

POST/shortlink/duplicate/
curl --request POST \ --url 'https://api.funnelflux.pro/v1/shortlink/duplicate?idSavedShortLink=%3Cstring%3E' \ --header 'Content-Type: application/json' \ --data ' { "name": "name", "slug": "slug" } '
Example Request Body
{ "name": "name", "slug": "slug" }
json
Example Responses
{ "id": "id" }
json
application/json

Archive saved short links

PUT
https://api.funnelflux.pro/v1
/shortlink/archive/

Archive the specified saved short links. Archived links are not routable at Edge.

Archive saved short links › Request Body

StringList
entries
​string[] · required

Archive saved short links › Responses

Saved short links archived successfully

No data returned
PUT/shortlink/archive/
curl --request PUT \ --url https://api.funnelflux.pro/v1/shortlink/archive \ --header 'Content-Type: application/json' \ --data ' { "entries": [ "entries", "entries" ] } '
Example Request Body
{ "entries": [ "entries", "entries" ] }
json
Example Responses
No example specified for this content type

Unarchive saved short links

PUT
https://api.funnelflux.pro/v1
/shortlink/unarchive/

Unarchive the specified saved short links.

Unarchive saved short links › Request Body

StringList
entries
​string[] · required

Unarchive saved short links › Responses

Saved short links unarchived successfully

No data returned
PUT/shortlink/unarchive/
curl --request PUT \ --url https://api.funnelflux.pro/v1/shortlink/unarchive \ --header 'Content-Type: application/json' \ --data ' { "entries": [ "entries", "entries" ] } '
Example Request Body
{ "entries": [ "entries", "entries" ] }
json
Example Responses
No example specified for this content type

Visitor TagsPage Groups