Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).contactIds, or create the segment empty and add them later with POST /api/v2/segments/{id}/contacts/add.data[0] is the id of the new segment. Put it in segmentIds when you create a campaign.Authorization: Bearer ********************data[0] is its id.curl --location 'https://api.veloconnect.me/api/v2/segments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Yerevan customers",
"description": "Customers who ordered in Yerevan in 2026",
"contactIds": [
5301,
5302,
5310
]
}'{
"data": [
57
]
}