Fire a test event

POST/api/v1/webhooks/o2c/{endpoint_id}/test-fire

Emit a synthetic event of event_type to the business's active subscribed endpoints so a receiver can be validated end-to-end.

Operation ID: test_fire_webhook_api_v1_webhooks_o2c__endpoint_id__test_fire_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

endpoint_idstringrequired

Query

event_typestringrequired

Event type to fire, e.g. 'invoice.sent'

Responses

201Successful Response

successboolean
messagestring
codestring
dataWebhookTestFireResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject