Segments

Count a segment's contacts

An exx extension: how many contacts the segment has now (a dynamic one's rule evaluated at the request). Past `limits.toml [segments] read_timeout` the answer is 503 with `Retry-After`, never a partial count.

GET
/segments/{id}/count

An exx extension: how many contacts the segment has now (a dynamic one's rule evaluated at the request). Past limits.toml [segments] read_timeout the answer is 503 with Retry-After, never a partial count.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response

An exx extension: how many contacts a segment has now.

count*integer
Formatint64
id*string

The segment's id.

Formatuuid
object*string
Example Request
curl -X GET 'https://api.exx.sh/segments/497f6eca-6276-4993-bfeb-53cbbbba6f08/count'
Example Response
{  "count": 0,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string"}