Skip to content

Create traffic source​

POST
/api/traffic-sources

Authorizations​

ApiKeyHeader
Type
API Key (header: X-Api-Key)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"postback_url": "string",
  
"params_config": {
  
},
  
"traffic_loss": 0,
  
"postback_percent": 0,
  
"s2s_postback_mode": "string",
  
"payout_percent": 0,
  
"status_postback_relation": "string",
  
"group_id": 0
}

Responses​

Traffic source created

application/json
JSON
{
  
"id": 0
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI