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"
}
]
Fetch all messages for a particular room Id
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"
}
]
Vida API Token
Room Id to fetch messages for
Successful response
The response is of type object[]
.