Skip to content

Replay inbound message

POST
/v1/inbound-messages/{id}/replay
curl --request POST \
--url https://api.hookbridge.io/v1/inbound-messages/01935abc-def0-7123-4567-890abcdef012/replay \
--header 'Authorization: Bearer <token>'

Replay a single inbound message. The message will be re-enqueued for delivery to the configured forwarding URL.

Both failed and succeeded messages can be replayed, as long as the payload is still within its retention window. Retention is anchored to the original delivered_at timestamp for succeeded messages, so replaying does not extend the retention window.

id
required
string format: uuid

Inbound message identifier (UUIDv7)

Example
01935abc-def0-7123-4567-890abcdef012

Inbound message queued for replay

Media typeapplication/json
object
message
string
data
object
message_id
string format: uuid
status
string
Allowed values: queued
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"message": "Inbound message queued for replay",
"data": {
"message_id": "01935abc-def0-7123-4567-890abcdef012",
"status": "queued"
},
"meta": {
"request_id": "req_xyz123"
}
}

Unauthorized - Invalid or missing API key

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
},
"meta": {
"request_id": "req_xyz123"
}
}

Resource not found

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"error": {
"code": "NOT_FOUND",
"message": "Message not found"
},
"meta": {
"request_id": "req_xyz123"
}
}

Message cannot be replayed due to its current state. Possible error codes: DELIVERY_IN_PROGRESS (message is currently being delivered), RETRY_IN_PROGRESS (message is in active fast retry after a 429 response).

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Examples

Fast retry in progress

{
"error": {
"code": "RETRY_IN_PROGRESS",
"message": "Message is in active fast retry; wait for retries to complete or fail before replaying"
},
"meta": {
"request_id": "req_xyz123"
}
}

Message payload is no longer available for replay. Possible error codes: RETENTION_EXPIRED (the message’s retention window has elapsed), PAYLOAD_UNAVAILABLE (the payload was cleaned up by the sweeper before retention expired), MESSAGE_DELETED (the message was explicitly deleted).

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Examples

Retention window elapsed

{
"error": {
"code": "RETENTION_EXPIRED",
"message": "Message retention period has expired and payload is no longer available for replay"
},
"meta": {
"request_id": "req_xyz123"
}
}

Replay limit exceeded

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"error": {
"code": "REPLAY_LIMIT_EXCEEDED",
"message": "Message has already been replayed the maximum number of times"
},
"meta": {
"request_id": "req_xyz123"
}
}

Inbound queue not configured

Media typeapplication/json
object
error
object
code

Machine-readable error code

string
message

Human-readable error message

string
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
{
"error": {
"code": "INVALID_REQUEST",
"message": "endpoint must be a valid HTTPS URL"
},
"meta": {
"request_id": "req_xyz123"
}
}
Personalize Examples

Enter your credentials to populate code examples throughout the docs.