curl --request GET \
--url https://apix.spotzee.com/api/client/templates \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": 158,
"project_id": 123,
"campaign_id": 24,
"type": "email",
"locale": "en-AU",
"data": {},
"created_at": "<string>",
"updated_at": "<string>",
"name": "<string>"
}
],
"nextCursor": "<string>",
"prevCursor": "<string>",
"limit": 123
}Returns a paginated list of message templates in the project. Each template is locale- and channel-specific, bound to a campaign.
curl --request GET \
--url https://apix.spotzee.com/api/client/templates \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": 158,
"project_id": 123,
"campaign_id": 24,
"type": "email",
"locale": "en-AU",
"data": {},
"created_at": "<string>",
"updated_at": "<string>",
"name": "<string>"
}
],
"nextCursor": "<string>",
"prevCursor": "<string>",
"limit": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Project-scoped secret API key (sk_…). Pass in the Authorization: Bearer <key> header. Grants access to the project the key was issued for.
Opaque cursor returned by a previous page response. Omit on the first request.
Direction to walk relative to cursor. Defaults to next when omitted.
next, prev Maximum results per page. Use -1 to request all (rate-limited; large pages may be rejected).
-1 <= x <= 10025
Field to sort by. Defaults vary per resource.
"created_at"
Sort direction. Defaults vary per resource.
asc, desc Free-text search across the resource’s indexed fields.
A page of templates.
Paginated response of TemplateList.
Page of results, ordered per the request’s sort and direction.
Hide child attributes
Numeric template identifier.
158
Identifier of the owning project.
Identifier of the campaign this template belongs to.
24
Delivery channel a template is bound to.
email, text, push, webhook, in_app "email"
BCP-47 locale this template is authored in.
"en-AU"
Optional human-readable template name.
Opaque cursor for the next page. null when no further pages exist.
Opaque cursor for the previous page. null when on the first page.
Page size used to build this response.
Was this page helpful?