GET

https://api.vida.dev

/
api
/
v2
/
messages
/
recent

Authorizations

token
string
queryrequired

Vida API Token

Response

200 - application/json
from
number

From User Id

fromUser
string

From User Name

to
number

To User Id

toUser
string

To User Name

rate
number

Rate associated with the message

usdRate
number

USD rate associated with the message

timestamp
number

Epoch of the last message's timestamp

date
string

Friendly Date

message
string

Message text

content-type
string

Content type of the message

disposition-notification
string

Disposition notification status

roomId
string

Room Id

status
string

Status of the message

attachments
object[]

Array of media attachment URLs

isLive
boolean

Whether the message is live

aiAgent
boolean

Whether an AI agent is involved

aiReward
string

AI reward status

aiRewardUsd
number

AI reward in USD

aiLeadRating
number

AI lead rating

aiLeadRatingReason
string

Reason for AI lead rating

aiAgentOverride
string

AI agent override status

gift
boolean

If this message included a monetary gift

source
string

Source medium for the message

uuid
string

Unique ID for message

campaignId
string

Campaign ID associated with the message

fromNumber
string

Phone number of the sender

toNumber
string

Phone number of the recipient

notify
boolean

Notification flag

targetInbox
string

Target inbox

type
string

Type of message

duration
number

Duration of the call

direction
string

Direction of the call

missedCall
boolean

Whether it was a missed call

bypassAgent
boolean

Whether the agent was bypassed

cnamSpam
boolean

Whether the call was marked as spam by CNAM

selfCall
boolean

Whether the call was self-initiated

callingUserIsContact
boolean

Whether the calling user is a contact

agentOutcome
string

Outcome from the agent

summary
string

Summary of the message

callDialog
object[]

Array of dialog entries with roles and contents

campaign
boolean

Campaign status

diversion
string

Diversion status

voicemailRecording
string

Voicemail recording details

eventType
string

Type of event

forcedCampaign
boolean

Forced campaign flag