Skip to Content
Notification APIDocs

Data types

JSON conventions, dates, ids and enum values.

JSON

  • Request and response bodies are JSON (Content-Type: application/json), except attachment uploads (multipart/form-data) and downloads.
  • Property names are camelCase (recipientCount, idempotencyKey).
  • Optional properties are returned as null rather than left out.
  • Map-like objects (variables, dispatches, messagesByStatus) keep their keys as they are.

Ids

Ids are UUIDs, for example 0197a6b2-5c1e-7d33-9a8e-3f4b2c1d0e9f. They are time-ordered: newer resources have greater ids.

Dates

Dates are ISO 8601 with an offset, for example 2026-11-23T10:15:00+00:00. Responses are in UTC. In requests, always include an offset (Z or +03:00).

Enums

Enums are sent and returned as PascalCase strings.

EnumValues
Message statusPending, Processing, Completed, PartiallyCompleted, Failed, Cancelled
Dispatch statusPending, Inqueue, Processing, Sent, Delivered, Failed, Retrying, Cancelled
PriorityCritical, Normal, Bulk
Recipient typeEmail, Phone, DeviceToken
Template content typeHtml, Text, Markdown, Json
Attachment sourceTemplate, Message
Statistics intervalHour, Day

Channels are lowercase codes: email, sms, push.

See Messages and dispatches for the meaning of each status.

On this page