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
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

Traffic Sources

Download schema

API endpoints to manage traffic sources


List traffic sources

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

List all traffic sources

List traffic sources › query Parameters

status
​string · enum · required

Status of resource

Enum values:
active
archived
not-deleted
all
idCategory
​string

Optional category ID to filter by

List traffic sources › Responses

List of traffic sources

​TrafficSourceInfo[]
Slim traffic source projection returned by list and findByStatus endpoints.
TrafficSourceInfo
idTrafficSource
​string · required

ID of the traffic source

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

Traffic source's name.

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

ID of the parent category

categoryName
​string · maxLength: 256

Name of the parent category

GET/trafficsource/list/
curl --request GET \ --url 'https://api.funnelflux.pro/v1/trafficsource/list?status=%3Cstring%3E'
Example Responses
[ { "idTrafficSource": "idTrafficSource", "trafficSourceName": "trafficSourceName", "status": "active", "idCategory": "idCategory", "categoryName": "categoryName" } ]
json
application/json

Find traffic source by ID

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

Retrieve a traffic source by its id

Find traffic source by ID › query Parameters

idTrafficSource
​string · required

The ID of the traffic source

Find traffic source by ID › Responses

The requested traffic source

TrafficSource
idTrafficSource
​string · required

ID of the traffic source

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

Traffic source's name.

costType
​string · enum · required
Enum values:
cpe
cpa
Default: cpe
defaultCost
​string
Default:
​object

DEPRECATED

​object

Allowed keys are campaign, external and c1 to c20 - see example

Example: {"campaign":{"name":"campaign","value":null},"external":{"name":"external","value":"{externalid}"},"c1":{"name":"source","value":"{source}"},"c2":{"name":"target","previousName":"old_target","value":"{target}"},"c3":{"name":"zone","value":"{zone}"}}
​Postback
​CustomEventPostback
status
​Status · enum
Enum values:
active
archived
deleted
Default: active
idCategory
​string

Category ID. Empty if uncategorized

Default:
​object

Free form object for storing custom scenario data (deprecated)

​object

Free form object for storing conversion tracking settings (UI usage only)

​object

Reserved for the FunnelFlux user interface (UI state and edit version/conflict tracking). For internal UI use only; do not store your own data here via the API, as the UI may overwrite it.

incomingCostModifier
​number

Incoming cost modifier in percent. This value is used to adjust the incoming cost of a traffic source. For example, if the incoming cost is $1 and the incoming cost modifier is 50, the incoming cost will be adjusted to $0.5. This number should be between 0 and 500.

Default: 1
outgoingRevenueModifier
​number

Outgoing revenue modifier in percent. This value is used to adjust the outgoing revenue of a traffic source. For example, if the outgoing revenue is $1 and the outgoing revenue modifier is 50, the outgoing revenue sent in postbacks will be $0.5. This number should be between 0 and 500.

Default: 1
outgoingPostbackProbability
​number

Outgoing postback probability in percent. This value is used to determine the probability of sending a postback to the traffic source. For example, if the outgoing postback probability is 50, then there is a 50% chance that a postback will be sent to the traffic source. This number should be between 0 and 100.

Default: 100
disableZeroRevenuePostbacks
​boolean

If true, then zero revenue postbacks will not be sent for this traffic source. This is useful for filtering events of zero revenue which may not be desirable to send to the traffic source.

Default: false
conversionWebhookConfigIDs
​string[]

Webhook configs to dispatch for conversion events attributed to this traffic source

​object

Map of custom event identifiers to webhook config IDs to dispatch for that event

