POST
/
v1
/
sms
/
messages
/
get
curl --request POST \
  --url https://api.bland.ai/v1/sms/messages/get \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "to": "<string>",
  "from": "<string>"
}'
{
  "messages": "[]"
}

Headers

authorization
string
required

Your API key for authentication.

Body

to
string

The to number in the conversation. This is the number you do not own.

from
string

The from number in the conversation. This is the number you do own.

Please note any ordering of numbers will work