POST
/
v1
/
segments
/
contacts
cURL
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.