List call summaries
List this workspace's call summaries: the daily summary (an email of yesterday's calls) and the weekly summary (an email of the last seven days). Each entry carries its id, kind (daily or weekly), name, enabled state, emailAddresses, sendHour (0 to 23), sendDay (weekly only, a lowercase weekday), a plain schedule line, its own emailSubject and emailFromName (null means the standard wording) and agentIds (an empty list covers every agent; otherwise only calls to those agents count). skipTeamCallers is true when calls from the team's own numbers are left out of it. Times are in the workspace timezone, returned as `timezone`. `notSetUp` names each kind that has no summary yet. Call this before create_call_summary, update_call_summary or delete_call_summary to get the id. Real-time call alerts are listed by list_call_alerts instead.
Authorization
bearerAuth A personal access token from Settings > API tokens.
In: header
Header Parameters
A key you choose, such as a UUID, that makes this POST safe to retry. Within 24 hours the same key and request answers with the first successful answer and runs nothing, the same key with a different request answers 422 idempotency_key_reused, and a key whose request is still running answers 409 idempotency_key_in_use. A failed request keeps nothing, so the same key runs it again.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Target agent as 'workspace-slug/agent-slug' (e.g. 'luke/support-bot').
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/operations/list_call_summaries" \ -H "Content-Type: application/json" \ -d '{ "agent": "string" }'{}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}List call alerts POST
List every real-time call alert in this workspace, the 6 built-in reasons (new_lead/urgent/missed/message_taken/booking/all_calls) that have been turned on, plus any free-form custom alerts. Each entry carries its id, reason (null for a custom alert), name, description, enabled state, its email/SMS recipients, its Slack channel ids, whether it skips the team's own calls, and its optional custom template. The envelope also lists the workspace's connected Slack channels under `slackChannels` ({id, label}), the ids create_call_alert/update_call_alert accept in slackChannelIds. Call this first to resolve the id update_call_alert/delete_call_alert need, and to see what's already covered before creating a duplicate. The daily and weekly summaries are not listed here: list_call_summaries returns them.
List channels POST
List the agent's channels. `declared` is what the agent serves ('voice' = phone numbers and the website call pill, 'text' = website chat widget and share link); change it with set_agent_channels. `channels` are the website surface rows with each one's enabled state and presentation config (greeting bubble, consent line); toggle one with set_channel. A 'zendesk' row is a message channel (the agent answers customers' emails on Zendesk tickets): its config holds the mode (draft or reply), the topics, the sign-off and the ticket tag prefix; change it with set_message_channel. The brain (prompt, tools, knowledge base) is shared across channels.