Calls
List Agenda
Booked meetings and scheduled AI callbacks of live leads starting between `from` (default now) and `to` (default 7 days later; at most 92 days), soonest first (RO-300).
API key access
Needs the
calls:read scope with an API key (ro_pat_...). A signed-in session uses the caller's role.GET
/api/v1/agendaAuthorizationBearer <token>
Access token from /api/v1/auth/login, or an API key (ro_pat_..., RO-176) from /api/v1/workspaces/current/api-keys: the key implies its workspace and needs the route's scope. MCP connectors (/api/v1/mcp only) may use an OAuth access token (ro_oat_..., RO-284).
In: header
Query Parameters
from?string
Start of the range (default now).
Format
date-timeto?string
End of the range (default from + 7 days).
Format
date-timekind?array<AgendaKind>
Repeat to match any of (default both).
limit?integer
At most this many items (default 50).
Format
int64Range
1 <= value <= 200Header Parameters
X-Workspace-Id?string | null
Id of the workspace to act on (must be a member).
Response Body
curl -X GET "http://localhost:8000/api/v1/agenda?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&kind=meeting&limit=1" \ -H "X-Workspace-Id: string"{
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z",
"timezone": "string",
"items": [
{
"kind": "meeting",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"starts_at": "2019-08-24T14:15:22Z",
"ends_at": "2019-08-24T14:15:22Z",
"title": "string",
"lead": {},
"call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e",
"status": "string",
"note": "string",
"prep_ready": true
}
],
"truncated": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}