Reach: Segments

Count profile segment contacts

Changed on

Count the contacts currently matching a segment without listing them.

Cheaper than paging through the segment contacts endpoint when only the size is needed.

get/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/count

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/count
  • Auth: HTTP bearer

Path parameters

profileUuidstring required
Example:550e8400-e09b-41d4-a716-400055000000

Profile uuid parameter

segmentUuidstring required
Example:550e8400-e09b-41d4-a716-400055000000

Segment uuid parameter

Response

Success response

countinteger

Contacts currently matching the segment conditions

Example response

{
  "count": 150
}

Changes