Messages
List messages
Returns the messages on your account, sent and received, newest first. Combine filters such as tag or to to find a message without its id.
GET
/
api
/
v1
/
Account
/
{auth_id}
/
Sms
/
Message
/
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Message/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.messages.list_messages()
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Message/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"messages": [
{
"id": "9b2e1c40-8a3d-4f5e-9c1a-7d6b2e8f4a01",
"accountId": "MA_XXXXXXXX",
"direction": "out",
"channel": "sms",
"from": "+14155550100",
"to": "+14155550123",
"text": "Your verification code is 482913",
"mediaUrls": [
"<string>"
],
"status": "scheduled",
"errorCode": "<string>",
"errorMessage": "<string>",
"tag": "<string>",
"conversationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduledAt": "2023-11-07T05:31:56Z",
"createdAt": "2026-10-12T10:30:00Z",
"updatedAt": "2026-10-12T10:30:00Z"
}
],
"total": 128,
"limit": 20,
"offset": 0
}
Authorizations
Path Parameters
Query Parameters
Response
A page of messages.
One page of messages from GET /Message/, with the total number of matches so you can page through the rest.
Was this page helpful?
⌘I
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Message/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.messages.list_messages()
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Message/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"messages": [
{
"id": "9b2e1c40-8a3d-4f5e-9c1a-7d6b2e8f4a01",
"accountId": "MA_XXXXXXXX",
"direction": "out",
"channel": "sms",
"from": "+14155550100",
"to": "+14155550123",
"text": "Your verification code is 482913",
"mediaUrls": [
"<string>"
],
"status": "scheduled",
"errorCode": "<string>",
"errorMessage": "<string>",
"tag": "<string>",
"conversationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduledAt": "2023-11-07T05:31:56Z",
"createdAt": "2026-10-12T10:30:00Z",
"updatedAt": "2026-10-12T10:30:00Z"
}
],
"total": 128,
"limit": 20,
"offset": 0
}