Skip to content

Send a test event to one endpoint

On this page
POST/v1/webhook-endpoints/{endpoint_id}/testsend_test_webhook
Riskwrite
AuthenticationAPI key or OAuth access token
Scopeswebhooks:write
Idempotencysupported: send an Idempotency-Key header to make retries safe
Dry runnot applicable
Success status202
Response typeapplication/json

What it does#

  • Use when: You want to prove that your receiver verifies the signature and answers 2xx.
  • Do not use when: you want to replay a real event (call redeliver_webhook).
  • Side effects: Creates a webhook.test event delivered to this endpoint only.
  • Reversible: No.
  • Required scope: webhooks:write.
  • Idempotency: supported (Idempotency-Key header).
  • Typical next step: call list_webhook_deliveries to see the result.

Scopes#

  • webhooks:write: Create, change and delete webhook endpoints.

Side effects#

  • Creates a webhook.test event delivered to this endpoint only

Request#

Path parameters#

FieldTypeDescription
endpoint_idstring

Query parameters#

None.

Response#

FieldTypeRequiredDescription
event_idstringyes
delivery_idstringyes

Examples#

queued#

Request:

curl -X POST 'https://api.seemly.com/v1/webhook-endpoints/whe_4d8x2p0q7r3m9k1v5t6w8y0z/test' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"

Response: 202:

JSON
{
  "event_id": "wev_2c4e6g8j0m2p4r6t8w0y2a4c",
  "delivery_id": "whd_7k3m9p2q4r6s8t0v1w3x5y7z"
}

Errors#

Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.

Typical next steps#

View this page as MarkdownReport a problem with this page

Type to search. Try a method and path, an operation name or an error code.