v1.0.0
OpenAPI 3.1.0
Get a segment customer count
Client Libraries
US region
Returns the membership count for a segment.
The identifier for a segment. You can find your segment's ID on its page in the dashboard—go to Segments, select your segment, and find the ID under Usage. Or you can find your segment using the App API.
The segment_id does not exist.
Your request is over the 10-per-second limit.
curl https://api.customer.io/v1/segments/1/customer_count \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"segment_id": 7,
"count": 1
}Returns the customer count for a segment.