Resend Message
POST/messages/resend
Endpoint for resending a message.
Request
- application/json
Body
required
Resend Message Request
The id of the message to be resent.
Responses
- 200
- 400
- 402
- 403
- 404
- 500
Message resent successfully.
- application/json
- Schema
- Example (from schema)
Schema
status object
A message describing the status of the operation.
Http Error Code.
A list of error messages (empty for success).
message object
The id of the message.
The destination number of the message.
The message content.
The date and time when the message will be sent.
The date and time when the message was created.
The date and time when the message was delivered.
The validity period of the message.
{
"status": {
"message": "Status Message",
"error_code": 200,
"errors": []
},
"message": {
"id": "1",
"dest_number": "628123456789",
"short_message": "Test Message",
"schedule_send_at": "2024-01-01 12:12:12",
"created_at": "2024-01-01 12:12:12",
"delivered_at": "2024-01-01 12:12:12",
"validity_period": 60
}
}
Failed to resend message.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the status of the operation.
Http Error Code.
A list of error messages (empty for success).
{
"message": "Status Message",
"error_code": 200,
"errors": []
}
Failed to resend message. Insufficient Balance.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the status of the operation.
Http Error Code.
A list of error messages (empty for success).
{
"message": "Status Message",
"error_code": 200,
"errors": []
}
Failed to resend message. Message status is not failed or cancelled.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the status of the operation.
Http Error Code.
A list of error messages (empty for success).
{
"message": "Status Message",
"error_code": 200,
"errors": []
}
Message not found.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the status of the operation.
Http Error Code.
A list of error messages (empty for success).
{
"message": "Status Message",
"error_code": 200,
"errors": []
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the status of the operation.
Http Error Code.
A list of error messages (empty for success).
{
"message": "Status Message",
"error_code": 200,
"errors": []
}