For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 profile segment contacts

get

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
profileUuidstringRequired

Profile uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
segmentUuidstringRequired

Segment uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
Responses
200

Success response

application/json
countintegerOptional

Contacts currently matching the segment conditions

Example: 150
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?