GET/api/v1/messages
List messages
Messages your AI took, and calls it flagged urgent, newest first.
GET
curl "https://app.prepaid.ai/api/v1/messages?urgent_only=true" \ -H "Authorization: Bearer $PREPAID_API_KEY"Response · 200
{ "workspaceId": "3f6c1e70-9a4d-4a58-b6a2-2f0f0f9d1c11", "messages": [ { "id": "9a1c2e3f-4b5d-4e6f-8a7b-0c1d2e3f4a5b", "kind": "urgent", "body": "Burst pipe under the kitchen sink, water still running. Please call back.", "callId": "b81d2f44-5a90-4a1e-9d6c-77b0c3e21a05", "callerName": "Sam Patel", "callerPhone": "+64211234567", "emailedToOwner": true, "at": "2026-10-28T19:41:12.000Z" } ]}Messages your AI took and calls it flagged urgent, newest first.
Query parameters
- limitintegeroptional
- 1–200, default 50.
- urgent_onlybooleanoptional
truefor only the calls flagged urgent.
Response
- messages[].idstringalways present
- The message’s id.
- messages[].kindstringalways present
messageorurgent.- messages[].bodystringalways present
- What the caller asked to pass on.
- messages[].callIdstring | nullalways present
- The call it was taken on.
- messages[].callerNamestring | nullalways present
- The name the caller gave.
- messages[].callerPhonestring | nullalways present
- The number to ring back.
- messages[].emailedToOwnerbooleanalways present
- Whether the email to you was actually sent.
- messages[].atstringalways present
- When it was taken.