Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

Message topics

A Message Topic holds an environment's settings for one message topic.

A Message Topic holds an environment's settings for one message topic. The id is the topic messages carry. A topic with no Message Topic admits every message; a Message Topic may gate it on a Sylphx Money feature the recipient holds and cap it by a Money limit feature, so a plan's allowances stay data in Money.

Service Sylphx Notify · Resource type notify.sylphx.com/MessageTopic · Name pattern orgs/{org}/projects/{project}/envs/{env}/message_topics/{message_topic} · Shape record

#Fields

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/message_topics/{message_topic}.
uidstringtpc_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
required_featurestringA Money feature key the recipient must hold (entitlement_grants:check for the Recipient's external_key as the end user). A message to a recipient that does not hold it is recorded SUPPRESSED with state_reason entitlement; when Money cannot answer, the create fails with 503 and writes nothing. The sending key must also hold billing:read. Unset admits every recipient.
send_limit_featurestringA Money limit feature whose allowance is the most messages on this topic one recipient receives per send_limit_window. A message over it, or to a recipient that holds no allowance, is recorded RATE_LIMITED and its create answers 429. Unset: no topic limit.
send_limit_windowdurationThe window the allowance counts over: 1 minute to 24 hours; default 24 hours.

#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 topic.
GETlistLists message topics.
PATCHupdateUpdates a message topic; with allow_missing, creates it.
DELETEdeleteDeletes a message topic; its messages are admitted with no gate or topic limit.

#get

Gets a message topic.

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

#list

Lists message topics.

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

#update

Updates a message topic; with allow_missing, creates it.

PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/message_topics/message-topic · scope notify:write · effect write · Request, response and examples

#delete

Deletes a message topic; its messages are admitted with no gate or topic limit.

DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/message_topics/message-topic · scope notify:write · effect destructive · Request, response and examples