Skip to content

Send a test delivery for a webhook subscription

POST
/api/v1/vendor/webhooks/{id}/test-fire
curl --request POST \
--url https://api-omni.linra.net/api/v1/vendor/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test-fire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "eventType": "vendor.order.assigned" }'

Synthesizes a sample payload for the given (already-subscribed) event type and dispatches it through the SAME delivery path — including HMAC signing and the SSRF guardrails — a real event would use. Requires the Orders capability.

id
required
string format: uuid
Media typeapplication/json
object
eventType
required
string
Allowed values: vendor.order.assigned vendor.offer.review-decision

The synthesized delivery attempt’s outcome.

Media typeapplication/json
object
state
required
string
payload
required
details
object
payload
required
object
id
string format: uuid
eventType
string
Allowed values: vendor.order.assigned vendor.offer.review-decision
idempotencyKey

Stable across every retry attempt of the SAME logical event — the same value that appears as eventId in the delivered envelope. Use it to dedupe.

string
attemptNumber
integer
httpStatus
integer
nullable
sentAt
string format: date-time
nullable
succeeded
boolean
errorSummary
string
nullable
deadLetteredAt
string format: date-time
nullable
nextAttemptAt
string format: date-time
Example
{
"state": "SUCCESS",
"payload": {
"eventType": "vendor.order.assigned"
}
}

The subscription isn’t subscribed to that event type.

Media typeapplication/json
object
state
required
string
payload
details
object
Examples
ExamplenotSubscribed
{
"state": "VALIDATION_WEBHOOK_EVENT_TYPE_NOT_SUBSCRIBED",
"payload": null,
"details": {}
}

Your token doesn’t carry the capability this endpoint requires.

Media typeapplication/json
object
state
required
string
payload
details
object
Examples
ExamplemissingCapability
{
"state": "FORBIDDEN_CAPABILITY_NOT_GRANTED",
"payload": null,
"details": {
"requiredCapability": "Orders"
}
}

Unknown subscription id.

Media typeapplication/json
object
state
required
string
payload
details
object
Examples
ExamplenotFound
{
"state": "NOT_FOUND_VENDOR_WEBHOOK_SUBSCRIPTION",
"payload": null,
"details": {}
}

Too many requests. Retry after the Retry-After header (seconds).

Media typeapplication/json
object
state
required
string
payload
details
object
Example
{
"state": "NOT_FOUND_VENDOR_OFFER"
}
Retry-After
integer

Seconds to wait before retrying.