curl --request POST \
--url https://api.comm.com/api/v1/segments/progress \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filter_segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"with_dashboards": true,
"segment_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}'
{
"contacts_left": 123,
"contacts_total": 123,
"views": [
{
"type": "card",
"target_id": "<string>",
"source_id": "<string>"
}
],
"debug": "<string>"
}
curl --request POST \
--url https://api.comm.com/api/v1/segments/progress \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filter_segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"with_dashboards": true,
"segment_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}'
{
"contacts_left": 123,
"contacts_total": 123,
"views": [
{
"type": "card",
"target_id": "<string>",
"source_id": "<string>"
}
],
"debug": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.