Retrieve all reply messages for a campaign. Use sortBy and sortDir to sort the results, and use page and recordsPerPage to limit the number of results returned.
GET /v1/campaigns/{id}/replies
Authorization: Bearer <access_token>
or
Authorization: Basic <encodedString>
where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding
id REQUIRED
string (UUID)
Unique ID assigned to the campaign in RocketCOMS.
sortBy
string
Sort the response by any field.
sortDir
string, values: desc, asc
Sort direction.
page
integer (int32), default: 0
Page number to return.
pageSize
integer (int32)
Maximum number of results to return per page.
None
Returns an array of reply messages. The following fields are returned for each message.
id
string (UUID)
Unique ID assigned to the message.
source
string
Phone number from which the reply was sent.
sourceCountry
string
Country for the source phone number.
sourceCountryCode
string
Country code for the source phone number.
sourceCountryAbbreviation
string
Short country code for the source phone number.
destination
string
Phone number to which the reply was sent.
messageText
string
Message text.
concatenatedMessage
boolean
Whether the message was concatenated.
createdAt
string (date-time)
Date and time the message was received.
lastRetrievedAt
string (date-time)
Date and time the message was last retrieved from the Direct Connect Aggregator (DCA).
SAMPLE RESPONSE
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source": "5555551234",
"sourceCountry": "United States",
"sourceCountryCode": "USA",
"sourceCountryAbbreviation": "US",
"destination": "5555556789",
"messageText": "Yes",
"concatenatedMessage": true,
"createdAt": "2022-04-24T00:39:04.638Z",
"lastRetrievedAt": "2022-04-24T00:39:04.638Z"
}
]
© 2022 Rocket Financial. All rights reserved. RocketFNCL, RocketKOR, RocketBNK are trade names of Rocket Financial Inc.