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": "<string>",
  "date_valid_to": "<string>",
  "comparison_method": "<string>",
  "variables": [
    "<string>"
  ],
  "relationship": {
    "values": [
      "<string>"
    ]
  }
}
Returns a single traffic control rule by its ID. The control must apply to the authenticated affiliate.

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

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

Start date when the control rule becomes effective. Empty string if not set.

date_valid_to
string

End date when the control rule expires. Empty string if not set.

comparison_method
string

Method used to compare variables (exact_match, contains, begins_with, etc.).

variables
string[]

Variable names that define the control matching criteria (e.g. "ip", "sub1").

relationship
object

Related data for this control rule.