Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.
GET
/
v1
/
Accounts
/
{account_sid}
/
RecentCalls
Get RecentCalls
curl --request GET \ --url https://api.example.com/v1/Accounts/{account_sid}/RecentCalls
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Voxeme AI - World's Leading WhatsApp Voice Solution","colors":{"primary":"#99d52a","light":"#99d52a","dark":"#99d52a"},"logo":{"light":"https://mintcdn.com/voxemeai/BSxtcj0QcJp7LYw7/logo/voxeme-light.png?fit=max\u0026auto=format\u0026n=BSxtcj0QcJp7LYw7\u0026q=85\u0026s=b4f16f13b073588bdf688a4d7f9cc359","dark":"https://mintcdn.com/voxemeai/BSxtcj0QcJp7LYw7/logo/voxeme-dark.png?fit=max\u0026auto=format\u0026n=BSxtcj0QcJp7LYw7\u0026q=85\u0026s=71c3634449b888289a34fb039b061b1e"},"favicon":"/favicon.svg","navbar":{"links":[{"label":"Support","href":"mailto:contact@voxeme.com"}]},"footer":{"socials":{"x":"https://x.com/@VoxemeAI","github":"https://github.com/autoficial-labs","linkedin":"https://linkedin.com/company/autoficial-labs"}},"metadata":{"timestamp":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"voxemeai","hasAudioNarration":false,"actualSubdomain":"voxemeai","customDomains":["docs.voxeme.com"],"gitSource":{"type":"github","owner":"autoficial-labs","repo":"vx-documentation","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e68bf325d2bf100607e5","collectionId":"39a7fe7b-c69d-4fde-ad04-1df5c12e32a0","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e68bf325d2bf100607e5:success","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"v1","count":22},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Features","count":13},{"language":"default","tag":"Get Started","count":2},{"language":"default","tag":"API Documentation","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"llms-txt-v2","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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v1/get-recentcalls","slug":"/api-reference/v1/get-recentcalls","pageMetadata":{"openapi":"get /v1/Accounts/{account_sid}/RecentCalls","title":"Get RecentCalls","description":"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.","href":"/api-reference/v1/get-recentcalls"},"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: \"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /v1/Accounts/{account_sid}/RecentCalls","title":"Get RecentCalls","description":"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.","href":"/api-reference/v1/get-recentcalls"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["v1","RecentCalls"],"summary":"Get RecentCalls","description":"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.","operationId":"getRecentcalls","parameters":["6cecbc60-3f35-492a-8479-6b4c91360f11","065a85d5-004e-472c-8b6d-09e7c994e167","486d1532-96c5-4872-8eb4-19278bce4542"],"responses":{"200":"17622e3a-45cc-46fd-8e36-4bb5098a7afd"},"method":"get","type":"path","servers":["3c45ac32-6c03-41ff-91cc-7bff985ccddd"],"security":[],"path":"/v1/Accounts/{account_sid}/RecentCalls","baseUrlOptions":[""],"title":"Get RecentCalls","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"6cecbc60-3f35-492a-8479-6b4c91360f11":{"name":"page","in":"query","schema":{"type":"string","example":"1","uniqueKey":"","typeLabel":"string"}},"065a85d5-004e-472c-8b6d-09e7c994e167":{"name":"count","in":"query","schema":{"type":"string","example":"25","uniqueKey":"","typeLabel":"string"}},"486d1532-96c5-4872-8eb4-19278bce4542":{"name":"days","in":"query","schema":{"type":"string","example":"7","uniqueKey":"","typeLabel":"string"}},"b1db1417-1df7-429c-8909-6589d12d4ca1":{"name":"account_sid","in":"path","required":true,"schema":{"type":"string","example":"5f8e8f60-4771-44cb-92a6-94ea66df0450","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"17622e3a-45cc-46fd-8e36-4bb5098a7afd":{"description":"Get RecentCalls","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string","example":"*"}},"Connection":{"schema":{"type":"string","example":"keep-alive"}},"Content-Length":{"schema":{"type":"string","example":"3892"}},"Date":{"schema":{"type":"string","example":"Sun, 30 May 2021 03:34:28 GMT"}},"ETag":{"schema":{"type":"string","example":"W/\"f34-JFKUgcRfYH0s0DlQKTNWfkWVFak\""}},"Server":{"schema":{"type":"string","example":"nginx/1.14.2"}},"X-Powered-By":{"schema":{"type":"string","example":"Express"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"account_sid":{"type":"string","example":"5f8e8f60-4771-44cb-92a6-94ea66df0450","uniqueKey":"data.items.[INDEX].account_sid","typeLabel":"string"},"answered":{"type":"boolean","example":true,"uniqueKey":"data.items.[INDEX].answered","typeLabel":"boolean"},"answered_at":{"type":"string","example":"2021-05-25T03:10:21.103Z","uniqueKey":"data.items.[INDEX].answered_at","typeLabel":"string"},"attempted_at":{"type":"string","example":"2021-05-25T03:10:13.504Z","uniqueKey":"data.items.[INDEX].attempted_at","typeLabel":"string"},"call_sid":{"oneOf":[{"type":"string","example":"b5a66a30-6372-4b1e-a438-c43b069dfb47","uniqueKey":"data.items.[INDEX].call_sid.oneOf.0","typeLabel":"string"},{"type":"null","example":"b5a66a30-6372-4b1e-a438-c43b069dfb47","uniqueKey":"data.items.[INDEX].call_sid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].call_sid","typeLabel":"string | null"},"direction":{"type":"string","example":"outbound","uniqueKey":"data.items.[INDEX].direction","typeLabel":"string"},"duration":{"type":"number","example":12,"uniqueKey":"data.items.[INDEX].duration","typeLabel":"number"},"from":{"type":"string","example":"15083084809","uniqueKey":"data.items.[INDEX].from","typeLabel":"string"},"host":{"type":"string","example":"172.31.33.10","uniqueKey":"data.items.[INDEX].host","typeLabel":"string"},"remote_host":{"type":"string","example":"outbound.voxbone.com","uniqueKey":"data.items.[INDEX].remote_host","typeLabel":"string"},"sip_callid":{"type":"string","example":"903f4797-37a9-123a-84b3-0285123e80eb","uniqueKey":"data.items.[INDEX].sip_callid","typeLabel":"string"},"sip_status":{"type":"number","example":200,"uniqueKey":"data.items.[INDEX].sip_status","typeLabel":"number"},"terminated_at":{"type":"string","example":"2021-05-25T03:10:34.040Z","uniqueKey":"data.items.[INDEX].terminated_at","typeLabel":"string"},"termination_reason":{"type":"string","example":"caller hungup","uniqueKey":"data.items.[INDEX].termination_reason","typeLabel":"string"},"to":{"type":"string","example":"16137451576","uniqueKey":"data.items.[INDEX].to","typeLabel":"string"},"trunk":{"type":"string","example":"Voxbone","uniqueKey":"data.items.[INDEX].trunk","typeLabel":"string"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"example":[{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:10:21.103Z","attempted_at":"2021-05-25T03:10:13.504Z","call_sid":"b5a66a30-6372-4b1e-a438-c43b069dfb47","direction":"outbound","duration":12,"from":"15083084809","host":"172.31.33.10","remote_host":"outbound.voxbone.com","sip_callid":"903f4797-37a9-123a-84b3-0285123e80eb","sip_status":200,"terminated_at":"2021-05-25T03:10:34.040Z","termination_reason":"caller hungup","to":"16137451576","trunk":"Voxbone"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:10:04.557Z","attempted_at":"2021-05-25T03:10:04.355Z","call_sid":null,"direction":"inbound","duration":29,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"6348dda20d379b05de4d108b9ac0f3cb@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:10:34.031Z","termination_reason":"caller hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:09:51.008Z","attempted_at":"2021-05-25T03:09:44.256Z","call_sid":"8fc40cc5-f6ba-4752-8fc7-db2f770c441b","direction":"outbound","duration":10,"from":"15083084809","host":"172.31.33.10","remote_host":"outbound.voxbone.com","sip_callid":"7ec6343a-37a9-123a-84b3-0285123e80eb","sip_status":200,"terminated_at":"2021-05-25T03:10:01.737Z","termination_reason":"caller hungup","to":"16137451576","trunk":"Voxbone"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:09:35.218Z","attempted_at":"2021-05-25T03:09:35.065Z","call_sid":null,"direction":"inbound","duration":26,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"40ef23917e852aa170310b80f15766bc@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:10:01.714Z","termination_reason":"caller hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:06:49.230Z","attempted_at":"2021-05-25T03:06:49.062Z","call_sid":null,"direction":"inbound","duration":9,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"2c8991f358b424c11414baecbf51ea38@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:06:58.439Z","termination_reason":"called party hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:05:08.692Z","attempted_at":"2021-05-25T03:05:06.975Z","call_sid":null,"direction":"inbound","duration":14,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"6e16729eb64292f2e08ea67057f785cc@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:05:22.874Z","termination_reason":"called party hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:01:44.689Z","attempted_at":"2021-05-25T03:01:42.989Z","call_sid":null,"direction":"inbound","duration":14,"from":"15083084809","host":"172.31.32.10","remote_host":"81.201.82.45","sip_callid":"920PBU9DFL79L0U4RSMQNPSFPC@81.201.82.43","sip_status":200,"terminated_at":"2021-05-25T03:01:58.869Z","termination_reason":"called party hungup","to":"17162261128","trunk":"Voxbone"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:00:38.934Z","attempted_at":"2021-05-25T03:00:37.259Z","call_sid":null,"direction":"inbound","duration":14,"from":"15083084809","host":"172.31.32.10","remote_host":"81.201.82.45","sip_callid":"8DMMVB5EIT6S7BOC3009TL97SG@81.201.82.107","sip_status":200,"terminated_at":"2021-05-25T03:00:53.103Z","termination_reason":"called party hungup","to":"17162261128","trunk":"Voxbone"}],"uniqueKey":"data","typeLabel":"object[]"},"page":{"type":"string","example":"1","uniqueKey":"page","typeLabel":"string"},"page_size":{"type":"string","example":"25","uniqueKey":"page_size","typeLabel":"string"},"total":{"type":"number","example":8,"uniqueKey":"total","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Get RecentCalls":{"title":"Get RecentCalls","value":{"data":[{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:10:21.103Z","attempted_at":"2021-05-25T03:10:13.504Z","call_sid":"b5a66a30-6372-4b1e-a438-c43b069dfb47","direction":"outbound","duration":12,"from":"15083084809","host":"172.31.33.10","remote_host":"outbound.voxbone.com","sip_callid":"903f4797-37a9-123a-84b3-0285123e80eb","sip_status":200,"terminated_at":"2021-05-25T03:10:34.040Z","termination_reason":"caller hungup","to":"16137451576","trunk":"Voxbone"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:10:04.557Z","attempted_at":"2021-05-25T03:10:04.355Z","call_sid":null,"direction":"inbound","duration":29,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"6348dda20d379b05de4d108b9ac0f3cb@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:10:34.031Z","termination_reason":"caller hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:09:51.008Z","attempted_at":"2021-05-25T03:09:44.256Z","call_sid":"8fc40cc5-f6ba-4752-8fc7-db2f770c441b","direction":"outbound","duration":10,"from":"15083084809","host":"172.31.33.10","remote_host":"outbound.voxbone.com","sip_callid":"7ec6343a-37a9-123a-84b3-0285123e80eb","sip_status":200,"terminated_at":"2021-05-25T03:10:01.737Z","termination_reason":"caller hungup","to":"16137451576","trunk":"Voxbone"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:09:35.218Z","attempted_at":"2021-05-25T03:09:35.065Z","call_sid":null,"direction":"inbound","duration":26,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"40ef23917e852aa170310b80f15766bc@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:10:01.714Z","termination_reason":"caller hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:06:49.230Z","attempted_at":"2021-05-25T03:06:49.062Z","call_sid":null,"direction":"inbound","duration":9,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"2c8991f358b424c11414baecbf51ea38@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:06:58.439Z","termination_reason":"called party hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:05:08.692Z","attempted_at":"2021-05-25T03:05:06.975Z","call_sid":null,"direction":"inbound","duration":14,"from":"+15083084809","host":"172.31.33.10","remote_host":"54.172.60.3","sip_callid":"6e16729eb64292f2e08ea67057f785cc@0.0.0.0","sip_status":200,"terminated_at":"2021-05-25T03:05:22.874Z","termination_reason":"called party hungup","to":"+15083728299","trunk":"Twilio"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:01:44.689Z","attempted_at":"2021-05-25T03:01:42.989Z","call_sid":null,"direction":"inbound","duration":14,"from":"15083084809","host":"172.31.32.10","remote_host":"81.201.82.45","sip_callid":"920PBU9DFL79L0U4RSMQNPSFPC@81.201.82.43","sip_status":200,"terminated_at":"2021-05-25T03:01:58.869Z","termination_reason":"called party hungup","to":"17162261128","trunk":"Voxbone"},{"account_sid":"5f8e8f60-4771-44cb-92a6-94ea66df0450","answered":true,"answered_at":"2021-05-25T03:00:38.934Z","attempted_at":"2021-05-25T03:00:37.259Z","call_sid":null,"direction":"inbound","duration":14,"from":"15083084809","host":"172.31.32.10","remote_host":"81.201.82.45","sip_callid":"8DMMVB5EIT6S7BOC3009TL97SG@81.201.82.107","sip_status":200,"terminated_at":"2021-05-25T03:00:53.103Z","termination_reason":"called party hungup","to":"17162261128","trunk":"Voxbone"}],"page":"1","page_size":"25","total":8}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"3c45ac32-6c03-41ff-91cc-7bff985ccddd":{"url":""}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"voxemeai","siteName":"Voxeme AI - World's Leading WhatsApp Voice Solution","title":"Get RecentCalls - Voxeme AI - World's Leading WhatsApp Voice Solution","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-30T23:21:52.528Z","originalFileLocation":"api-reference/v1/get-recentcalls.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=\"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Voxeme AI - World\u0026#x27;s Leading WhatsApp Voice Solution\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/voxemeai/ZDwMBkAdLa5B7TQd/_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/voxemeai/ZDwMBkAdLa5B7TQd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/voxemeai/ZDwMBkAdLa5B7TQd/_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/voxemeai/ZDwMBkAdLa5B7TQd/_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/voxemeai/ZDwMBkAdLa5B7TQd/_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/voxemeai/ZDwMBkAdLa5B7TQd/_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/voxemeai/ZDwMBkAdLa5B7TQd/_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/voxemeai/ZDwMBkAdLa5B7TQd/_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/voxemeai/ZDwMBkAdLa5B7TQd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get RecentCalls - Voxeme AI - World\u0026#x27;s Leading WhatsApp Voice Solution\">\u003cmeta data-mint-head property=\"og:description\" content=\"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Voxeme AI - World\u0026#x27;s Leading WhatsApp Voice Solution\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.voxeme.com/api-reference/v1/get-recentcalls\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://voxemeai.mintlify.app/_mintlify/api/og/v2?division=v1\u0026amp;title=Get+RecentCalls\u0026amp;description=Call+detail+records+are+only+kept+in+the+system+for+30+days.++As+there+could+be+a+large+number+of+CDRs%2C+the+api+allows+you+to+query+pages+of+data+at+a+time.\u0026amp;theme=5f4d5cabcd9ac1da1de39748\u0026amp;signature=148d35b5db076380eb367ad69ac46b87e77d69660fe0b0c5b4a7698e26fcab5b\">\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=\"Get RecentCalls - Voxeme AI - World\u0026#x27;s Leading WhatsApp Voice Solution\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://voxemeai.mintlify.app/_mintlify/api/og/v2?division=v1\u0026amp;title=Get+RecentCalls\u0026amp;description=Call+detail+records+are+only+kept+in+the+system+for+30+days.++As+there+could+be+a+large+number+of+CDRs%2C+the+api+allows+you+to+query+pages+of+data+at+a+time.\u0026amp;theme=5f4d5cabcd9ac1da1de39748\u0026amp;signature=148d35b5db076380eb367ad69ac46b87e77d69660fe0b0c5b4a7698e26fcab5b\">\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/voxemeai/ZDwMBkAdLa5B7TQd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Voxeme AI - World\u0026#x27;s Leading WhatsApp Voice Solution\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#99d52a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.voxeme.com/api-reference/v1/get-recentcalls\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v1/get-recentcalls.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.voxeme.com/#organization\",\"name\":\"Voxeme AI - World's Leading WhatsApp Voice Solution\",\"url\":\"https://docs.voxeme.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/voxemeai/BSxtcj0QcJp7LYw7/logo/voxeme-light.png?fit=max\u0026auto=format\u0026n=BSxtcj0QcJp7LYw7\u0026q=85\u0026s=b4f16f13b073588bdf688a4d7f9cc359\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.voxeme.com#website\",\"name\":\"Voxeme AI - World's Leading WhatsApp Voice Solution\",\"url\":\"https://docs.voxeme.com\",\"publisher\":{\"@id\":\"https://docs.voxeme.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls#webpage\",\"url\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls\",\"name\":\"Get RecentCalls\",\"description\":\"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.\",\"dateModified\":\"2025-08-30T23:21:52.528Z\",\"isPartOf\":{\"@id\":\"https://docs.voxeme.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"v1\",\"item\":\"https://docs.voxeme.com/api-reference/v1/get-alerts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get RecentCalls\",\"item\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls#apireference\",\"headline\":\"Get RecentCalls\",\"name\":\"Get RecentCalls\",\"description\":\"Call detail records are only kept in the system for 30 days. As there could be a large number of CDRs, the api allows you to query pages of data at a time.\",\"url\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls\",\"mainEntityOfPage\":{\"@id\":\"https://docs.voxeme.com/api-reference/v1/get-recentcalls#webpage\"},\"dateModified\":\"2025-08-30T23:21:52.528Z\",\"publisher\":{\"@id\":\"https://docs.voxeme.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.voxeme.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Voxeme AI - World's Leading WhatsApp Voice Solution\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Voxeme AI - World's Leading WhatsApp Voice Solution","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"API Reference - Voxeme Voice Operating System","href":"/api-reference/introduction"}]},{"group":"v1","pages":[{"openapi":"get /v1/Accounts/{account_sid}/Alerts","title":"Get Alerts","href":"/api-reference/v1/get-alerts"},{"openapi":"get /v1/Applications","title":"Get Applications","href":"/api-reference/v1/get-applications"},{"openapi":"post /v1/Applications","title":"Create Application","href":"/api-reference/v1/create-application"},{"openapi":"get /v1/Applications/{application_sid}","title":"Get Application","href":"/api-reference/v1/get-application"},{"openapi":"put /v1/Applications/{application_sid}","title":"Update Application","href":"/api-reference/v1/update-application"},{"openapi":"delete /v1/Applications/{application_sid}","title":"Delete Application","href":"/api-reference/v1/delete-application"},{"openapi":"get /v1/Accounts/{account_sid}/Calls","title":"Get Calls","href":"/api-reference/v1/get-calls"},{"openapi":"post /v1/Accounts/{account_sid}/Calls","title":"Create call (version 3)","href":"/api-reference/v1/create-call-version-3"},{"openapi":"get /v1/Accounts/{account_sid}/Calls/{call_sid}","title":"Get Call","href":"/api-reference/v1/get-call"},{"openapi":"put /v1/Accounts/{account_sid}/Calls/{call_sid}","title":"Update Call - Live Call Control","href":"/api-reference/v1/update-call--live-call-control"},{"openapi":"delete /v1/Accounts/{account_sid}/Calls/{call_sid}","title":"Delete Call","description":"Deletes a call. After this action is done, any updates / Live Call Control operations will not be possible for this call. \n\nSuccess is indicated by a 204 response\n\n> Note that deleting a call does not hang up the call, nor does it delete the call detail record for the call. It merely removes it from the redis database","href":"/api-reference/v1/delete-call"},{"openapi":"get /v1/Accounts/{account_sid}/RecentCalls","title":"Get RecentCalls","href":"/api-reference/v1/get-recentcalls"},{"openapi":"get /v1/Accounts/{account_sid}/SpeechCredentials","title":"Get SpeechCredentials","description":"Retrieve all SpeechCredentials associated with your account","href":"/api-reference/v1/get-speechcredentials"},{"openapi":"post /v1/Accounts/{account_sid}/SpeechCredentials","title":"Create SpeechCredential","href":"/api-reference/v1/create-speechcredential"},{"openapi":"get /v1/Accounts/{account_sid}/SpeechCredentials/{speech_credential_sid}","title":"Get SpeechCredential","href":"/api-reference/v1/get-speechcredential"},{"openapi":"delete /v1/Accounts/{account_sid}/SpeechCredentials/{speech_credential_sid}","title":"Delete SpeechCredential","href":"/api-reference/v1/delete-speechcredential"},{"openapi":"get /v1/Accounts/{account_sid}/SpeechCredentials/{speech_credential_sid}/test","title":"Test SpeechCredential","href":"/api-reference/v1/test-speechcredential"},{"openapi":"get /v1/Accounts/{account_sid}/VoipCarriers","title":"Get VoipCarriers","href":"/api-reference/v1/get-voipcarriers"},{"openapi":"post /v1/Accounts/{account_sid}/VoipCarriers","title":"Create VoipCarrier","href":"/api-reference/v1/create-voipcarrier"},{"openapi":"get /v1/VoipCarriers/{voip_carrier_sid}","title":"Get VoipCarrier","href":"/api-reference/v1/get-voipcarrier"},{"openapi":"post /v1/SipGateways","title":"Create a SipGateway","href":"/api-reference/v1/create-a-sipgateway"},{"openapi":"delete /v1/SipGateways/{sip_gateway_sid}","title":"Delete a SipGateway","href":"/api-reference/v1/delete-a-sipgateway"}]}]}]},"basePath":"","title":"Get RecentCalls - Voxeme AI - World's Leading WhatsApp Voice Solution","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}