GET/trafficsource/find/byId/
curl --request GET \ --url 'https://api.funnelflux.pro/v1/trafficsource/find/byId?idTrafficSource=%3Cstring%3E'
Example Responses
{ "idTrafficSource": "1", "trafficSourceName": "trafficSourceName", "defaultCost": "0", "postback": { "postbackType": "none", "idTrafficSource": "idTrafficSource" }, "customEventPostback": { "idTrafficSource": "idTrafficSource", "customEvents": { "1": { "postbackType": "postbackURL", "postbackURL": "none" } } }, "costType": "cpe", "trackingFieldSlots": { "c1": { "name": "source", "value": "{source}" }, "c2": { "name": "target", "value": "{target}" }, "c3": { "name": "zone", "value": "{zone}" } }, "conversionWebhookConfigIDs": [ "webhook-config-id" ], "customEventWebhookConfigIDs": { "1": [ "webhook-config-id" ] } }
json
application/json

Find traffic sources by ID list

GET
https://api.funnelflux.pro/v1
/trafficsource/find/byIds/

Retrieve all traffic sources with the specified ids

Find traffic sources by ID list › query Parameters

idTrafficSources
​string · required

The list of traffic source IDs to retrieve

Find traffic sources by ID list › Responses

List of traffic sources with the specified ids

​TrafficSource[]
TrafficSource
idTrafficSource
​string · required

ID of the traffic source

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

Traffic source's name.

costType
​string · enum · required
Enum values:
cpe
cpa
Default: cpe
defaultCost
​string
Default:
​object

DEPRECATED

​object

Allowed keys are campaign, external and c1 to c20 - see example

Example: {"campaign":{"name":"campaign","value":null},"external":{"name":"external","value":"{externalid}"},"c1":{"name":"source","value":"{source}"},"c2":{"name":"target","previousName":"old_target","value":"{target}"},"c3":{"name":"zone","value":"{zone}"}}
​Postback
​CustomEventPostback
status
​Status · enum
Enum values:
active
archived
deleted
Default: active
idCategory
​string

Category ID. Empty if uncategorized

Default:
​object

Free form object for storing custom scenario data (deprecated)

​object

Free form object for storing conversion tracking settings (UI usage only)

​object

Reserved for the FunnelFlux user interface (UI state and edit version/conflict tracking). For internal UI use only; do not store your own data here via the API, as the UI may overwrite it.

incomingCostModifier
​number

Incoming cost modifier in percent. This value is used to adjust the incoming cost of a traffic source. For example, if the incoming cost is $1 and the incoming cost modifier is 50, the incoming cost will be adjusted to $0.5. This number should be between 0 and 500.

Default: 1
outgoingRevenueModifier
​number

Outgoing revenue modifier in percent. This value is used to adjust the outgoing revenue of a traffic source. For example, if the outgoing revenue is $1 and the outgoing revenue modifier is 50, the outgoing revenue sent in postbacks will be $0.5. This number should be between 0 and 500.

Default: 1
outgoingPostbackProbability
​number

Outgoing postback probability in percent. This value is used to determine the probability of sending a postback to the traffic source. For example, if the outgoing postback probability is 50, then there is a 50% chance that a postback will be sent to the traffic source. This number should be between 0 and 100.

Default: 100
disableZeroRevenuePostbacks
​boolean

If true, then zero revenue postbacks will not be sent for this traffic source. This is useful for filtering events of zero revenue which may not be desirable to send to the traffic source.

Default: false
conversionWebhookConfigIDs
​string[]

Webhook configs to dispatch for conversion events attributed to this traffic source

​object

Map of custom event identifiers to webhook config IDs to dispatch for that event

GET/trafficsource/find/byIds/
curl --request GET \ --url 'https://api.funnelflux.pro/v1/trafficsource/find/byIds?idTrafficSources=%3Cstring%3E'
Example Responses
[ { "idTrafficSource": "1", "trafficSourceName": "trafficSourceName", "defaultCost": "0", "postback": { "postbackType": "none", "idTrafficSource": "idTrafficSource" }, "customEventPostback": { "idTrafficSource": "idTrafficSource", "customEvents": { "1": { "postbackType": "postbackURL", "postbackURL": "none" } } }, "costType": "cpe", "trackingFieldSlots": { "c1": { "name": "source", "value": "{source}" }, "c2": { "name": "target", "value": "{target}" }, "c3": { "name": "zone", "value": "{zone}" } }, "conversionWebhookConfigIDs": [ "webhook-config-id" ], "customEventWebhookConfigIDs": { "1": [ "webhook-config-id" ] } } ]
json
application/json

