Count profile segment contacts
Count the contacts currently matching a segment without listing them. Cheaper than paging through the segment contacts endpoint when only the size is needed.
Count the contacts currently matching a segment without listing them.
Cheaper than paging through the segment contacts endpoint when only the size is needed.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
profileUuidstringRequiredExample:
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000segmentUuidstringRequiredExample:
Segment uuid parameter
550e8400-e09b-41d4-a716-400055000000Responses
200
Success response
application/json
countintegerOptionalExample:
Contacts currently matching the segment conditions
150401
Unauthenticated response
application/json
500
Error response
application/json
get/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/count
GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/count HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 150
}Last updated
Was this helpful?