GET
/
api
/
v2
/
messages
/
recent
curl --request GET \
  --url https://api.vida.dev/api/v2/messages/recent
[
  {
    "from": 1234567890,
    "fromUser": "user_test",
    "to": 878589,
    "toUser": "support2",
    "rate": 0,
    "usdRate": 0,
    "timestamp": 1718463395,
    "date": "2024-06-15T14:56:35.000Z",
    "message": "Hi there! Lyle is currently unavailable. Could you please let me know the nature of your call or message and any specific details you'd like me to pass on to him? Thanks!",
    "content-type": "text/plain",
    "disposition-notification": null,
    "roomId": "1:878589",
    "status": "success",
    "attachments": [
      {
        "content-type": "audio/mp3",
        "filename": "mp3",
        "content-url": "https://example.com/media/recording.mp3",
        "attachmentType": "call"
      }
    ],
    "isLive": false,
    "aiAgent": true,
    "aiReward": null,
    "aiRewardUsd": null,
    "aiLeadRating": null,
    "aiLeadRatingReason": null,
    "aiAgentOverride": null,
    "gift": false,
    "source": "email",
    "uuid": "a4977f49-80a6-41f0-9add-93a270cdd781",
    "campaignId": "campa25290ee54602fbcb545d033c1a15ba12",
    "fromNumber": "+15125551234",
    "toNumber": "+15125559876",
    "notify": false,
    "targetInbox": "inbox",
    "type": "call",
    "duration": 9,
    "direction": "inbound",
    "missedCall": false,
    "bypassAgent": false,
    "cnamSpam": false,
    "selfCall": true,
    "callingUserIsContact": false,
    "agentOutcome": null,
    "summary": null,
    "callDialog": [
      {
        "role": "assistant",
        "content": "Hello! This is the answering assistant. How can I help you?"
      }
    ],
    "campaign": true,
    "diversion": null,
    "voicemailRecording": null,
    "eventType": "inbound-call",
    "forcedCampaign": true
  }
]

Authorizations

token
string
query
required

Vida API Token

Response

200 - application/json
Successful response

The response is of type object[].