Find traffic sources by status

GET
https://api.funnelflux.pro/v1
/trafficsource/find/byStatus/

Retrieve all traffic sources with the specified status. Returns slim projection (same as list endpoint). Use find/byId for full objects.

Find traffic sources by status › query Parameters

status
​string · enum · required

Status of resource

Enum values:
active
archived
not-deleted
all

Find traffic sources by status › Responses

List of traffic sources with the specified status

​TrafficSourceInfo[]
Slim traffic source projection returned by list and findByStatus endpoints.
TrafficSourceInfo
idTrafficSource
​string · required

ID of the traffic source

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

Traffic source's name.

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

ID of the parent category

categoryName
​string · maxLength: 256

Name of the parent category

GET/trafficsource/find/byStatus/
curl --request GET \ --url 'https://api.funnelflux.pro/v1/trafficsource/find/byStatus?status=%3Cstring%3E'
Example Responses
[ { "idTrafficSource": "idTrafficSource", "trafficSourceName": "trafficSourceName", "status": "active", "idCategory": "idCategory", "categoryName": "categoryName" } ]
json
application/json

Find traffic sources by category

GET
https://api.funnelflux.pro/v1
/trafficsource/find/byCategory/

Retrieve all traffic sources under the specified category

Find traffic sources by category › query Parameters

idCategory
​string · required

Parent category of resource

Find traffic sources by category › Responses

List of traffic sources

​TrafficSource[]
TrafficSource
idTrafficSource
​string · required

ID of the traffic source

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

Traffic source's name.

costType
​string · enum · required
Enum values:
cpe
cpa
Default: cpe
defaultCost
​string
Default:
​object

DEPRECATED

​object

Allowed keys are campaign, external and c1 to c20 - see example

Example: {"campaign":{"name":"campaign","value":null},"external":{"name":"external","value":"{externalid}"},"c1":{"name":"source","value":"{source}"},"c2":{"name":"target","previousName":"old_target","value":"{target}"},"c3":{"name":"zone","value":"{zone}"}}
​Postback
​CustomEventPostback
status
​Status · enum
Enum values:
active
archived
deleted
Default: active
idCategory
​string

Category ID. Empty if uncategorized

Default:
​object

Free form object for storing custom scenario data (deprecated)

​object

Free form object for storing conversion tracking settings (UI usage only)

​object

Reserved for the FunnelFlux user interface (UI state and edit version/conflict tracking). For internal UI use only; do not store your own data here via the API, as the UI may overwrite it.

incomingCostModifier
​number

Incoming cost modifier in percent. This value is used to adjust the incoming cost of a traffic source. For example, if the incoming cost is $1 and the incoming cost modifier is 50, the incoming cost will be adjusted to $0.5. This number should be between 0 and 500.

Default: 1
outgoingRevenueModifier
​number

Outgoing revenue modifier in percent. This value is used to adjust the outgoing revenue of a traffic source. For example, if the outgoing revenue is $1 and the outgoing revenue modifier is 50, the outgoing revenue sent in postbacks will be $0.5. This number should be between 0 and 500.

Default: 1
outgoingPostbackProbability
​number

Outgoing postback probability in percent. This value is used to determine the probability of sending a postback to the traffic source. For example, if the outgoing postback probability is 50, then there is a 50% chance that a postback will be sent to the traffic source. This number should be between 0 and 100.

Default: 100
disableZeroRevenuePostbacks
​boolean

If true, then zero revenue postbacks will not be sent for this traffic source. This is useful for filtering events of zero revenue which may not be desirable to send to the traffic source.

