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": "[]"
}
Get the list of SMS messages for a given conversation.
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": "[]"
}
to
number in the conversation. This is the number you do not own.from
number in the conversation. This is the number you do own.Please note any ordering of numbers will work{
"messages": "[]"
}
Was this page helpful?