Get Status
Get message status
get/api/status
Retrieve the current status of a message using its message handle. Useful for resolving pending message statuses and avoiding duplicate messages.
Query Parameters
handlestring
The message handle of the message you want to check status for
Returns
account_emailstringcontentstringdate_createdstringdate_updatedstringerror_codenumbererror_messagestringfrom_numberstringis_outboundbooleanmedia_urlstringmessage_handlestringnumberstringsend_styleenumstatusenumMessageResponse
curl https://api.sendblue.co/api/status \
-H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
-H "sb-api-secret-key: $SENDBLUE_API_API_SECRET" \
-d '{}'
200 Example
{
"account_email": "[email protected]",
"content": "Hello, World!",
"date_created": "2023-10-01T12:00:00Z",
"date_updated": "2023-10-01T12:00:01Z",
"error_code": 0,
"error_message": "error_message",
"from_number": "+19998887777",
"is_outbound": true,
"media_url": "https://cdn.sendblue.co/media/abc123.jpg",
"message_handle": "msg_abc123def456",
"number": "+18887776666",
"send_style": "celebration",
"status": "QUEUED"
}