Get list of latest notifications for every message send from the account

GET/v1/updates

Get list of latest notifications for every message send from the account

Base URL
https://unifier-cpaas.sms.es
Authentication

API key — send it in the X-API-Key header.

Request

Query parameters

orderstring

order the list based on date

Possible values: asc, desc
msgidstring

Return all notifications for a specific message ID (query name is lowercase msgid).

eventstring

return all the notifications for a specific event

Possible values: message, isTyping, messageStatus, response, subscribed, unsubscribed, fallback

Request example

cURL · cURL
curl -L -X GET "https://unifier-cpaas.sms.es/v1/updates" \
  -H "Accept: application/json" \
  -H "X-API-Key: <X-API-Key>"

Responses

The response contains list of messages received from receiver, including events

application/json
dataobject[]
Show child attributes
msgIdstringrequired
receiverstringrequired
senderstringrequired
channelstringrequired

Channel identifier as returned by the API (rbm is RCS Business Messaging).

Possible values: rbm, sms, telegram, whatsApp, email, instagram, facebook
messageBodyoneOf
Show child attributes
oneOf of:
FileMessage · object
fileMessageobject
Show child attributes
namestring
urlstring
fileTypestring
mimeTypestring
sizeinteger
playingLengthstring
thumbnailNamestring
thumbnailUrlstring
thumbnailMimeTypestring
thumbnailSizeinteger
TextMessage · object
textMessageobject
Show child attributes
contentstring
AudioMessage · object
audioMessageobject
Show child attributes
namestring
urlstring
mimeTypestring
sizeinteger
playingLengthinteger
PictureMessage · object
pictureMessageobject
Show child attributes
namestring
urlstring
mimeTypestring
sizeinteger
thumbnailNamestring
thumbnailUrlstring
thumbnailMimeTypestring
thumbnailSizeinteger
VideoMessage · object
videoMessageobject
Show child attributes
namestring
urlstring
mimeTypestring
sizeinteger
playingLengthinteger
thumbnailNamestring
thumbnailUrlstring
thumbnailMimeTypestring
thumbnailSizeinteger
LocationMessage · object
locationMessageobject
Show child attributes
latitudenumber
longitudenumber
textstring
urlstring
ContactMessage · object
contactMessageobject
Show child attributes
namestring
emailstring
addressstring
phonestring
firstNamestring
lastNamestring
countrystring
languagestring
TemplateMessage · object
namestringrequired

WhatsApp template name.

languageCodestringrequired
componentsobject[]required
Show child attributes
typestringrequired
subTypestring
indexintegerrequired
parametersoneOf[]required
Show child attributes
oneOf of:
ComponentParameterCurrency · object
codestringrequired

The ISO 4217 currency code (e.g. "USD", "EUR", "GBP", "TRY", "INR"). This tells WhatsApp which currency to format.

amount1000integerrequired

The monetary amount multiplied by 1000.

fallbackValuestring

A plain text string that is displayed if the client device cannot localize the currency.

ComponentParameterDateTime · object
fallbackValuestringrequired
ComponentParameterDocument · object
linkstringrequired
ComponentParameterImage · object
linkstringrequired
ComponentParameterVideo · object
linkstringrequired
EmailMessage · object
emailMessageobject
Show child attributes
subjectstring
htmlContentstring
textContentstring
CardMessage · object
layoutobject

Rich card layout

Show child attributes
cardOrientationstring
Possible values: HORIZONTAL, VERTICAL
imageAlignmentstring

Required if cardOrientation is HORIZONTAL.

Possible values: LEFT, RIGHT
cardWidthstring
Possible values: SMALL_WIDTH, MEDIUM_WIDTH
contentobjectrequired

Content of a card message

Show child attributes
mediaobject

Media elements

Show child attributes
urlstring (uri)required
thumbnailUrlstring (uri)
heightstring
Possible values: SHORT_HEIGHT, MEDIUM_HEIGHT, TALL_HEIGHT
titlestring
descriptionstringrequired
suggestionsobject[]required
Show child attributes
textstringrequired
postbackstring
replyWithobject
Show child attributes
postbackstringrequired
openUrlobject
Show child attributes
urlstring (uri)required
dialNumberobject
Show child attributes
numberstringrequired
composeMessageobject
Show child attributes
numberstringrequired
textstringrequired
showMapLocationobject
Show child attributes
latitudenumber (double)required
longitudenumber (double)required
labelstring
urlstring (uri)
createCalendarEventobject
Show child attributes
titlestringrequired
descriptionstring
startstring (date-time)
endstring (date-time)
SuggestionsMessage · object

