Skip to main content
POST
Create webhook endpoint

Authorizations

Authorization
string
header
required

Project API key, in the format rt_live_... or rt_test_..., sent as Authorization: Bearer <key>.

Scopes

webhooks:write

Body

application/json
url
string
required

HTTPS URL that receives the events. http:// is accepted only for localhost in test projects.

Example:

"https://example.com/webhooks/routa"

subscribed_types
string[]
required

Event types or per-resource wildcards (message.*, channel.*, template.*). At least one.

Minimum array length: 1
Example:

Response

Resource created

id
string
required

Endpoint ID.

Example:

"whe_01J8ZK9M3Q7XABCDEFGHJKMNPQ"

url
string
required

URL that receives the events.

Example:

"https://example.com/webhooks/routa"

subscribed_types
string[]
required

Subscribed event types, including wildcards such as message.*.

api_version
string
required

API version pinned when the endpoint was created.

status
enum<string>
required

Endpoint state: enabled, disabled_by_user or disabled_by_system.

Available options:
enabled,
disabled_by_user,
disabled_by_system
consecutive_failures
number
required

Consecutive delivery failures. Resets on every success.

last_success_at
string<date-time> | null
required

Last successful delivery, or null.

last_failure_at
string<date-time> | null
required

Last failed delivery, or null.

created_at
string<date-time>
required

When the endpoint was created.

Example:

"2026-09-04T13:22:41.031Z"

secret
string
required

Signing secret. Shown only on creation and rotation. Store it safely.

Example:

"whsec_..."