Webhook Deliveries
Replay deliveries in bulk (DLQ)
POST
/webhook_deliveries/bulk_replay
const url = 'https://api-kckit.kirim.chat/v1/webhook_deliveries/bulk_replay';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"subscription_id":"example","status":"failed","event_type":"example","created_after":"2026-04-15T12:00:00Z","created_before":"2026-04-15T12:00:00Z"}'};
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-kckit.kirim.chat/v1/webhook_deliveries/bulk_replay \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "subscription_id": "example", "status": "failed", "event_type": "example", "created_after": "2026-04-15T12:00:00Z", "created_before": "2026-04-15T12:00:00Z" }'Replay every delivery for a subscription matching the filter, capped at 1000 per request. Paginate via created_after / created_before for larger backfills.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ” Media type application/json
object
subscription_id
required
string
status
string
event_type
string
created_after
string format: date-time
created_before
string format: date-time
Responses
Section titled “ Responses ”Bulk replay enqueued
Media type application/json
object
data
required
object
enqueued
required
integer
capped
required
boolean
request_id
required
string
Example generated
{ "data": { "enqueued": 1, "capped": true }, "request_id": "example"}Validation failure
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "invalid_phone_number", "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX" }}Authentication failure
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "invalid_phone_number", "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX" }}Resource not found
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "invalid_phone_number", "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX" }}Conflict (e.g. webhook subscription disabled)
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "invalid_phone_number", "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX" }}Rate limit exceeded
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "invalid_phone_number", "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX" }}Internal server error
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "invalid_phone_number", "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX" }}