List email campaign contacts (paginated)

Deprecated

GET
/emails/campaign/contacts

Returns a page of the campaign recipients. Pagination is 0-based (page=0 is the first page). perPage defaults to 20, values below 10 are forced to 20, and values above 10000 are capped at 10000. The response envelope is { success, list, count } (NOT { contacts, total }). event filters by contact status and MUST be an array (e.g. event[]=REPLIED); a bare string is rejected (contrast with the LinkedIn variant which also accepts a string). New integrations should use the multichannel /advanced campaign endpoints instead.

Authorization

apiKey
Authorization<token>

Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.

In: header

Query Parameters

id*string

Campaign ObjectId.

page*string

0-based page index (sent as a string).

Match^\d+$
perPage?string

Page size. Default 20, min 10 (else forced to 20), max 10000.

event?array<>

Filter by contact status. Must be an array.

query?string

Full email match, or space-separated tokens matched against email/firstName/lastName.

Response Body

application/json

application/json

curl -X GET "https://example.com/emails/campaign/contacts?id=65f1a2b3c4d5e6f73478765e&page=0" \  -H "Authorization: YOUR_API_KEY"
{  "success": true,  "count": 2,  "list": [    {      "_id": "5f3a1b2c4d5e6f00112233aa",      "email": "john.doe@acme.com",      "firstName": "John",      "lastName": "Doe",      "status": "SENT",      "mailsSent": 1,      "interested": "-"    }  ]}