Returns a clinic’s calls, newest first by default. Each call comes in its short form. To get the summary, transcript and recording of a call, use Get call with its id.Any active API key works:
A clinic key can list only its own clinic’s calls. organizationId must be that clinic’s ID.
A partner key can list the calls of any active clinic in your partner account.
Which calls are listed
Only calls that lasted at least 1 second. Calls that never connected, such as an outbound call nobody answered, are left out. You can still read them with Get call if you have their ID.
Only calls that have ended. A call in progress shows up once it ends.
Headers
string
required
Bearer followed by your API key, for example Bearer sk-....
Query parameters
string
required
The ID of the clinic whose calls you want. See Finding IDs.
integer
default:"1"
The page to return, starting at 1. A page past the last one returns an empty calls array.
integer
default:"20"
How many calls per page, from 1 to 50.
string
Only calls of this type: Inbound, Outbound or Web. Case-sensitive. Any other value returns a 400 error.
string
Only calls handled by the agent with exactly this name. The match is exact and case-sensitive: Reception doesn’t match reception or Reception desk. It compares against the name the agent had when each call was saved.
string
Only calls that started at or after this time. Use ISO 8601 in UTC, such as 2026-09-01T00:00:00Z, or a plain date such as 2026-09-01 (midnight UTC). A time with a time zone offset, such as -05:00, can be rejected, so convert to UTC first.
string
Only calls that started at or before this time. Same format as from. to only applies when you also send from. When you send from without to, the range ends now. from must not be later than to.
string
Only calls in this length range:
Value
Calls lasting
0-60
under 1 minute
60-300
1 minute to under 5 minutes
300-600
5 minutes to under 10 minutes
600+
10 minutes or more
all
any length (same as leaving it out)
Encode 600+ as 600%2B in the URL. An unencoded + reads as a space. Any value not in this table is ignored, with no error.
string
Only calls with this intent, such as schedule_appointment. AlloMia lowercases the value before comparing. unknown matches calls whose intent is other. See Get call for the list of intents.
string
Only calls whose id, userPhoneNumber or userName contains this text. The match is partial and case-sensitive. To search by phone number, send digits only, such as 5145550187: an unencoded + reads as a space.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AlloMia API Documentation","colors":{"primary":"#0A74DA","light":"#4299E1","dark":"#2B6CB0"},"logo":{"light":"https://mintcdn.com/allomia-dcfc501a/63lasYG0rgJFLjIc/logo/light.svg?fit=max\u0026auto=format\u0026n=63lasYG0rgJFLjIc\u0026q=85\u0026s=900c98f2940cc700233cd2eb0805d036","dark":"https://mintcdn.com/allomia-dcfc501a/63lasYG0rgJFLjIc/logo/dark.svg?fit=max\u0026auto=format\u0026n=63lasYG0rgJFLjIc\u0026q=85\u0026s=6e7681291bfbca9de051c56e2e6039dc"},"favicon":"https://mintcdn.com/allomia-dcfc501a/RwrqresnfxaDCl_q/favicon.svg?fit=max\u0026auto=format\u0026n=RwrqresnfxaDCl_q\u0026q=85\u0026s=06dea03ef4389e69a3728e60c558cad9","api":{"mdx":{"server":"https://allomia.com"}},"navbar":{"links":[{"href":"https://allomia.com/en/help-center","label":"Help Center"},{"href":"mailto:support@medfarsolutions.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://allomia.com/en/login"}},"footer":{"socials":{"x":"https://x.com/allomia_ai","youtube":"https://youtube.com/@allomia_ai","linkedin":"https://linkedin.com/company/allomia"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Help Center","icon":"life-ring","href":"https://allomia.com/en/help-center"},{"anchor":"AlloMia Website","icon":"globe","href":"https://allomia.com"},{"anchor":"Contact Support","icon":"envelope","href":"mailto:support@medfarsolutions.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"allomia-dcfc501a","hasAudioNarration":false,"actualSubdomain":"allomia-dcfc501a","customDomains":["docs.allomia.com"],"gitSource":{"type":"github","owner":"allomia","repo":"allomia-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae4245919da8bc2fe38177f","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Organizations (partner keys)","count":7},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Outbound calls","count":4},{"language":"default","tag":"Calls","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".mintlify-logo{transform:scale(1.5);transform-origin:left center}nav{padding-top:0.5rem;padding-bottom:0.5rem}"}],"page":{"pagePath":"api-reference/endpoint/list-calls","slug":"/api-reference/endpoint/list-calls","pageMetadata":{"title":"List calls","api":"GET /api/calls","description":"Returns a clinic's calls one page at a time, with filters and sorting.","href":"/api-reference/endpoint/list-calls"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns a clinic’s calls one page at a time, with filters and sorting.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns a clinic’s calls, newest first by default. Each call comes in its short form. To get the summary, transcript and recording of a call, use `,_jsx(_components.a,{href:`/api-reference/endpoint/get-call`,children:`Get call`}),` with its `,_jsx(_components.code,{children:`id`}),`.`]}),`\n`,_jsx(_components.p,{children:`Any active API key works:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`clinic key`}),` can list only its own clinic’s calls. `,_jsx(_components.code,{children:`organizationId`}),` must be that clinic’s ID.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`partner key`}),` can list the calls of any active clinic in your partner account.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`which-calls-are-listed`,children:`Which calls are listed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only calls that lasted at least 1 second. Calls that never connected, such as an outbound call nobody answered, are left out. You can still read them with Get call if you have their ID.`}),`\n`,_jsx(_components.li,{children:`Only calls that have ended. A call in progress shows up once it ends.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer`}),` followed by your API key, for example `,_jsx(_components.code,{children:`Bearer sk-...`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`organizationId`,type:`string`,required:true,id:`param-organization-id`,children:_jsxs(_components.p,{children:[`The ID of the clinic whose calls you want. See `,_jsx(_components.a,{href:`/api-reference/finding-ids`,children:`Finding IDs`}),`.`]})}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`1`,id:`param-page`,children:_jsxs(_components.p,{children:[`The page to return, starting at 1. A page past the last one returns an empty `,_jsx(_components.code,{children:`calls`}),` array.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`20`,id:`param-limit`,children:_jsx(_components.p,{children:`How many calls per page, from 1 to 50.`})}),`\n`,_jsx(ParamField,{query:`callType`,type:`string`,id:`param-call-type`,children:_jsxs(_components.p,{children:[`Only calls of this type: `,_jsx(_components.code,{children:`Inbound`}),`, `,_jsx(_components.code,{children:`Outbound`}),` or `,_jsx(_components.code,{children:`Web`}),`. Case-sensitive. Any other value returns a 400 error.`]})}),`\n`,_jsx(ParamField,{query:`agentName`,type:`string`,id:`param-agent-name`,children:_jsxs(_components.p,{children:[`Only calls handled by the agent with exactly this name. The match is exact and case-sensitive: `,_jsx(_components.code,{children:`Reception`}),` doesn’t match `,_jsx(_components.code,{children:`reception`}),` or `,_jsx(_components.code,{children:`Reception desk`}),`. It compares against the name the agent had when each call was saved.`]})}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Only calls that started at or after this time. Use ISO 8601 in UTC, such as `,_jsx(_components.code,{children:`2026-09-01T00:00:00Z`}),`, or a plain date such as `,_jsx(_components.code,{children:`2026-09-01`}),` (midnight UTC). A time with a time zone offset, such as `,_jsx(_components.code,{children:`-05:00`}),`, can be rejected, so convert to UTC first.`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`Only calls that started at or before this time. Same format as `,_jsx(_components.code,{children:`from`}),`. `,_jsx(_components.code,{children:`to`}),` only applies when you also send `,_jsx(_components.code,{children:`from`}),`. When you send `,_jsx(_components.code,{children:`from`}),` without `,_jsx(_components.code,{children:`to`}),`, the range ends now. `,_jsx(_components.code,{children:`from`}),` must not be later than `,_jsx(_components.code,{children:`to`}),`.`]})}),`\n`,_jsxs(ParamField,{query:`duration`,type:`string`,id:`param-duration`,children:[_jsx(_components.p,{children:`Only calls in this length range:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Calls lasting`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0-60`})}),_jsx(_components.td,{children:`under 1 minute`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`60-300`})}),_jsx(_components.td,{children:`1 minute to under 5 minutes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`300-600`})}),_jsx(_components.td,{children:`5 minutes to under 10 minutes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`600+`})}),_jsx(_components.td,{children:`10 minutes or more`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`all`})}),_jsx(_components.td,{children:`any length (same as leaving it out)`})]})]})]}),_jsxs(_components.p,{children:[`Encode `,_jsx(_components.code,{children:`600+`}),` as `,_jsx(_components.code,{children:`600%2B`}),` in the URL. An unencoded `,_jsx(_components.code,{children:`+`}),` reads as a space. Any value not in this table is ignored, with no error.`]})]}),`\n`,_jsx(ParamField,{query:`userPrimaryIntent`,type:`string`,id:`param-user-primary-intent`,children:_jsxs(_components.p,{children:[`Only calls with this intent, such as `,_jsx(_components.code,{children:`schedule_appointment`}),`. AlloMia lowercases the value before comparing. `,_jsx(_components.code,{children:`unknown`}),` matches calls whose intent is `,_jsx(_components.code,{children:`other`}),`. See `,_jsx(_components.a,{href:`/api-reference/endpoint/get-call`,children:`Get call`}),` for the list of intents.`]})}),`\n`,_jsx(ParamField,{query:`search`,type:`string`,id:`param-search`,children:_jsxs(_components.p,{children:[`Only calls whose `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`userPhoneNumber`}),` or `,_jsx(_components.code,{children:`userName`}),` contains this text. The match is partial and case-sensitive. To search by phone number, send digits only, such as `,_jsx(_components.code,{children:`5145550187`}),`: an unencoded `,_jsx(_components.code,{children:`+`}),` reads as a space.`]})}),`\n`,_jsxs(ParamField,{query:`sort`,type:`string`,default:`desc`,id:`param-sort`,children:[_jsx(_components.p,{children:`The order of the results:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Order`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`desc`})}),_jsx(_components.td,{children:`Newest first, by start time (default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asc`})}),_jsx(_components.td,{children:`Oldest first, by start time`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`duration_desc`})}),_jsx(_components.td,{children:`Longest first`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`duration_asc`})}),_jsx(_components.td,{children:`Shortest first`})]})]})]}),_jsx(_components.p,{children:`Any other value returns a 400 error.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`calls`,type:`array`,id:`param-calls`,children:[_jsx(_components.p,{children:`The calls on this page.`}),_jsxs(Expandable,{title:`call properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`The call’s ID. Use it with `,_jsx(_components.a,{href:`/api-reference/endpoint/get-call`,children:`Get call`}),`.`]})}),_jsx(ResponseField,{name:`organizationId`,type:`string`,id:`param-organization-id-1`,children:_jsx(_components.p,{children:`The clinic the call belongs to.`})}),_jsx(ResponseField,{name:`callType`,type:`string`,id:`param-call-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Inbound`}),`, `,_jsx(_components.code,{children:`Outbound`}),` or `,_jsx(_components.code,{children:`Web`}),`.`]})}),_jsx(ResponseField,{name:`agentId`,type:`string | null`,id:`param-agent-id`,children:_jsx(_components.p,{children:`The AI agent that answered or placed the call. For a team call, the agent that took the call first.`})}),_jsx(ResponseField,{name:`agentName`,type:`string | null`,id:`param-agent-name-1`,children:_jsx(_components.p,{children:`That agent’s name when the call was saved.`})}),_jsx(ResponseField,{name:`teamId`,type:`string | null`,id:`param-team-id`,children:_jsxs(_components.p,{children:[`The team that handled the call. `,_jsx(_components.code,{children:`null`}),` when no team was involved.`]})}),_jsx(ResponseField,{name:`teamName`,type:`string | null`,id:`param-team-name`,children:_jsxs(_components.p,{children:[`The team’s name. For a transferred call with no team, it can hold the name of the transfer destination while `,_jsx(_components.code,{children:`teamId`}),` is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`phoneNumber`,type:`string | null`,id:`param-phone-number`,children:_jsxs(_components.p,{children:[`The clinic’s AlloMia number the call came in on or went out from. `,_jsx(_components.code,{children:`null`}),` for web calls.`]})}),_jsx(ResponseField,{name:`callStartedAt`,type:`string | null`,id:`param-call-started-at`,children:_jsx(_components.p,{children:`When the call started, in ISO 8601 UTC.`})}),_jsx(ResponseField,{name:`callEndedAt`,type:`string | null`,id:`param-call-ended-at`,children:_jsx(_components.p,{children:`When the call ended, in ISO 8601 UTC.`})}),_jsx(ResponseField,{name:`callDurationSeconds`,type:`string`,id:`param-call-duration-seconds`,children:_jsxs(_components.p,{children:[`Length of the call in seconds, as a decimal string such as `,_jsx(_components.code,{children:`\"177.686\"`}),`.`]})}),_jsx(ResponseField,{name:`userPhoneNumber`,type:`string | null`,id:`param-user-phone-number`,children:_jsxs(_components.p,{children:[`The caller’s number for an inbound call, or the number called for an outbound call. `,_jsx(_components.code,{children:`null`}),` when unknown, and for web calls.`]})}),_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`When AlloMia created the call record, in ISO 8601 UTC.`})})]})]}),`\n`,_jsx(ResponseField,{name:`pagination`,type:`object`,id:`param-pagination`,children:_jsxs(Expandable,{title:`pagination properties`,children:[_jsx(ResponseField,{name:`page`,type:`integer`,id:`param-page-1`,children:_jsx(_components.p,{children:`The page returned.`})}),_jsx(ResponseField,{name:`limit`,type:`integer`,id:`param-limit-1`,children:_jsx(_components.p,{children:`Calls per page.`})}),_jsx(ResponseField,{name:`total`,type:`integer`,id:`param-total`,children:_jsx(_components.p,{children:`How many calls match your filters, across all pages.`})}),_jsx(ResponseField,{name:`totalPages`,type:`integer`,id:`param-total-pages`,children:_jsxs(_components.p,{children:[`How many pages there are at this `,_jsx(_components.code,{children:`limit`}),`.`]})}),_jsx(ResponseField,{name:`hasNextPage`,type:`boolean`,id:`param-has-next-page`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` if there’s a page after this one.`]})}),_jsx(ResponseField,{name:`hasPreviousPage`,type:`boolean`,id:`param-has-previous-page`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` if `,_jsx(_components.code,{children:`page`}),` is greater than 1.`]})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid request data`})}),_jsxs(_components.td,{children:[`A parameter is missing or invalid. `,_jsx(_components.code,{children:`details`}),` lists each problem with its `,_jsx(_components.code,{children:`field`}),`, `,_jsx(_components.code,{children:`message`}),` and `,_jsx(_components.code,{children:`code`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Unauthorized`})}),_jsx(_components.td,{children:`The key is missing, wrong or deleted.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Organization not found`})}),_jsx(_components.td,{children:`The clinic doesn’t exist, your key can’t read it, or (with a partner key) the clinic isn’t active.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Too many requests`})}),_jsxs(_components.td,{children:[`You sent too many requests. See `,_jsx(_components.a,{href:`/api-reference/rate-limits`,children:`Rate limits`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`An unexpected error occurred. Please try again later.`})}),_jsx(_components.td,{children:`Something went wrong on AlloMia’s side.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api-reference/errors`,children:`Errors`}),` for the error format.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List calls","api":"GET /api/calls","description":"Returns a clinic's calls one page at a time, with filters and sorting.","href":"/api-reference/endpoint/list-calls"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns a clinic’s calls, newest first by default. Each call comes in its short form. To get the summary, transcript and recording of a call, use `,_jsx(_components.a,{href:`/api-reference/endpoint/get-call`,children:`Get call`}),` with its `,_jsx(_components.code,{children:`id`}),`.`]}),`\n`,_jsx(_components.p,{children:`Any active API key works:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`clinic key`}),` can list only its own clinic’s calls. `,_jsx(_components.code,{children:`organizationId`}),` must be that clinic’s ID.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`partner key`}),` can list the calls of any active clinic in your partner account.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`which-calls-are-listed`,children:`Which calls are listed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only calls that lasted at least 1 second. Calls that never connected, such as an outbound call nobody answered, are left out. You can still read them with Get call if you have their ID.`}),`\n`,_jsx(_components.li,{children:`Only calls that have ended. A call in progress shows up once it ends.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer`}),` followed by your API key, for example `,_jsx(_components.code,{children:`Bearer sk-...`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`organizationId`,type:`string`,required:true,id:`param-organization-id`,children:_jsxs(_components.p,{children:[`The ID of the clinic whose calls you want. See `,_jsx(_components.a,{href:`/api-reference/finding-ids`,children:`Finding IDs`}),`.`]})}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`1`,id:`param-page`,children:_jsxs(_components.p,{children:[`The page to return, starting at 1. A page past the last one returns an empty `,_jsx(_components.code,{children:`calls`}),` array.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`20`,id:`param-limit`,children:_jsx(_components.p,{children:`How many calls per page, from 1 to 50.`})}),`\n`,_jsx(ParamField,{query:`callType`,type:`string`,id:`param-call-type`,children:_jsxs(_components.p,{children:[`Only calls of this type: `,_jsx(_components.code,{children:`Inbound`}),`, `,_jsx(_components.code,{children:`Outbound`}),` or `,_jsx(_components.code,{children:`Web`}),`. Case-sensitive. Any other value returns a 400 error.`]})}),`\n`,_jsx(ParamField,{query:`agentName`,type:`string`,id:`param-agent-name`,children:_jsxs(_components.p,{children:[`Only calls handled by the agent with exactly this name. The match is exact and case-sensitive: `,_jsx(_components.code,{children:`Reception`}),` doesn’t match `,_jsx(_components.code,{children:`reception`}),` or `,_jsx(_components.code,{children:`Reception desk`}),`. It compares against the name the agent had when each call was saved.`]})}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Only calls that started at or after this time. Use ISO 8601 in UTC, such as `,_jsx(_components.code,{children:`2026-09-01T00:00:00Z`}),`, or a plain date such as `,_jsx(_components.code,{children:`2026-09-01`}),` (midnight UTC). A time with a time zone offset, such as `,_jsx(_components.code,{children:`-05:00`}),`, can be rejected, so convert to UTC first.`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`Only calls that started at or before this time. Same format as `,_jsx(_components.code,{children:`from`}),`. `,_jsx(_components.code,{children:`to`}),` only applies when you also send `,_jsx(_components.code,{children:`from`}),`. When you send `,_jsx(_components.code,{children:`from`}),` without `,_jsx(_components.code,{children:`to`}),`, the range ends now. `,_jsx(_components.code,{children:`from`}),` must not be later than `,_jsx(_components.code,{children:`to`}),`.`]})}),`\n`,_jsxs(ParamField,{query:`duration`,type:`string`,id:`param-duration`,children:[_jsx(_components.p,{children:`Only calls in this length range:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Calls lasting`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0-60`})}),_jsx(_components.td,{children:`under 1 minute`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`60-300`})}),_jsx(_components.td,{children:`1 minute to under 5 minutes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`300-600`})}),_jsx(_components.td,{children:`5 minutes to under 10 minutes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`600+`})}),_jsx(_components.td,{children:`10 minutes or more`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`all`})}),_jsx(_components.td,{children:`any length (same as leaving it out)`})]})]})]}),_jsxs(_components.p,{children:[`Encode `,_jsx(_components.code,{children:`600+`}),` as `,_jsx(_components.code,{children:`600%2B`}),` in the URL. An unencoded `,_jsx(_components.code,{children:`+`}),` reads as a space. Any value not in this table is ignored, with no error.`]})]}),`\n`,_jsx(ParamField,{query:`userPrimaryIntent`,type:`string`,id:`param-user-primary-intent`,children:_jsxs(_components.p,{children:[`Only calls with this intent, such as `,_jsx(_components.code,{children:`schedule_appointment`}),`. AlloMia lowercases the value before comparing. `,_jsx(_components.code,{children:`unknown`}),` matches calls whose intent is `,_jsx(_components.code,{children:`other`}),`. See `,_jsx(_components.a,{href:`/api-reference/endpoint/get-call`,children:`Get call`}),` for the list of intents.`]})}),`\n`,_jsx(ParamField,{query:`search`,type:`string`,id:`param-search`,children:_jsxs(_components.p,{children:[`Only calls whose `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`userPhoneNumber`}),` or `,_jsx(_components.code,{children:`userName`}),` contains this text. The match is partial and case-sensitive. To search by phone number, send digits only, such as `,_jsx(_components.code,{children:`5145550187`}),`: an unencoded `,_jsx(_components.code,{children:`+`}),` reads as a space.`]})}),`\n`,_jsxs(ParamField,{query:`sort`,type:`string`,default:`desc`,id:`param-sort`,children:[_jsx(_components.p,{children:`The order of the results:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Order`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`desc`})}),_jsx(_components.td,{children:`Newest first, by start time (default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asc`})}),_jsx(_components.td,{children:`Oldest first, by start time`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`duration_desc`})}),_jsx(_components.td,{children:`Longest first`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`duration_asc`})}),_jsx(_components.td,{children:`Shortest first`})]})]})]}),_jsx(_components.p,{children:`Any other value returns a 400 error.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`calls`,type:`array`,id:`param-calls`,children:[_jsx(_components.p,{children:`The calls on this page.`}),_jsxs(Expandable,{title:`call properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`The call’s ID. Use it with `,_jsx(_components.a,{href:`/api-reference/endpoint/get-call`,children:`Get call`}),`.`]})}),_jsx(ResponseField,{name:`organizationId`,type:`string`,id:`param-organization-id-1`,children:_jsx(_components.p,{children:`The clinic the call belongs to.`})}),_jsx(ResponseField,{name:`callType`,type:`string`,id:`param-call-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Inbound`}),`, `,_jsx(_components.code,{children:`Outbound`}),` or `,_jsx(_components.code,{children:`Web`}),`.`]})}),_jsx(ResponseField,{name:`agentId`,type:`string | null`,id:`param-agent-id`,children:_jsx(_components.p,{children:`The AI agent that answered or placed the call. For a team call, the agent that took the call first.`})}),_jsx(ResponseField,{name:`agentName`,type:`string | null`,id:`param-agent-name-1`,children:_jsx(_components.p,{children:`That agent’s name when the call was saved.`})}),_jsx(ResponseField,{name:`teamId`,type:`string | null`,id:`param-team-id`,children:_jsxs(_components.p,{children:[`The team that handled the call. `,_jsx(_components.code,{children:`null`}),` when no team was involved.`]})}),_jsx(ResponseField,{name:`teamName`,type:`string | null`,id:`param-team-name`,children:_jsxs(_components.p,{children:[`The team’s name. For a transferred call with no team, it can hold the name of the transfer destination while `,_jsx(_components.code,{children:`teamId`}),` is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`phoneNumber`,type:`string | null`,id:`param-phone-number`,children:_jsxs(_components.p,{children:[`The clinic’s AlloMia number the call came in on or went out from. `,_jsx(_components.code,{children:`null`}),` for web calls.`]})}),_jsx(ResponseField,{name:`callStartedAt`,type:`string | null`,id:`param-call-started-at`,children:_jsx(_components.p,{children:`When the call started, in ISO 8601 UTC.`})}),_jsx(ResponseField,{name:`callEndedAt`,type:`string | null`,id:`param-call-ended-at`,children:_jsx(_components.p,{children:`When the call ended, in ISO 8601 UTC.`})}),_jsx(ResponseField,{name:`callDurationSeconds`,type:`string`,id:`param-call-duration-seconds`,children:_jsxs(_components.p,{children:[`Length of the call in seconds, as a decimal string such as `,_jsx(_components.code,{children:`\"177.686\"`}),`.`]})}),_jsx(ResponseField,{name:`userPhoneNumber`,type:`string | null`,id:`param-user-phone-number`,children:_jsxs(_components.p,{children:[`The caller’s number for an inbound call, or the number called for an outbound call. `,_jsx(_components.code,{children:`null`}),` when unknown, and for web calls.`]})}),_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`When AlloMia created the call record, in ISO 8601 UTC.`})})]})]}),`\n`,_jsx(ResponseField,{name:`pagination`,type:`object`,id:`param-pagination`,children:_jsxs(Expandable,{title:`pagination properties`,children:[_jsx(ResponseField,{name:`page`,type:`integer`,id:`param-page-1`,children:_jsx(_components.p,{children:`The page returned.`})}),_jsx(ResponseField,{name:`limit`,type:`integer`,id:`param-limit-1`,children:_jsx(_components.p,{children:`Calls per page.`})}),_jsx(ResponseField,{name:`total`,type:`integer`,id:`param-total`,children:_jsx(_components.p,{children:`How many calls match your filters, across all pages.`})}),_jsx(ResponseField,{name:`totalPages`,type:`integer`,id:`param-total-pages`,children:_jsxs(_components.p,{children:[`How many pages there are at this `,_jsx(_components.code,{children:`limit`}),`.`]})}),_jsx(ResponseField,{name:`hasNextPage`,type:`boolean`,id:`param-has-next-page`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` if there’s a page after this one.`]})}),_jsx(ResponseField,{name:`hasPreviousPage`,type:`boolean`,id:`param-has-previous-page`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` if `,_jsx(_components.code,{children:`page`}),` is greater than 1.`]})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid request data`})}),_jsxs(_components.td,{children:[`A parameter is missing or invalid. `,_jsx(_components.code,{children:`details`}),` lists each problem with its `,_jsx(_components.code,{children:`field`}),`, `,_jsx(_components.code,{children:`message`}),` and `,_jsx(_components.code,{children:`code`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Unauthorized`})}),_jsx(_components.td,{children:`The key is missing, wrong or deleted.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Organization not found`})}),_jsx(_components.td,{children:`The clinic doesn’t exist, your key can’t read it, or (with a partner key) the clinic isn’t active.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Too many requests`})}),_jsxs(_components.td,{children:[`You sent too many requests. See `,_jsx(_components.a,{href:`/api-reference/rate-limits`,children:`Rate limits`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`An unexpected error occurred. Please try again later.`})}),_jsx(_components.td,{children:`Something went wrong on AlloMia’s side.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api-reference/errors`,children:`Errors`}),` for the error format.`]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://allomia.com/api/calls\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk-...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"organizationId=3dd7b994-3cac-45f6-84ca-c6032411d9f4\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"callType=Inbound\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from=2026-09-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to=2026-10-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"limit=10\"`})]}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`42`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`42`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9b3e0863-4b7e-4882-b516-28c377e512c7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organizationId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3dd7b994-3cac-45f6-84ca-c6032411d9f4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Inbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"34042575-74d3-4588-a3d9-8773aab96a9b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Reception\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"teamId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8a44459e-2169-4a7b-86f3-f110b71d9570\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"teamName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Front Desk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phoneNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15145550123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callStartedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T14:20:15.482Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callEndedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T14:23:13.168Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callDurationSeconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"177.686\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"userPhoneNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15145550187\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T14:20:16.010Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"203bdba7-88e9-4177-9040-bfaafb540cfb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"organizationId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3dd7b994-3cac-45f6-84ca-c6032411d9f4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Inbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"34042575-74d3-4588-a3d9-8773aab96a9b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agentName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Reception\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"teamId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"teamName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phoneNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15145550123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callStartedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-29T09:10:34.127Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callEndedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-29T09:12:32.940Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callDurationSeconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"118.813\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"userPhoneNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15145550142\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-29T09:10:34.601Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pagination\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasNextPage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hasPreviousPage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid request data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"callType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid option: expected one of `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Inbound`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`|`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Outbound`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`|`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Web`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_value\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`404`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Organization not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List calls","api":"GET /api/calls","description":"Returns a clinic's calls one page at a time, with filters and sorting.","href":"/api-reference/endpoint/list-calls"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Which calls are listed","slug":"which-calls-are-listed","depth":3,"children":[]},{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -G\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://allomia.com/api/calls\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer sk-...\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"organizationId=3dd7b994-3cac-45f6-84ca-c6032411d9f4\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"callType=Inbound\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"from=2026-09-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"to=2026-10-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"limit=10\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"42\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"calls\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"9b3e0863-4b7e-4882-b516-28c377e512c7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"organizationId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3dd7b994-3cac-45f6-84ca-c6032411d9f4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"34042575-74d3-4588-a3d9-8773aab96a9b\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Reception\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"teamId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8a44459e-2169-4a7b-86f3-f110b71d9570\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"teamName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Front Desk\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"phoneNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+15145550123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callStartedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T14:20:15.482Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callEndedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T14:23:13.168Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callDurationSeconds\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"177.686\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"userPhoneNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+15145550187\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T14:20:16.010Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"203bdba7-88e9-4177-9040-bfaafb540cfb\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"organizationId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3dd7b994-3cac-45f6-84ca-c6032411d9f4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Inbound\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"34042575-74d3-4588-a3d9-8773aab96a9b\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agentName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Reception\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"teamId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"teamName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"phoneNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+15145550123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callStartedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-29T09:10:34.127Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callEndedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-29T09:12:32.940Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"callDurationSeconds\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"118.813\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"userPhoneNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+15145550142\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-29T09:10:34.601Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pagination\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"page\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">42\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"totalPages\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hasNextPage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hasPreviousPage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid request data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"field\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"callType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid option: expected one of \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">Inbound\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">|\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">Outbound\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">|\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">Web\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"invalid_value\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"404","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Organization not found\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"List calls","path":"/api/calls","servers":[{"url":"https://allomia.com"}],"method":"get","request":{"security":[],"parameters":{"query":{"organizationId":{"schema":[{"type":"string","description":"The ID of the clinic whose calls you want. See Finding IDs .","required":true}]},"page":{"schema":[{"type":"integer","description":"The page to return, starting at 1. A page past the last one returns an empty `calls` array."}]},"limit":{"schema":[{"type":"integer","description":"How many calls per page, from 1 to 50."}]},"callType":{"schema":[{"type":"string","description":"Only calls of this type: `Inbound` , `Outbound` or `Web` . Case-sensitive. Any other value returns a 400 error."}]},"agentName":{"schema":[{"type":"string","description":"Only calls handled by the agent with exactly this name. The match is exact and case-sensitive: `Reception` doesn’t match `reception` or `Reception desk` . It compares against the name the agent had when each call was saved."}]},"from":{"schema":[{"type":"string","description":"Only calls that started at or after this time. Use ISO 8601 in UTC, such as `2026-09-01T00:00:00Z` , or a plain date such as `2026-09-01` (midnight UTC). A time with a time zone offset, such as `-05:00` , can be rejected, so convert to UTC first."}]},"to":{"schema":[{"type":"string","description":"Only calls that started at or before this time. Same format as `from` . `to` only applies when you also send `from` . When you send `from` without `to` , the range ends now. `from` must not be later than `to` ."}]},"duration":{"schema":[{"type":"string","description":"Only calls in this length range: Value Calls lasting `0-60` under 1 minute `60-300` 1 minute to under 5 minutes `300-600` 5 minutes to under 10 minutes `600+` 10 minutes or more `all` any length (same as leaving it out) Encode `600+` as `600%2B` in the URL. An unencoded `+` reads as a space. Any value not in this table is ignored, with no error."}]},"userPrimaryIntent":{"schema":[{"type":"string","description":"Only calls with this intent, such as `schedule_appointment` . AlloMia lowercases the value before comparing. `unknown` matches calls whose intent is `other` . See Get call for the list of intents."}]},"search":{"schema":[{"type":"string","description":"Only calls whose `id` , `userPhoneNumber` or `userName` contains this text. The match is partial and case-sensitive. To search by phone number, send digits only, such as `5145550187` : an unencoded `+` reads as a space."}]},"sort":{"schema":[{"type":"string","description":"The order of the results: Value Order `desc` Newest first, by start time (default) `asc` Oldest first, by start time `duration_desc` Longest first `duration_asc` Shortest first Any other value returns a 400 error."}]}},"header":{"Authorization":{"schema":[{"type":"string","description":"`Bearer` followed by your API key, for example `Bearer sk-...` .","required":true}]}},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"calls":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The call’s ID. Use it with Get call ."}],"organizationId":[{"type":"string","description":"The clinic the call belongs to."}],"callType":[{"type":"string","description":"`Inbound` , `Outbound` or `Web` ."}],"agentId":[{"type":"object","properties":{},"description":"The AI agent that answered or placed the call. For a team call, the agent that took the call first."}],"agentName":[{"type":"object","properties":{},"description":"That agent’s name when the call was saved."}],"teamId":[{"type":"object","properties":{},"description":"The team that handled the call. `null` when no team was involved."}],"teamName":[{"type":"object","properties":{},"description":"The team’s name. For a transferred call with no team, it can hold the name of the transfer destination while `teamId` is `null` ."}],"phoneNumber":[{"type":"object","properties":{},"description":"The clinic’s AlloMia number the call came in on or went out from. `null` for web calls."}],"callStartedAt":[{"type":"object","properties":{},"description":"When the call started, in ISO 8601 UTC."}],"callEndedAt":[{"type":"object","properties":{},"description":"When the call ended, in ISO 8601 UTC."}],"callDurationSeconds":[{"type":"string","description":"Length of the call in seconds, as a decimal string such as `\"177.686\"` ."}],"userPhoneNumber":[{"type":"object","properties":{},"description":"The caller’s number for an inbound call, or the number called for an outbound call. `null` when unknown, and for web calls."}],"createdAt":[{"type":"string","description":"When AlloMia created the call record, in ISO 8601 UTC."}]}}],"description":"The calls on this page."}],"pagination":[{"type":"object","properties":{"page":[{"type":"integer","description":"The page returned."}],"limit":[{"type":"integer","description":"Calls per page."}],"total":[{"type":"integer","description":"How many calls match your filters, across all pages."}],"totalPages":[{"type":"integer","description":"How many pages there are at this `limit` ."}],"hasNextPage":[{"type":"boolean","description":"`true` if there’s a page after this one."}],"hasPreviousPage":[{"type":"boolean","description":"`true` if `page` is greater than 1."}]}}]}}],"examples":{"example":{"value":{"calls":[{"id":"\u003cstring>","organizationId":"\u003cstring>","callType":"\u003cstring>","agentId":{},"agentName":{},"teamId":{},"teamName":{},"phoneNumber":{},"callStartedAt":{},"callEndedAt":{},"callDurationSeconds":"\u003cstring>","userPhoneNumber":{},"createdAt":"\u003cstring>"}],"pagination":{"page":123,"limit":123,"total":123,"totalPages":123,"hasNextPage":true,"hasPreviousPage":true}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"allomia-dcfc501a","siteName":"AlloMia API Documentation","title":"List calls - AlloMia API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T09:36:52.054Z","originalFileLocation":"api-reference/endpoint/list-calls.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns a clinic\u0026#x27;s calls one page at a time, with filters and sorting.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AlloMia API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List calls - AlloMia API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a clinic\u0026#x27;s calls one page at a time, with filters and sorting.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AlloMia API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.allomia.com/api-reference/endpoint/list-calls\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://allomia-dcfc501a.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=List+calls\u0026amp;description=Returns+a+clinic%27s+calls+one+page+at+a+time%2C+with+filters+and+sorting.\u0026amp;theme=f4e20f0a411c4b309413129f\u0026amp;signature=3bec6891063bc7e5471de42cfeff769096e9eca479c4cf30625e64e278a34e18\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List calls - AlloMia API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a clinic\u0026#x27;s calls one page at a time, with filters and sorting.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://allomia-dcfc501a.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=List+calls\u0026amp;description=Returns+a+clinic%27s+calls+one+page+at+a+time%2C+with+filters+and+sorting.\u0026amp;theme=f4e20f0a411c4b309413129f\u0026amp;signature=3bec6891063bc7e5471de42cfeff769096e9eca479c4cf30625e64e278a34e18\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/allomia-dcfc501a/CXdvixMdh3J5Wfvu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AlloMia API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A74DA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.allomia.com/api-reference/endpoint/list-calls\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/list-calls.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.allomia.com/#organization\",\"name\":\"AlloMia API Documentation\",\"url\":\"https://docs.allomia.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/allomia-dcfc501a/63lasYG0rgJFLjIc/logo/light.svg?fit=max\u0026auto=format\u0026n=63lasYG0rgJFLjIc\u0026q=85\u0026s=900c98f2940cc700233cd2eb0805d036\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.allomia.com#website\",\"name\":\"AlloMia API Documentation\",\"url\":\"https://docs.allomia.com\",\"publisher\":{\"@id\":\"https://docs.allomia.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.allomia.com/api-reference/endpoint/list-calls#webpage\",\"url\":\"https://docs.allomia.com/api-reference/endpoint/list-calls\",\"name\":\"List calls\",\"description\":\"Returns a clinic's calls one page at a time, with filters and sorting.\",\"dateModified\":\"2026-10-08T09:36:52.054Z\",\"isPartOf\":{\"@id\":\"https://docs.allomia.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.allomia.com/api-reference/endpoint/list-calls#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.allomia.com/api-reference/endpoint/list-calls#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Calls\",\"item\":\"https://docs.allomia.com/api-reference/calls\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List calls\",\"item\":\"https://docs.allomia.com/api-reference/endpoint/list-calls\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.allomia.com/api-reference/endpoint/list-calls#apireference\",\"headline\":\"List calls\",\"name\":\"List calls\",\"description\":\"Returns a clinic's calls one page at a time, with filters and sorting.\",\"url\":\"https://docs.allomia.com/api-reference/endpoint/list-calls\",\"mainEntityOfPage\":{\"@id\":\"https://docs.allomia.com/api-reference/endpoint/list-calls#webpage\"},\"dateModified\":\"2026-10-08T09:36:52.054Z\",\"publisher\":{\"@id\":\"https://docs.allomia.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.allomia.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AlloMia API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AlloMia API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/list-calls.md","siteName":"AlloMia API Documentation","nav":{"global":{"anchors":[{"anchor":"Help Center","icon":"life-ring","href":"https://allomia.com/en/help-center"},{"anchor":"AlloMia Website","icon":"globe","href":"https://allomia.com"},{"anchor":"Contact Support","icon":"envelope","href":"mailto:support@medfarsolutions.com"}]},"groups":[{"group":"Get started","pages":[{"title":"API overview","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Finding IDs","href":"/api-reference/finding-ids"},{"title":"Errors","href":"/api-reference/errors"},{"title":"Rate limits","href":"/api-reference/rate-limits"}]},{"group":"Organizations (partner keys)","pages":[{"title":"Organizations","href":"/api-reference/organization"},{"title":"List organizations","api":"GET /api/organization","href":"/api-reference/endpoint/list-organizations"},{"title":"Create organization","api":"POST /api/organization","href":"/api-reference/endpoint/create-organization"},{"title":"Get organization","api":"GET /api/organization/{id}","href":"/api-reference/endpoint/get-organization"},{"title":"Update organization","api":"PUT /api/organization/{id}","href":"/api-reference/endpoint/update-organization"},{"title":"Delete organization","api":"DELETE /api/organization/{id}","href":"/api-reference/endpoint/delete-organization"},{"title":"Update organization metadata","api":"PUT /api/organization/{id}/metadata","href":"/api-reference/endpoint/update-organization-metadata"}]},{"group":"Calls","pages":[{"title":"Calls","description":"Read the calls a clinic's AI agents handled, with their summaries, transcripts and recordings.","href":"/api-reference/calls"},{"title":"List calls","api":"GET /api/calls","href":"/api-reference/endpoint/list-calls"},{"title":"Get call","api":"GET /api/calls/{id}","description":"Returns one call in full, with its summaries and links to its transcript and recording.","href":"/api-reference/endpoint/get-call"}]},{"group":"Outbound calls","pages":[{"title":"Outbound calls","href":"/api-reference/outbound-calls"},{"title":"Create outbound call","api":"POST /api/outbound","href":"/api-reference/endpoint/create-outbound-call"},{"title":"Get outbound call status","api":"GET /api/outbound/{id}/status","href":"/api-reference/endpoint/get-outbound-call-status"},{"title":"Call-completed callback","href":"/api-reference/webhooks"}]}]},"basePath":"","title":"List calls - AlloMia API Documentation","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js"]}