Message
Get Message
Retrieve message details
GET
/
message
/
{id}
Authorizations
apikey
string
headerrequiredAuthentication is done via apikey
provided for your account
Include the following in your request header
apikey: "your_apikey_here"
Path Parameters
id
string
requiredID of message
Response
200 - application/json
Message data model
id
string
system ID of message
platformSenderId
string
customer's social id.
sender for incoming messages and recipient for outgoing messages
Please note that this is always the customer's number and never yours (you already know yours, don't you)
platform
enum<string>
Available options:
whatsapp
platformTimestamp
string
direction
enum<string>
direction of message
FROM_CUSTOMER
- incoming messages
FROM_STORE
- outgoing messages
Available options:
FROM_CUSTOMER
, FROM_STORE
type
enum<string>
Available options:
text
, image
, document
, audio
, video
, template
text
string
message content
fileUrl
string
url of the media file
fileCaption
string
caption of the media file
deliveryStatus
enum<string>
last known delivery status of the message
Available options:
sent
, delivered
, read
, failed
customer
object
attachments
object