GET
/
personas
/
{persona_id}
/
sms
curl
curl -X GET "https://api.notte.cc/personas?page=${page}&page_size=${page_size}&only_active=${only_active}&only_current_token=${only_current_token}" \
-H "Authorization: Bearer $NOTTE_API_KEY" \
-H "Content-Type: application/json"
[
  {
    "body": "<string>",
    "sms_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "sender": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Path Parameters

persona_id
string
required

Query Parameters

limit
integer
default:10

Maximum number of emails

Required range: 1 <= x <= 100
timedelta
string<duration> | null

Maximum time since email reception

only_unread
boolean
default:false

Whether to only return unread messages

Response

Successful Response

body
string
required

SMS message body

sms_id
string
required

SMS UUID

created_at
string<date-time>
required

Creation date

sender
string | null
required

SMS sender phone number