ESTAGE Support
IdeasMy tickets

How many contacts match a segment now

Permission segments:readRate limit heavy

Evaluated live. Counts against the heavy rate limit.

GEThttps://api.estage.com/v1/segments/{id}/count

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired
RequestcURL
curl --request GET \
  --url 'https://api.estage.com/v1/segments/segment-id/count' \
  --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
  "data": {
    "count": 287
  }
}
Example. Errors are { error: { code, message, details } }.