Messaging
Fetch Room Messages
API Documentation
Authorization
Agents
Phone Numbers
SIP
Messaging
Knowledge
Accounts
Billing
Messaging
Fetch Room Messages
Fetch all messages for a particular room Id
GET
/
api
/
v2
/
messages
/
{roomId}
curl --request GET \
--url https://api.vida.dev/api/v2/messages/{roomId}
[
{
"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[]
.
curl --request GET \
--url https://api.vida.dev/api/v2/messages/{roomId}
[
{
"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"
}
]