Skip to main content
POST
Send a test notification
Needs notifications:update, and a role that can manage notifications (owners and managers) in its workspace and in every workspace it also sends events from. See Permissions.
Sends one test message to this channel alone. No other channel gets it and no notification is made. The answer is the delivery, pending: the send happens right after. Webhook endpoints are tested with Send a test event.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The destination's id, from Get notification settings.

Response

The test delivery, before it is sent.

One event sent to an endpoint: the last request and what came back.

id
integer
required
destination_id
integer
required

The webhook's id.

event_id
string
required

The event's id, also the webhook-id header. The same on every try.

event_type
string
required

The event, like post.failed.

status
enum<string>
required

pending waits for a try or a retry, sent got a 2xx, failed isn't tried again, gave_up used every retry. A webhook gets 7 tries over about 41 hours.

Available options:
pending,
sent,
failed,
gave_up
attempts
integer
required

The tries so far.

response_status
integer | null
required

The HTTP status your server answered on the last try; null when no answer came.

response_body
string | null
required

The start of your server's answer, up to 1000 characters.

error
string | null
required

What went wrong on the last try, in plain words.

duration_ms
integer | null
required

How long the last try took.

next_attempt_at
string<date-time> | null
required

When the next try is due, for a pending delivery whose last try failed; null otherwise.

request_headers
object | null
required

The headers of the last request: webhook-id, webhook-timestamp, webhook-signature and content-type. Null before the first try.

request_body
string | null
required

The JSON body of the last request, as sent, up to its first 64 KB. Null before the first try.

created_at
string<date-time>
required
updated_at
string<date-time>
required