Skip to Content
Docs

Get a saved segment's live match count

GET
/v1/segments/{id}/count

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <key>. Looked up by SHA-256 hash (email_core::sha256_hex) against api_keys.hash; revoked keys and keys belonging to a suspended tenant are rejected. See the top-level Authentication section for permission levels.

Path Parameters

id*string

Response Body

Live count.

application/json
  1. response
count?integer
Example Request
curl -X GET 'https://api.emitd.com/v1/segments/string/count'
Example Response
{  "count": 0}