Resend a communication message

This API is used to resend a previously sent communication, in cases where the original delivery failed or a resend is required.

👍

Note

For detailed information about our APIs and for hands-on testing, refer documentation in API overview and step-by-step guide on making your first API call in Make your first API call .

Prerequisites

  • Authentication: Basic or OAuth authentication details
  • Access group resource: WRITE access to Communication access group resource

Resource information

URI/v2/communications/resend
HTTP MethodPOST
PaginationNo
Batch supportNo
Rate limit informationNone

API endpoint example

curl --request POST \
     --url https://host/v2/communications/resend \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "messageId": 1746061653596
}
'

Request Body Parameters

ParameterDatatypeDescriptionMandatory?
messageIdintegerThe unique identifier of the previously sent message that needs to be resent. You can get the message ID from the member care > communication tab.Yes

Example request body

{
    "messageId" : 1746061653596

}

Response parameter

ParameterDatatypeDescription
orgIdlongThe unique identifier for the organization associated with the message.
undeliveredMessageIdlongindicates unique identifier of the message that was not delivered successfully.
resentMessageIdlongindicates unique identifier of the message that has been resent after an initial failure

Example response

{
    "orgId": 100737,
    "undeliveredMessageId": 1746061653596,
    "resentMessageId": 1748743190124,
    "warnings": []
}
{
    "errors": [
        {
            "status": false,
            "message": "Failed to resend message : Message not found for orgId: 100737 and messageId: 174606165",
            "code": 4223
        }
    ]
}
{
    "warnings": [],
    "errors": [
        {
            "status": false,
            "code": 400,
            "message": "Input is invalid, Please check request parameters or input xml/json"
        }
    ]
}

API specific error code

Error codeDescriptionReason
4223Failed to resend message : Message not found for orgId: 100737 and messageId: 174606165Message ID provided is invalid
400Input is invalid, Please check request parameters or input xml/jsonInvalid data type
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!