Default: false
conversionWebhookConfigIDs
​string[]

Webhook configs to dispatch for conversion events attributed to this traffic source

​object

Map of custom event identifiers to webhook config IDs to dispatch for that event

GET/trafficsource/find/byCategory/
curl --request GET \ --url 'https://api.funnelflux.pro/v1/trafficsource/find/byCategory?idCategory=%3Cstring%3E'
Example Responses
[ { "idTrafficSource": "1", "trafficSourceName": "trafficSourceName", "defaultCost": "0", "postback": { "postbackType": "none", "idTrafficSource": "idTrafficSource" }, "customEventPostback": { "idTrafficSource": "idTrafficSource", "customEvents": { "1": { "postbackType": "postbackURL", "postbackURL": "none" } } }, "costType": "cpe", "trackingFieldSlots": { "c1": { "name": "source", "value": "{source}" }, "c2": { "name": "target", "value": "{target}" }, "c3": { "name": "zone", "value": "{zone}" } }, "conversionWebhookConfigIDs": [ "webhook-config-id" ], "customEventWebhookConfigIDs": { "1": [ "webhook-config-id" ] } } ]
json
application/json

Save traffic source

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

Update an existing traffic source. The id cannot be changed.

Save traffic source › Request Body

TrafficSource
idTrafficSource
​string · required

ID of the traffic source

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

Traffic source's name.

costType
​string · enum · required
Enum values:
cpe
cpa
Default: cpe
defaultCost
​string
Default:
​object

DEPRECATED

​object

Allowed keys are campaign, external and c1 to c20 - see example

Example: {"campaign":{"name":"campaign","value":null},"external":{"name":"external","value":"{externalid}"},"c1":{"name":"source","value":"{source}"},"c2":{"name":"target","previousName":"old_target","value":"{target}"},"c3":{"name":"zone","value":"{zone}"}}
​Postback
​CustomEventPostback
status
​Status · enum
Enum values:
active
archived
deleted
Default: active
idCategory
​string

Category ID. Empty if uncategorized

Default:
​object

Free form object for storing custom scenario data (deprecated)

​object

Free form object for storing conversion tracking settings (UI usage only)

​object

Reserved for the FunnelFlux user interface (UI state and edit version/conflict tracking). For internal UI use only; do not store your own data here via the API, as the UI may overwrite it.

incomingCostModifier
​number

Incoming cost modifier in percent. This value is used to adjust the incoming cost of a traffic source. For example, if the incoming cost is $1 and the incoming cost modifier is 50, the incoming cost will be adjusted to $0.5. This number should be between 0 and 500.

Default: 1
outgoingRevenueModifier
​number

Outgoing revenue modifier in percent. This value is used to adjust the outgoing revenue of a traffic source. For example, if the outgoing revenue is $1 and the outgoing revenue modifier is 50, the outgoing revenue sent in postbacks will be $0.5. This number should be between 0 and 500.

Default: 1
outgoingPostbackProbability
​number

Outgoing postback probability in percent. This value is used to determine the probability of sending a postback to the traffic source. For example, if the outgoing postback probability is 50, then there is a 50% chance that a postback will be sent to the traffic source. This number should be between 0 and 100.

Default: 100
disableZeroRevenuePostbacks
​boolean

If true, then zero revenue postbacks will not be sent for this traffic source. This is useful for filtering events of zero revenue which may not be desirable to send to the traffic source.

Default: false
conversionWebhookConfigIDs
​string[]

Webhook configs to dispatch for conversion events attributed to this traffic source

​object

Map of custom event identifiers to webhook config IDs to dispatch for that event

Save traffic source › Responses

Traffic source updated successfully

