GET
/
messages
/
{id}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

The id that needs to be fetched

Response

200 - application/json
id
string

The unique identifier for the message

body
string

The body of the message

to
string

The recipient of the message

from
string

The sender of the message

sentReceipt
boolean

Indicates whether the message has been sent

deliveredReceipt
boolean

Indicates whether the message has been delivered

fromMe
boolean

Indicates whether the message is from the user

user_id
string

The ID of the user associated with the message

username
string

The username of the user associated with the message

is_public
boolean

Indicates whether the message is public

created_at
string

The creation time of the message

date
string

The date of the message

time
string

The time of the message

timestamp
string

The timestamp of the message

messageNumber
integer

The message number

isCode
boolean

Indicates whether the message is a code

likes
integer

The number of likes for the message