Skip to main content
GET
/
networks
/
trafficcontrols
/
{controlId}
Get Traffic Control
curl --request GET \
  --url https://api.eflow.team/v1/networks/trafficcontrols/{controlId} \
  --header 'X-Eflow-Api-Key: <api-key>'
{
  "network_traffic_control_id": 123,
  "network_id": 123,
  "status": "active",
  "control_type": "<string>",
  "is_apply_all_offers": true,
  "comparison_method": "<string>",
  "variables": [
    {}
  ],
  "date_valid_from": "<string>",
  "date_valid_to": "<string>",
  "time_created": 123,
  "time_saved": 123
}

Authorizations

X-Eflow-Api-Key
string
header
required

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

Path Parameters

controlId
integer
required

The unique traffic control ID.

Response

OK

network_traffic_control_id
integer

Unique traffic control ID.

network_id
integer

Network ID.

status
enum<string>

Traffic control status.

Available options:
active,
inactive
control_type
string

The type of traffic control.

is_apply_all_offers
boolean

Whether this control applies to all offers.

comparison_method
string

How variables are compared.

variables
object[]

Variables and values used for traffic matching.

date_valid_from
string

Start date for the control's validity period.

date_valid_to
string

End date for the control's validity period.

time_created
integer

Unix timestamp of creation.

time_saved
integer

Unix timestamp of last update.