API referenceAudiences

List audiences

GET
/v1/audiences

Newest-first keyset page over (created_at, id).

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.

Query Parameters

limit?integer

Max rows to return.

Range1 <= value <= 100
Default25
cursor?string

"{created_at}:{id}" from a previous page's next_cursor.

Response Body

Audience list.

application/json
  1. response
data?array<>
next_cursor?string|null
curl -X GET "https://example.com/v1/audiences"
{  "data": [    {      "id": "string",      "name": "string",      "description": "string",      "created_at": 0,      "updated_at": 0    }  ],  "next_cursor": "string"}