Skip to content
Webhook Deliveries

Fetch one delivery (with full payload)

GET
/webhook_deliveries/{id}
const url = 'https://api.kirimdev.com/v1/webhook_deliveries/wbd_01HXYZABCDEFGHJKMNPQRSTVWX';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

Fetch one webhook delivery, including the event payload, attempt state, endpoint response snippet, and failure details used for troubleshooting.

id
required

Public Kirimdev webhook-delivery ID.

string
/^wbd_[0-9A-HJKMNP-TV-Z]{26}$/
Example
wbd_01HXYZABCDEFGHJKMNPQRSTVWX

Public Kirimdev webhook-delivery ID.

Delivery resource

Media type application/json
object
data
required
object
id
required
string
object
required
string
Allowed values: webhook_delivery
subscription_id
required
string
event_type
required
string
event_id
required
string
status
required
string
Allowed values: pending succeeded failed dead
attempt_count
required
integer
last_attempt_at
required
string | null format: date-time
next_attempt_at
required
string | null format: date-time
response_status
required
integer | null
response_body_snippet
required

Body returned by YOUR endpoint, truncated. Null when the endpoint sent no body or was never reached — check error_code in that case.

string | null
duration_ms
required
integer | null
error_code
required

Why the last attempt failed. Null on success. http_error means your endpoint answered with a non-2xx status. timeout and connection_error mean it never answered. The remaining values mean we declined to send.

string | null
Allowed values: timeout connection_error http_error subscription_inactive subscription_deleted ssrf_blocked no_signing_secret
error_message
required

Human-readable detail for error_code, truncated to 200 characters.

string | null
replayed_from
required
string | null
payload
created_at
required
string format: date-time
request_id
required

Unique request identifier to include when contacting support.

string
Example
{
"data": {
"id": "wbd_01HXYZABCDEFGHJKMNPQRSTVWX",
"object": "webhook_delivery",
"status": "pending",
"error_code": "timeout"
},
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}

Validation failure

Media type application/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error api_error
code
required
string
message
required

Human-readable explanation of the error.

string
param

Request field associated with the error, when applicable.

string
request_id
required

Unique request identifier to include when contacting support.

string
Examples
Example default

A field value is invalid.

{
"error": {
"type": "invalid_request_error",
"code": "invalid_field_value",
"message": "A field value is invalid.",
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}
}

Authentication failure

Media type application/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error api_error
code
required
string
message
required

Human-readable explanation of the error.

string
param

Request field associated with the error, when applicable.

string
request_id
required

Unique request identifier to include when contacting support.

string
Examples
Example default

The provided API key is invalid.

{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The provided API key is invalid.",
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}
}

Resource not found

Media type application/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error api_error
code
required
string
message
required

Human-readable explanation of the error.

string
param

Request field associated with the error, when applicable.

string
request_id
required

Unique request identifier to include when contacting support.

string
Examples
Example default

Resource not found.

{
"error": {
"type": "not_found",
"code": "resource_not_found",
"message": "Resource not found.",
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}
}

Rate limit exceeded

Media type application/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error api_error
code
required
string
message
required

Human-readable explanation of the error.

string
param

Request field associated with the error, when applicable.

string
request_id
required

Unique request identifier to include when contacting support.

string
Examples
Example default

Rate limit exceeded.

{
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded.",
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}
}

Internal server error

Media type application/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error api_error
code
required
string
message
required

Human-readable explanation of the error.

string
param

Request field associated with the error, when applicable.

string
request_id
required

Unique request identifier to include when contacting support.

string
Examples
Example default

An unexpected error occurred.

{
"error": {
"type": "api_error",
"code": "internal_error",
"message": "An unexpected error occurred.",
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}
}