No data returned
PUT/trafficsource/save/
curl --request PUT \ --url https://api.funnelflux.pro/v1/trafficsource/save \ --header 'Content-Type: application/json' \ --data ' { "idTrafficSource": "1", "trafficSourceName": "trafficSourceName", "defaultCost": "0", "postback": { "postbackType": "none", "idTrafficSource": "idTrafficSource" }, "customEventPostback": { "idTrafficSource": "idTrafficSource", "customEvents": { "1": { "postbackType": "postbackURL", "postbackURL": "none" } } }, "costType": "cpe", "trackingFieldSlots": { "c1": { "name": "source", "value": "{source}" }, "c2": { "name": "target", "value": "{target}" }, "c3": { "name": "zone", "value": "{zone}" } }, "conversionWebhookConfigIDs": [ "webhook-config-id" ], "customEventWebhookConfigIDs": { "1": [ "webhook-config-id" ] } } '
Example Request Body
{ "idTrafficSource": "1", "trafficSourceName": "trafficSourceName", "defaultCost": "0", "postback": { "postbackType": "none", "idTrafficSource": "idTrafficSource" }, "customEventPostback": { "idTrafficSource": "idTrafficSource", "customEvents": { "1": { "postbackType": "postbackURL", "postbackURL": "none" } } }, "costType": "cpe", "trackingFieldSlots": { "c1": { "name": "source", "value": "{source}" }, "c2": { "name": "target", "value": "{target}" }, "c3": { "name": "zone", "value": "{zone}" } }, "conversionWebhookConfigIDs": [ "webhook-config-id" ], "customEventWebhookConfigIDs": { "1": [ "webhook-config-id" ] } }
json
Example Responses
No example specified for this content type

Create traffic source

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

Create a new traffic source

Create traffic source › Request Body

TrafficSource
idTrafficSource
​string · required

ID of the traffic source

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

Traffic source's name.

costType
​string · enum · required
Enum values:
cpe
cpa
Default: cpe
defaultCost
​string
Default:
​object

DEPRECATED

​object

Allowed keys are campaign, external and c1 to c20 - see example

Example: {"campaign":{"name":"campaign","value":null},"external":{"name":"external","value":"{externalid}"},"c1":{"name":"source","value":"{source}"},"c2":{"name":"target","previousName":"old_target","value":"{target}"},"c3":{"name":"zone","value":"{zone}"}}
​Postback
​CustomEventPostback
status
​Status · enum
Enum values:
active
archived
deleted
Default: active
idCategory
​string

Category ID. Empty if uncategorized

Default:
​object

Free form object for storing custom scenario data (deprecated)

​object

Free form object for storing conversion tracking settings (UI usage only)

​object

Reserved for the FunnelFlux user interface (UI state and edit version/conflict tracking). For internal UI use only; do not store your own data here via the API, as the UI may overwrite it.

incomingCostModifier
​number

Incoming cost modifier in percent. This value is used to adjust the incoming cost of a traffic source. For example, if the incoming cost is $1 and the incoming cost modifier is 50, the incoming cost will be adjusted to $0.5. This number should be between 0 and 500.

Default: 1
outgoingRevenueModifier
​number

Outgoing revenue modifier in percent. This value is used to adjust the outgoing revenue of a traffic source. For example, if the outgoing revenue is $1 and the outgoing revenue modifier is 50, the outgoing revenue sent in postbacks will be $0.5. This number should be between 0 and 500.

Default: 1
outgoingPostbackProbability
​number

Outgoing postback probability in percent. This value is used to determine the probability of sending a postback to the traffic source. For example, if the outgoing postback probability is 50, then there is a 50% chance that a postback will be sent to the traffic source. This number should be between 0 and 100.

Default: 100
disableZeroRevenuePostbacks
​boolean

If true, then zero revenue postbacks will not be sent for this traffic source. This is useful for filtering events of zero revenue which may not be desirable to send to the traffic source.

Default: false
conversionWebhookConfigIDs
​string[]

Webhook configs to dispatch for conversion events attributed to this traffic source

​object

