v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Message

Create Message Precheck

A pre-check call for message.create that checks whether any active endpoints are listening to this message.

Note: most people shouldn't be using this API. Svix doesn't bill you for messages not actually sent, so using this API doesn't save money. If unsure, please ask Svix support before using this API.

post/api/v1/app/{app_id}/msg/precheck/active

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

Headers

idempotency-keystring

The request's idempotency key

Request body

eventTypestring required

The event type's name

channelsstring[] nullable

Example request

{
  "eventType": "user.signup",
  "channels": [
    "project_123",
    "group_2"
  ]
}

Response

activeboolean required

Whether there are any active endpoint that would get sent such a message.