SMS
Get SMS Messages
Calls
Intelligence
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Vector Knowledge Bases
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
Batches
SMS
Account
Organizations
- POSTCreate Organization
- DELDelete Organization
- GETGet Organization
- GETGet Organization Members
- GETGet Organization's Current Service Version
- GETList Organization's Service Versions
- PATCHUpdate Organization's Service Version
- PATCHUpdate Organization Members
- PATCHUpdate Organization Member Permissions
- PATCHUpdate Organization Properties
- GETGet User Organization Memberships
- DELLeave Organization
- GETGet Organization Billing Information
- GETGet Organization Billing Refill Information
SMS
Get SMS Messages
Get the list of SMS messages for a given conversation.
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
Your API key for authentication.
Body
The to
number in the conversation. This is the number you do not own.
The from
number in the conversation. This is the number you do own.
Please note any ordering of numbers will work
{
"messages": "[]"
}
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": "[]"
}