Skip to main content
POST
/
prod
/
segments
Create Segment
curl --request POST \
  --url https://api.aimtell.com/prod/segments/ \
  --header 'Content-Type: application/json' \
  --header 'X-Authorization-Api-Key: <api-key>' \
  --data '
{
  "idSite": "<string>",
  "name": "",
  "definition": ""
}
'
{
  "result": "success",
  "message": "Successfully created",
  "id": 88
}

Authorizations

X-Authorization-Api-Key
string
header
default:""
required

Body

application/json
idSite
string
required

Site ID

name
string
default:""

Name of Segment

definition
string
default:""

Definition

Response

200