Skip to main content
POST
/
networks
/
tracking
/
campaigns
/
clicks
Generate Smart Link Tracking Link
curl --request POST \
  --url https://api.eflow.team/v1/networks/tracking/campaigns/clicks \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_campaign_id": 1,
  "network_affiliate_id": 7
}
'
{
  "url": "<string>",
  "can_affiliate_run_all_offers": true
}
Generate a click tracking link for a smart link (campaign) and affiliate pair. Only the network_campaign_id and network_affiliate_id parameters are required.

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
network_campaign_id
integer
required

The ID of the smartlink.

network_affiliate_id
integer
required

The ID of the affiliate.

network_traffic_source_id
integer

An optional traffic source ID. If a traffic source is associated with the affiliate, this parameter will be ignored.

network_tracking_domain_id
integer

An optional ID for a specific tracking domain.

source_id
string

An optional source_id query string parameter.

sub1
string

An optional sub1 query string parameter.

sub2
string

An optional sub2 query string parameter.

sub3
string

An optional sub3 query string parameter.

sub4
string

An optional sub4 query string parameter.

sub5
string

An optional sub5 query string parameter.

is_encrypt_parameters
boolean

When enabled, will encrypt all query string parameters into a single one.

Only relevant for direct linking offers. Can override the default setting.

Response

200 - application/json

OK

url
string

The generated tracking link URL.

can_affiliate_run_all_offers
boolean

Whether the affiliate can run all offers in the smart link.