GET

https://api.vida.dev

/
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": true,
    "drip": true,
    "uuid": "3b38f0af-7341-49fd-acce-1749c904e00d",
    "source": "sms",
    "roomInitiator": "brandon"
  }
]

Authorizations

token
string
queryrequired

Vida API Token

Path Parameters

roomId
string
required

Room Id to fetch messages for

Response

200 - application/json
message
string

Message text

from
number

From User Id

fromUser
string

From User Name

to
number

From User Id

toUser
string

To User Name

timestamp
number

Epoch of the last messages timestamp

date
string

Friendly Date

roomId
string

Room Id

status
string

If message was delivered. Status of success indicates delivered

attachments
string

Array of media attachment Urls.

gift
boolean

If this message included a monetary gift

drip
boolean

If this message was a paid drip

uuid
string

Unique id for message

source
string

Source medium for the message. Could have sourced from a vida client, sms, voice, email

roomInitiator
string

User name who first initiated contact for the room