Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.
List contacts
A brand's email contacts, newest first, searchable and filtered by status or group.
List contacts
curl --request GET \
--url https://www.app.ocoya.com/api/_public/v1/contacts \
--header 'X-API-Key: <api-key>'{
"total": 123,
"page": 123,
"perPage": 123,
"data": [
{
"id": "cmwdke27h0045y0k4fi0tm5pj",
"email": "jane@example.com",
"firstName": "Jane",
"lastName": "<string>",
"properties": {},
"status": "subscribed",
"source": "api",
"consentAt": "<string>",
"consentText": "<string>",
"unsubscribedAt": "<string>",
"lastSentAt": "<string>",
"lastOpenedAt": "<string>",
"lastClickedAt": "<string>",
"groups": [
{
"id": "<string>",
"name": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}Authorizations
Query Parameters
Was this page helpful?