Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Messages

A Message is one notification to one recipient on one topic.

A Message is one notification to one recipient on one topic. Notify admits it idempotently, checks suppression and preferences, and fans it out to the allowed channels with fallback and digesting; every delivery closes with a provider receipt that only Notify writes.

Service Sylphx Notify · Resource type notify.sylphx.com/Message · Name pattern orgs/{org}/projects/{project}/envs/{env}/messages/{message} · Shape record

#Fields

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/messages/{message}.
uidstringmsg_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
recipientstringThe recipient. Required.
topicstringThe topic preferences are checked against, for example billing. Required.
templatestringThe template to render; required unless mailbox and content are set.
template_versionint64The template version rendered; pinned at admission. Output only.
datastructTemplate variables.
channelsChannel[]Restrict to these channels, in fallback order; empty uses the recipient's preferences. One of email, sms, push, inbox.
send_timetimestampSend no earlier than this.
broadcaststringThe broadcast that created it, if any. Output only.
stateMessageStateThe admission and delivery state. Output only. One of accepted, suppressed, delivering, delivered, failed, cancelled, rate_limited.
deliveriesChannelDelivery[]Per-channel deliveries and their receipts. Output only.
delivery_deadline_timetimestampDeliver no later than this; a delivery still open then fails with expired. Unset retries for up to a day. The message record is kept.
state_reasonstringWhy the message is in its state, for example recipient_interval for RATE_LIMITED or suppressed for SUPPRESSED. Output only.
captureMessageCaptureA test recipient's rendered content; empty for every other recipient. Output only.
mailboxstringSend as this mailbox (its address, display name and, for a connected mailbox, its own SMTP) instead of a verified Email Domain.
contentMessageContentInline content, only with mailbox: the subject and bodies as written, not rendered from a template.
parent_message_idstringIn-Reply-To: the Message-ID this answers, without angle brackets.
referencesstring[]The thread's Message-IDs, oldest first, without angle brackets.
email_message_idstringThe Message-ID Notify gave the email, without angle brackets. Output only.

#Methods

Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.

MethodCallWhat it does
GETgetGets a message.
GETlistLists messages.
POSTcreateSends a Message.
POSTcancelCancels a Message whose deliveries have not been handed off.

#get

Gets a message.

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/messages/message · scope notify:read · effect read · Request, response and examples

#list

Lists messages.

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/messages · scope notify:read · effect read · paginated · Request, response and examples

#create

Sends a Message.

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/messages · scope notify:send · effect write · Request, response and examples

#cancel

Cancels a Message whose deliveries have not been handed off.

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/messages/message:cancel · scope notify:send · effect destructive · Request, response and examples