Map of custom event identifiers to webhook config IDs to dispatch for that event

Create traffic source › Responses

Traffic source created successfully

No data returned
POST/trafficsource/save/
curl --request POST \ --url https://api.funnelflux.pro/v1/trafficsource/save \ --header 'Content-Type: application/json' \ --data ' { "idTrafficSource": "1", "trafficSourceName": "trafficSourceName", "defaultCost": "0", "postback": { "postbackType": "none", "idTrafficSource": "idTrafficSource" }, "customEventPostback": { "idTrafficSource": "idTrafficSource", "customEvents": { "1": { "postbackType": "postbackURL", "postbackURL": "none" } } }, "costType": "cpe", "trackingFieldSlots": { "c1": { "name": "source", "value": "{source}" }, "c2": { "name": "target", "value": "{target}" }, "c3": { "name": "zone", "value": "{zone}" } }, "conversionWebhookConfigIDs": [ "webhook-config-id" ], "customEventWebhookConfigIDs": { "1": [ "webhook-config-id" ] } } '
Example Request Body
{ "idTrafficSource": "1", "trafficSourceName": "trafficSourceName", "defaultCost": "0", "postback": { "postbackType": "none", "idTrafficSource": "idTrafficSource" }, "customEventPostback": { "idTrafficSource": "idTrafficSource", "customEvents": { "1": { "postbackType": "postbackURL", "postbackURL": "none" } } }, "costType": "cpe", "trackingFieldSlots": { "c1": { "name": "source", "value": "{source}" }, "c2": { "name": "target", "value": "{target}" }, "c3": { "name": "zone", "value": "{zone}" } }, "conversionWebhookConfigIDs": [ "webhook-config-id" ], "customEventWebhookConfigIDs": { "1": [ "webhook-config-id" ] } }
json
Example Responses
No example specified for this content type

Duplicate traffic source

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

Create duplicate of existing traffic source.

Duplicate traffic source › query Parameters

idTrafficSource
​string · required

ID of the traffic source to duplicate.

Duplicate traffic source › Request Body

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

Name for the new asset

parentId
​string

Optional parent/category ID for the new asset

​object

Optional field overrides to merge into the duplicated asset. Keys are JSON field names (e.g. baseURL, trackingFieldSlots). Protected fields (ID, owner, status) cannot be changed via this field — they are always set by the server after the merge.

Duplicate traffic source › Responses

The newly created traffic source

DuplicateResponse
id
​string

ID of the newly created asset

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

Delete traffic source

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

Delete the specified traffic sources

Delete traffic source › Request Body

StringList
entries
​string[] · required

Delete traffic source › Responses

Traffic sources deleted successfully

No data returned
DELETE/trafficsource/delete/
curl --request DELETE \ --url https://api.funnelflux.pro/v1/trafficsource/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

Archive traffic sources

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

Archive the specified traffic sources

Archive traffic sources › Request Body

StringList
entries
​string[] · required

Archive traffic sources › Responses

Traffic sources archived successfully

No data returned
PUT/trafficsource/archive/
curl --request PUT \ --url https://api.funnelflux.pro/v1/trafficsource/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 traffic sources

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

Unarchive the specified traffic sources

Unarchive traffic sources › Request Body

StringList
entries
​string[] · required

Unarchive traffic sources › Responses

Traffic sources unarchived successfully

No data returned
PUT/trafficsource/unarchive/
curl --request PUT \ --url https://api.funnelflux.pro/v1/trafficsource/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

Move traffic sources to a category

PUT
https://api.funnelflux.pro/v1
/trafficsource/move-category/

Move the specified traffic sources to a category

Move traffic sources to a category › Request Body

MoveCategoryRequest
entries
​string[] · required

List of asset IDs to move

idCategory
​string · required

Target category ID (empty string to remove from category)

Move traffic sources to a category › Responses

Traffic sources moved successfully

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

Offer Sources