RocketCOMS

Message Object

The Message object represents details for a campaign message.

Attributes

id 

string (UUID)

Unique ID assigned to the message in RocketCOMS.

campaignId

string

ID of the campaign that sent the message.

createdAt

string (date-time)

Date and time the message was created.

destinationNumber  

string

Destination phone number for the message.

messageText  

string

Content of the message.

status

object

Current status of the message.

statusCode

string, values: PENDING, IN_PROCESS, CANCELED, SENT, DELIVERED, FAILED

Status code for the message.

reasonText

string

Additional information about the message status.

updatedAt

string (date-time)

Date and time the status was last updated.

Message Object

				
					{
  "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"
  }
}