Skip to content

Trigger immediate retry

POST
/v1/messages/{id}/retry-now

Trigger an immediate retry for a message that is waiting for a scheduled retry. The message will be picked up by the scheduler on its next run (typically within 1 minute). Only works for messages in pending_retry status.

id
required
string format: uuid

Unique message identifier (UUIDv7)

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

Immediate retry scheduled

object
message
string
data
object
message_id
string
status
string
Allowed values: pending_retry
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
req_xyz123
Example
{
"message": "Retry scheduled for immediate pickup",
"data": {
"message_id": "01935abc-def0-7123-4567-890abcdef012",
"status": "pending_retry"
},
"meta": {
"request_id": "req_xyz123"
}
}

Message is not in pending_retry status

object
error
object
code

Machine-readable error code

string
Example
INVALID_REQUEST
message

Human-readable error message

string
Example
endpoint must be a valid HTTPS URL
meta
object
request_id

Unique identifier for this request (useful for support)

string
Example
req_xyz123

Unauthorized - Invalid or missing API key

object
error
object
code

Machine-readable error code

string
Example
INVALID_REQUEST
message

Human-readable error message

string
Example
endpoint must be a valid HTTPS URL
meta
object
request_id

Unique identifier for this request (useful for support)

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

Resource not found

object
error
object
code

Machine-readable error code

string
Example
INVALID_REQUEST
message

Human-readable error message

string
Example
endpoint must be a valid HTTPS URL
meta
object
request_id

Unique identifier for this request (useful for support)

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

Enter your credentials to populate code examples throughout the docs.