WebhookEndpoints

Test webhook endpoint

Sends a signed test event to the endpoint and returns what the receiver answered. A receiver that responds at all — even with an error status — is a 200 here, with delivered: false; 502 means nothing answered (DNS failure, refused connection, timeout).

post/webhook_endpoints/{id}/test

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/webhook_endpoints/{id}/test
  • Auth: API key in header Authorization

Path parameters

idstring required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Query parameters

event_typestring

The event type to send as a test

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Response

The receiver's response to the test event

deliveredboolean required

Whether the receiver answered with a 2xx status

response_codeinteger required

The HTTP status the receiver returned

response_bodystring required

The body the receiver returned, truncated to 10,000 characters

messagestring required

Changes

No recorded changes to this operation across all 2 revisions of this API.