RocketCOMS

Retrieve a Message

Retrieve details for a single outgoing message for a campaign.

Endpoint

GET /v1/messages/{id}

Authorization Header

Authorization: Bearer <access_token>
or
Authorization: Basic <encodedString>
where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding

Path Parameters

id REQUIRED

string (UUID)

Unique ID assigned to the message in RocketCOMS.

Request Body

None

Returns

Returns the message details and status. For details, see the Message object.

SAMPLE RESPONSE

				
					{
  "id": "ba68bc22-d512-4467-8a54-e92d8e8a9c53",
  "campaignId": "d7b0e25f-30c9-456b-b287-6b3dcaa4b8f7",
  "createdAt": "2022-04-24T01:51:03.419Z",
  "destinationNumber": "5555556789",
  "messageText": "Spring Sale Starts Today",
  "status": {
    "statusCode": "PENDING",
    "reasonText": "string",
    "updatedAt": "2022-04-25T01:30:02.419Z"
  }
}