API referenceMessages

Retry

POST/v1/messages/{message_id}/retry

Send a failed or rejected outbound message again, as a new message with the same content and file.

The failed one stays in the conversation; each can be sent again once.

Scope
messages:write
Idempotency
Optional key

Path parameters

message_idstring, uuidRequired

Response

  • 202Success
Response fields 33
message_idstringRequired
conversation_idstringRequired
seqintegerRequired
directionstringRequired
sourcestringRequired
authorobjectRequired
May be null
typestringRequired
contentobjectRequired
reply_to_message_idstringRequired
May be null
attachmentsarray of object
Default
attachments[].idstring
attachments[].sourceenum
One of omnio, link
attachments[].kindstring
attachments[].mime_typestring
May be null
attachments[].file_namestring
May be null
attachments[].size_bytesinteger
May be null
statusstringRequired
read_inferredbooleanRequired
provider_message_idstringRequired
May be null
errorobjectRequired
May be null
error.codestringRequired
error.messagestringRequired
error.provider_codeintegerRequired
May be null
error.detailsobjectRequired
May be null
created_atstring, date-timeRequired
queued_atstring, date-timeRequired
May be null
submitted_atstring, date-timeRequired
May be null
sent_atstring, date-timeRequired
May be null
delivered_atstring, date-timeRequired
May be null
read_atstring, date-timeRequired
May be null
rejected_atstring, date-timeRequired
May be null
failed_atstring, date-timeRequired
May be null
retry_of_message_idstring
May be null

Errors

  • 401unauthorized. The key is missing, unknown or revoked
  • 403insufficient_scope. The key lacks the scope above
  • 404not_found. no such message
  • 409conflict, details.reason is not_failed or already_retried, channel_disconnected, idempotency_conflict
  • 422window_closed, contact_blocked

Every error has the same shape. See Errors.