Send a real, signed test delivery for one event type
const url = 'https://api-omni.linra.net/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test-fire';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"eventType":"order.completed"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api-omni.linra.net/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test-fire \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "eventType": "order.completed" }'Exercises the exact same signing/delivery/retry code path as a real event — useful for verifying your HMAC verification code before going live.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
The exact wire values of eventType — see the Webhooks guide.
Responses
Section titled “Responses”The resulting delivery attempt.
object
object
object
Identical across every retry attempt of the same logical event — dedupe on this.
A fixed vocabulary only — never a raw exception message: “Timeout”, “Connection failed”, “Destination rejected”, “Delivery failed”.
Example
{ "state": "SUCCESS"}The event type is not in this subscription’s eventTypes.
The envelope every /api/v1 ERROR response uses. state carries the machine-readable error code (see the Errors guide).
object
Always null on an error response.
object
object
Examples
{ "state": "VALIDATION_WEBHOOK_EVENT_TYPE_NOT_SUBSCRIBED", "payload": null, "details": {}}Unknown subscription.
The envelope every /api/v1 ERROR response uses. state carries the machine-readable error code (see the Errors guide).
object
Always null on an error response.
object
object
Example
{ "state": "NOT_FOUND_ORDER", "payload": null}Too many requests — see the Rate limits guide. Retry after the Retry-After header (seconds).
The envelope every /api/v1 ERROR response uses. state carries the machine-readable error code (see the Errors guide).
object
Always null on an error response.
object
object
Example
{ "state": "NOT_FOUND_ORDER", "payload": null}Headers
Section titled “Headers”Seconds to wait before retrying.