Suggestions message payload

suggestionsobject[]required
Show child attributes
textstringrequired
postbackstring
replyWithobject
Show child attributes
postbackstringrequired
openUrlobject
Show child attributes
urlstring (uri)required
dialNumberobject
Show child attributes
numberstringrequired
composeMessageobject
Show child attributes
numberstringrequired
textstringrequired
showMapLocationobject
Show child attributes
latitudenumber (double)required
longitudenumber (double)required
labelstring
urlstring (uri)
createCalendarEventobject
Show child attributes
titlestringrequired
descriptionstring
startstring (date-time)
endstring (date-time)
CarouselMessage · object

Carousel message payload

textstring
layoutobject

Rich card layout

Show child attributes
cardOrientationstring
Possible values: HORIZONTAL, VERTICAL
imageAlignmentstring

Required if cardOrientation is HORIZONTAL.

Possible values: LEFT, RIGHT
cardWidthstring
Possible values: SMALL_WIDTH, MEDIUM_WIDTH
contentobject[]required
Show child attributes
mediaobject

Media elements

Show child attributes
urlstring (uri)required
thumbnailUrlstring (uri)
heightstring
Possible values: SHORT_HEIGHT, MEDIUM_HEIGHT, TALL_HEIGHT
titlestring
descriptionstringrequired
suggestionsobject[]required
Show child attributes
textstringrequired
postbackstring
replyWithobject
Show child attributes
postbackstringrequired
openUrlobject
Show child attributes
urlstring (uri)required
dialNumberobject
Show child attributes
numberstringrequired
composeMessageobject
Show child attributes
numberstringrequired
textstringrequired
showMapLocationobject
Show child attributes
latitudenumber (double)required
longitudenumber (double)required
labelstring
urlstring (uri)
createCalendarEventobject
Show child attributes
titlestringrequired
descriptionstring
startstring (date-time)
endstring (date-time)
messageStatusstring
Possible values: pending, dispatched, sent, rejected, failed, redispatched, delivered, displayed, undelivered, buffered, deleted
errorobject

Present when a message failed or triggered a fallback.

Show child attributes
codestring
messagestring
descriptionstring
fallbackMsgIdstring

On fallback events, the identifier of the next message that will be sent.

smsPartsobject

SMS part / DLR counters (receiveddlrs is the JSON field name in API responses).

Show child attributes
totalinteger
receiveddlrsinteger
contactobject
Show child attributes
firstNamestring
lastNamestring
namestring
avatarUrlstring
countrystring
citystring
addressstring
languagestring
phonestring
emailstring
birthdaystring
createdAtstring (date-time)required
eventstringrequired

Update event type (values emitted by the platform for notifications).

Possible values: message, isTyping, messageStatus, response, subscribed, unsubscribed, fallback
Example response
{
  "data": [
    {
      "msgId": "string",
      "receiver": "string",
      "sender": "string",
      "channel": "rbm",
      "messageBody": {
        "fileMessage": {
          "name": "string",
          "url": "string",
          "fileType": "string",
          "mimeType": "string",
          "size": 0,
          "playingLength": "string",
          "thumbnailName": "string",
          "thumbnailUrl": "string",
          "thumbnailMimeType": "string",
          "thumbnailSize": 0
        }
      },
      "messageStatus": "pending",
      "error": {
        "code": "string",
        "message": "string",
        "description": "string"
      },
      "fallbackMsgId": "string",
      "smsParts": {
        "total": 0,
        "receiveddlrs": 0
      },
      "contact": {
        "firstName": "string",
        "lastName": "string",
        "name": "string",
        "avatarUrl": "string",
        "country": "string",
        "city": "string",
        "address": "string",
        "language": "string",
        "phone": "string",
        "email": "string",
        "birthday": "string"
      },
      "createdAt": "2026-01-01T12:00:00Z",
      "event": "message"
    }
  ]
}