curl --request POST \
--url https://api.comm.com/api/v1/segments/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"country_id": 123,
"startRow": 1,
"endRow": 2,
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tags": [
"<string>"
]
}'
{
"data": "<string>",
"meta": {
"current_page": "<string>",
"last_page": "<string>",
"per_page": "<string>",
"total": "<string>"
}
}
curl --request POST \
--url https://api.comm.com/api/v1/segments/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"country_id": 123,
"startRow": 1,
"endRow": 2,
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tags": [
"<string>"
]
}'
{
"data": "<string>",
"meta": {
"current_page": "<string>",
"last_page": "<string>",
"per_page": "<string>",
"total": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.