Webhooks
Send a test webhook
Send one signed test delivery of an event type's sample payload to an endpoint, once and without retries.
post/v1/webhook-endpoints/{webhook_endpoint_id}/test
Request
- Base URL: https://api.scrip.dev
- URL: https://api.scrip.dev/v1/webhook-endpoints/{webhook_endpoint_id}/test
- Auth: HTTP bearer
Path parameters
webhook_endpoint_idstring uuid required
The webhook endpoint's id.
Headers
Idempotency-Keystring
A key you choose to make this request safe to retry: 1 to 255 printable ASCII characters. Send the same key with the same request to get the first response again, marked Idempotent-Replayed: true. Routes that return a secret once, and claim links, do not replay a response. Event ingest uses the key as the event's identity.
Request body
Example request
{
"event_type": "balance.credited"
}Response
Test delivery accepted
Example response
{
"attempt_count": 1,
"created_at": "2027-01-15T10:30:00Z",
"delivered_at": "2027-01-15T10:30:00Z",
"error_code": "consumer_response_timeout",
"event_type": "balance.credited",
"id": "1c8d3e5f-2a47-4b96-8e03-d5f7a9b1c2e4",
"last_attempt_at": "2027-01-15T10:30:00Z",
"last_error": "connection timed out after 10s",
"last_response_body": "{\"received\":true}",
"last_response_status": 200,
"max_attempts": 8,
"next_attempt_at": "2027-12-31T23:59:59Z",
"status": "DELIVERED",
"updated_at": "2027-01-15T10:30:00Z",
"webhook_endpoint_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"webhook_event_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}Changes
No recorded changes to this operation across all 1 revision of this API.