Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.
List email templates
The templates an email can start from: the brand's own saved ones (saved:<id>), then the built-in ones.
List email templates
curl --request GET \
--url https://www.app.ocoya.com/api/_public/v1/email/templates \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "launch",
"label": "<string>",
"description": "<string>",
"saved": true
}
]
}Was this page helpful?