API Documentation
Agents
Phone Numbers
SIP
Messaging
Webhooks
Knowledge
Accounts
- POSTCreate a new reseller
- GETList resellers
- POSTCreate a new organization
- DELDelete an organization
- GETList organizations
- GETList agent accounts
- POSTCreate a new account
- DELDelete an account
- GETList admin users
- DELDelete admin user
- POSTInvite admin user
- GETFetch Account by externalAccountId
- POSTUpdate Organization Settings
Billing
Messaging
Fetch Room Messages
Fetch all messages for a particular room Id
GET
/
api
/
v2
/
messages
/
{roomId}
Fetch Room Messages
Copy
Ask AI
curl --request GET \
--url https://api.vida.dev/api/v2/messages/{roomId}
Copy
Ask AI
[
{
"message": "Hey there!",
"from": 15,
"fromUser": "Brandon",
"to": 35554545,
"toUser": "Jillian",
"timestamp": 1699633022,
"date": "2023-11-10T16:17:02.000Z",
"roomId": "15:35554545",
"status": "success",
"attachments": "[]",
"gift": false,
"drip": false,
"uuid": "3b38f0af-7341-49fd-acce-1749c904e00d",
"source": "sms",
"roomInitiator": "brandon"
}
]
Authorizations
Vida API Token
Path Parameters
Room Id to fetch messages for
Response
200 - application/json
Successful response
The response is of type object[]
.
Fetch Room Messages
Copy
Ask AI
curl --request GET \
--url https://api.vida.dev/api/v2/messages/{roomId}
Copy
Ask AI
[
{
"message": "Hey there!",
"from": 15,
"fromUser": "Brandon",
"to": 35554545,
"toUser": "Jillian",
"timestamp": 1699633022,
"date": "2023-11-10T16:17:02.000Z",
"roomId": "15:35554545",
"status": "success",
"attachments": "[]",
"gift": false,
"drip": false,
"uuid": "3b38f0af-7341-49fd-acce-1749c904e00d",
"source": "sms",
"roomInitiator": "brandon"
}
]
Assistant
Responses are generated using AI and may contain mistakes.