GET
/
api
/
v2
/
messages
/
recent

Authorizations

token
string
query
required

Vida API Token

Response

200 - application/json
agentOutcome
string

Outcome from the agent

aiAgent
boolean

Whether an AI agent is involved

aiAgentOverride
string

AI agent override status

aiLeadRating
number

AI lead rating

aiLeadRatingReason
string

Reason for AI lead rating

aiReward
string

AI reward status

aiRewardUsd
number

AI reward in USD

attachments
object[]

Array of media attachment URLs

bypassAgent
boolean

Whether the agent was bypassed

callDialog
object[]

Array of dialog entries with roles and contents

callingUserIsContact
boolean

Whether the calling user is a contact

campaign
boolean

Campaign status

campaignId
string

Campaign ID associated with the message

cnamSpam
boolean

Whether the call was marked as spam by CNAM

content-type
string

Content type of the message

date
string

Friendly Date

direction
string

Direction of the call

disposition-notification
string

Disposition notification status

diversion
string

Diversion status

duration
number

Duration of the call

eventType
string

Type of event

forcedCampaign
boolean

Forced campaign flag

from
number

From User Id

fromNumber
string

Phone number of the sender

fromUser
string

From User Name

gift
boolean

If this message included a monetary gift

isLive
boolean

Whether the message is live

message
string

Message text

missedCall
boolean

Whether it was a missed call

notify
boolean

Notification flag

rate
number

Rate associated with the message

roomId
string

Room Id

selfCall
boolean

Whether the call was self-initiated

source
string

Source medium for the message

status
string

Status of the message

summary
string

Summary of the message

targetInbox
string

Target inbox

timestamp
number

Epoch of the last message's timestamp

to
number

To User Id

toNumber
string

Phone number of the recipient

toUser
string

To User Name

type
string

Type of message

usdRate
number

USD rate associated with the message

uuid
string

Unique ID for message

voicemailRecording
string

Voicemail recording details