GET
/
messages
curl --request GET \
  --url https://api.stateset.com/v1/messages \
  --header 'Authorization: Bearer <token>'
{
  "id": 321313221231
}

Authorizations

Authorization
string
headerrequired

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

Query Parameters

limit
number
required

The number of items to return

offset
number
required

Filter users without email

order_direction
string
required

Direction to return accounts

Response

200 - application/json
body
string

The body of the message

created_at
string

The creation time of the message

date
string

The date of the message

deliveredReceipt
boolean

Indicates whether the message has been delivered

from
string

The sender of the message

fromMe
boolean

Indicates whether the message is from the user

id
string

The unique identifier for the message

isCode
boolean

Indicates whether the message is a code

is_public
boolean

Indicates whether the message is public

likes
integer

The number of likes for the message

messageNumber
integer

The message number

sentReceipt
boolean

Indicates whether the message has been sent

time
string

The time of the message

timestamp
string

The timestamp of the message

to
string

The recipient of the message

user_id
string

The ID of the user associated with the message

username
string

The username of the user associated with the message