Skip to content

Create path element​

POST
/api/campaigns/{id}/paths/{pid}/elements

Authorizations​

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

Parameters​

Path Parameters

id*
Type
integer
Required
pid*
Type
integer
Required

Request Body​

application/json
JSON
{
  
"element_type": "string",
  
"element_id": 0,
  
"direct_url": "string",
  
"weight": 0,
  
"order_num": 0
}

Responses​

Element created

application/json
JSON
{
  
"id": 0
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI