Skip to main content
GET
/
affiliates
/
trafficcontrols
/
{controlId}
Find Traffic Control By ID
curl --request GET \
  --url https://api.eflow.team/v1/affiliates/trafficcontrols/{controlId} \
  --header 'X-Eflow-Api-Key: <api-key>'
{
  "network_traffic_control_id": 123,
  "status": "<string>",
  "is_apply_all_offers": true,
  "control_type": "<string>",
  "date_valid_from": "2023-11-07T05:31:56Z",
  "date_valid_to": "2023-11-07T05:31:56Z",
  "comparison_method": "<string>",
  "variables": [
    {
      "variable": "<string>",
      "value": "<string>"
    }
  ]
}

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the X-Eflow-Api-Key header.

Path Parameters

controlId
integer
required

The numeric ID of the traffic control rule.

Response

OK

network_traffic_control_id
integer

Unique identifier for the traffic control rule.

status
string

Status of the control rule (active, inactive).

is_apply_all_offers
boolean

Whether this control applies to all offers or specific ones.

control_type
string

The type of traffic control action (block, redirect, etc.).

date_valid_from
string<date-time>

Start date when the control rule becomes effective.

date_valid_to
string<date-time>

End date when the control rule expires.

comparison_method
string

Method used to compare variables (equals, contains, starts_with, regex).

variables
object[]

Variables and values that define the control matching criteria.