Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.
The SmartAlex REST API lets your own code read your workspace over HTTPS with an API key. It covers contacts, deals, calls, campaigns, agents, knowledge, phone numbers and more. Create a key in SmartAlex, send it as a bearer token, and every response comes back as JSON. The 95 endpoints in this reference are generated from the same contract the server checks, so they always match what the API accepts.
In SmartAlex: Settings → Webhooks & API, then Create key, Open or a key’s name in the API keys panel. That opens the Webhooks & API page (/developers) on its API keys tab. Workspace owners and admins create keys, and the page needs the Power Tools add-on.
How do I make my first request?
1
Create a key
Open Webhooks & API, choose API keys, then Create a read-only key (owners see Create a key). Give it a Name. Tick what it may use under What it can read (What it can do when the button says Create a key). Then pick when it Stops working: never, in 30 days, in 90 days or in a year. Press Create key.
Name the key, tick what it can read and pick an expiry
2
Copy the key
The key starts sa_live_ and is shown only once. Copy it into your password manager or your server’s secret store. If you close the panel first, create a new key.
3
Send a request
The panel shows a Try it request you can paste into a terminal. It reads your 10 newest contacts:
Every request goes through the same checks. This diagram shows them in order.If a check fails, the API answers with an error and changes nothing. Rate limits and errors lists each one.
{ "error": "What went wrong", "code": "SCOPE_REQUIRED" }, where code is there when the error has one
List endpoints take page (from 1) and per_page (25 by default, 100 at most). Any other query parameter is passed to the endpoint as a filter, such as updated_since on contacts.
What can the API do?
The reference groups the 95 endpoints by area.
Area
Endpoints
For example
Contacts
7
List, find by name or phone, add, import up to 1,000, change, delete
Deals
4
List, add, move a stage, delete
Calls
4
List, read a transcript and summary, totals for a period, export with charges
Yes, two. The REST API takes an API key and suits your own code, such as a CRM sync. The MCP server lets AI apps such as Claude and ChatGPT work in SmartAlex as a signed-in person.
Can I export my data with the API?
Yes. A key you create yourself can read contacts, deals, campaigns, knowledge and more, and can export calls with their charges. Page through lists 100 at a time.
Can my API key add or change data?
Keys you create yourself read data. Our support team can give a key write scopes, such as adding contacts or starting campaigns, on request. Keys and scopes lists them.
Should I use the REST API or the MCP server?
Use the REST API for code that runs on its own, such as a nightly sync. Use the MCP server when a person works through an AI app, which signs in as them and asks before risky actions.
Related
Keys and scopes
Who creates keys, and what each scope allows.
Rate limits and errors
Paging, limits and every error.
Webhooks
Hear about new contacts, finished calls and deal moves.
MCP server
Let an AI app run SmartAlex for you.
Last modified on November 29, 2026
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"SmartAlex Documentation","description":"Documentation for SmartAlex, the AI voice assistant platform for businesses. Build voice agents, run outbound campaigns, manage contacts and call analytics, and connect your own systems through the MCP server.","colors":{"primary":"#010033","light":"#8B93E6","dark":"#5E6AD2"},"logo":{"light":"https://mintcdn.com/smartalex/qlHSvs0nyK6c2s5R/logo/light.png?fit=max\u0026auto=format\u0026n=qlHSvs0nyK6c2s5R\u0026q=85\u0026s=f2b8d4b820c7af262103f73350d3cc4e","dark":"https://mintcdn.com/smartalex/qlHSvs0nyK6c2s5R/logo/dark.png?fit=max\u0026auto=format\u0026n=qlHSvs0nyK6c2s5R\u0026q=85\u0026s=a98ea864686586154e8b6398c073d378"},"favicon":"https://mintcdn.com/smartalex/aHrSp8SKq40Ip2qH/favicon.png?fit=max\u0026auto=format\u0026n=aHrSp8SKq40Ip2qH\u0026q=85\u0026s=00fe0a5429a5be6c7a7d76dfef957afa","background":{"color":{"light":"#FFFFFF","dark":"#08090A"}},"navbar":{"links":[{"href":"/pricing","label":"Pricing"},{"href":"/faq","label":"Help"},{"href":"https://getsmartalex.com","label":"Website"},{"href":"https://getsmartalex.com/login","label":"Sign in"}],"primary":{"type":"button","label":"Start free","href":"https://getsmartalex.com/instant"}},"footer":{"socials":{"x":"https://x.com/smartalexhq","linkedin":"https://www.linkedin.com/company/smartalexhq","instagram":"https://www.instagram.com/smartalexhq","youtube":"https://www.youtube.com/@smartalexhq"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"/pricing"},{"label":"Price list","href":"https://getsmartalex.com/legal/smartalex-usage-pricing-schedule"},{"label":"Integrations","href":"/integrations"},{"label":"Telephony","href":"/telephony/overview"},{"label":"MCP server","href":"/mcp/overview"}]},{"header":"Help","items":[{"label":"Quickstart","href":"/quickstart"},{"label":"FAQ","href":"/faq"},{"label":"Help centre","href":"https://getsmartalex.com/help"},{"label":"Email support","href":"mailto:support@getsmartalex.com"},{"label":"System status","href":"https://status.getsmartalex.com"}]},{"header":"Legal","items":[{"label":"Security","href":"/security"},{"label":"Trust and compliance","href":"/trust/compliance"},{"label":"Terms of Service","href":"https://getsmartalex.com/legal/smartalex-terms-of-services"},{"label":"Privacy Policy","href":"https://getsmartalex.com/legal/smartalex-privacy-policy"},{"label":"All legal documents","href":"https://getsmartalex.com/legal"}]},{"header":"Company","items":[{"label":"Website","href":"https://getsmartalex.com"},{"label":"Start free","href":"https://getsmartalex.com/instant"},{"label":"Sign in","href":"https://getsmartalex.com/login"},{"label":"Compare","href":"/comparisons/overview"}]}]},"seo":{"organization":{"id":"https://getsmartalex.com/#organization","name":"SmartAlex","url":"https://getsmartalex.com"},"indexing":"all"},"fonts":{"family":"Geist"},"errors":{"404":{"redirect":false,"title":"We could not find that page","description":"The link may be old, or the page has moved. Search with the bar at the top, or start from [Home](/), the [Quickstart](/quickstart) or [Help](/faq). Still stuck? Email [support@getsmartalex.com](mailto:support@getsmartalex.com)."}},"contextual":{"options":["assistant","copy","view","chatgpt","claude","perplexity","aistudio","mcp","add-mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"markdown":{"instructions":["For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.","For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.","Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.","Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.","If a feature or screen is not described in these docs, say that you could not find it rather than guessing.","Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.","The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview."]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.getsmartalex.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"smartalex","hasAudioNarration":false,"actualSubdomain":"smartalex","customDomains":["docs.getsmartalex.com"],"gitSource":{"type":"github","owner":"the-rcs-group","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{},"buildId":"6b0beea7d4f92785796ee5a7","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Product","count":204},{"language":"default","tag":"Developers","count":128},{"language":"default","tag":"REST API","count":99},{"language":"default","tag":"Endpoints","count":95},{"language":"default","tag":"Start here","count":81},{"language":"default","tag":"Trust","count":63},{"language":"default","tag":"Agents","count":51},{"language":"default","tag":"Legal","count":49},{"language":"default","tag":"Learn","count":46},{"language":"default","tag":"Telephony","count":42}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--sa-radius: 12px;--sa-radius-sm: 10px;--sa-ease: cubic-bezier(0.2, 0, 0, 1);--sa-fast: 150ms;--sa-hairline: rgb(var(--gray-950) / 0.08);--sa-hairline-strong: rgb(var(--gray-950) / 0.14);--sa-well: rgb(var(--gray-50))}html.dark{--sa-hairline: rgb(255 255 255 / 0.08);--sa-hairline-strong: rgb(255 255 255 / 0.16);--sa-well: rgb(255 255 255 / 0.03)}h1{font-weight:400!important;letter-spacing:-0.025em!important;line-height:1.15!important}h2{font-weight:500!important;letter-spacing:-0.02em!important;line-height:1.25!important;margin-top:2.75rem!important}h3{font-weight:500!important;letter-spacing:-0.015em!important}.mdx-content p,.mdx-content li{line-height:1.7}button[class*=\"Button\"],button[class*=\"button\"],a[role=\"button\"],a[class*=\"Button\"],a[class*=\"button\"],[class*=\"btn\"],#navbar a[class*=\"bg-primary\"]{border-radius:9999px!important}#navbar a[class*=\"bg-primary\"]{padding-left:1rem!important;padding-right:1rem!important;box-shadow:none!important}input[type=\"search\"]{border-radius:9999px!important}#navbar img.nav-logo{height:40px!important}@media (max-width: 1023px){#navbar img.nav-logo,#mobile-nav img.nav-logo{height:34px!important;max-width:none!important}}#navbar:has(a[href*=\"getsmartalex\"]) img.nav-logo[class*=\"dark:hidden\"]{display:none!important}#navbar:has(a[href*=\"getsmartalex\"]) img.nav-logo[class*=\"dark:block\"]{display:block!important}#navbar:has(a[href*=\"getsmartalex\"]) img.nav-logo{aspect-ratio:2520 / 624}#navbar:has(a[href*=\"getsmartalex\"]){--sa-bar-fg: rgb(255 255 255 / 0.72);--sa-bar-dim: rgb(255 255 255 / 0.5);--sa-bar-line: rgb(255 255 255 / 0.12);--sa-bar-field: rgb(255 255 255 / 0.07);color-scheme:dark}#navbar:has(a[href*=\"getsmartalex\"])>div.absolute.inset-0,#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"]{background:#000!important}#navbar:has(a[href*=\"getsmartalex\"])>div.absolute[class*=\"border-b\"]{border-color:var(--sa-bar-line)!important}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"]{border-top:1px solid var(--sa-bar-line)}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] span,#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] button{color:var(--sa-bar-fg)!important}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] [class*=\"text-gray-900\"]{color:#fff!important}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] svg[class*=\"fill-gray\"]{fill:var(--sa-bar-dim)!important}#navbar:has(a[href*=\"getsmartalex\"]) a.font-medium:not([class*=\"bg-primary\"]),#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item{color:var(--sa-bar-fg)!important;transition:color var(--sa-fast) var(--sa-ease)}#navbar:has(a[href*=\"getsmartalex\"]) a.font-medium:not([class*=\"bg-primary\"]):hover,#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item:hover,#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item[class*=\"text-shadow\"]{color:#fff!important}#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item>div[class*=\"bg-primary\"]{background:#fff!important}#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item:hover>div:not([class*=\"bg-primary\"]){background:rgb(255 255 255 / 0.3)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry{background:var(--sa-bar-field)!important;border-color:var(--sa-bar-line)!important;color:var(--sa-bar-dim)!important;border-radius:9999px!important;padding-left:0.75rem!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry:hover{background:rgb(255 255 255 / 0.11)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry *{color:var(--sa-bar-dim)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry svg[class*=\"bg-gray\"]{background-color:var(--sa-bar-dim)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry span[class*=\"bg-white\"]{background:rgb(255 255 255 / 0.1)!important;border-radius:9999px!important}#navbar:has(a[href*=\"getsmartalex\"]) button svg{color:var(--sa-bar-fg)!important}#navbar:has(a[href*=\"getsmartalex\"]) a[class*=\"bg-primary\"]{background:#fff!important;color:#000!important}#navbar:has(a[href*=\"getsmartalex\"]) a[class*=\"bg-primary\"]:hover{opacity:0.88!important}#navbar:has(a[href*=\"getsmartalex\"]) a:focus-visible,#navbar:has(a[href*=\"getsmartalex\"]) button:focus-visible{outline:2px solid #fff!important;outline-offset:2px}.card{border-radius:var(--sa-radius)!important;border:1px solid var(--sa-hairline-strong)!important;box-shadow:none!important;transition:border-color var(--sa-fast) var(--sa-ease),\n background-color var(--sa-fast) var(--sa-ease)!important}.card:hover{transform:none!important;box-shadow:none!important}a.card:hover,.card[href]:hover,.card:has(>a):hover,.card.cursor-pointer:hover{border-color:rgb(var(--primary) / 0.45)!important;background-color:var(--sa-well)!important}html.dark a.card:hover,html.dark .card[href]:hover,html.dark .card:has(>a):hover,html.dark .card.cursor-pointer:hover{border-color:rgb(var(--primary-light) / 0.5)!important}.card [data-component-part=\"card-icon\"]{color:rgb(var(--primary))!important;fill:rgb(var(--primary))!important}html.dark .card [data-component-part=\"card-icon\"]{color:rgb(var(--primary-light))!important;fill:rgb(var(--primary-light))!important}.card [data-component-part=\"card-title\"]{font-weight:500!important;letter-spacing:-0.01em}.card ul{margin-top:0.5rem;margin-bottom:0;padding-left:1.1rem}.card li{margin:0.2rem 0}.callout{border-radius:var(--sa-radius)!important}.accordion-group{border-radius:var(--sa-radius)!important;border-color:var(--sa-hairline-strong)!important}.accordion-group summary{transition:background-color var(--sa-fast) var(--sa-ease)}.accordion-group summary:hover{background-color:var(--sa-well)}.mdx-content table{font-size:0.925rem;border-collapse:separate;border-spacing:0;width:100%}.mdx-content thead th{font-size:0.75rem;font-weight:500;letter-spacing:0.02em;color:rgb(var(--gray-500));border-bottom:1px solid var(--sa-hairline-strong)!important;background:transparent;white-space:nowrap}html.dark .mdx-content thead th{color:rgb(var(--gray-400))}.mdx-content tbody td{border-bottom:1px solid var(--sa-hairline)!important;vertical-align:top}.mdx-content tbody tr:last-child td{border-bottom:0!important}.mdx-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}@media (min-width: 768px){.mdx-content table{display:table;overflow-x:visible}}code,pre,kbd{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, monospace;font-feature-settings:\"liga\" 0}pre,.code-block,div[class*=\"codeblock\"],div[class*=\"code-block\"]{border-radius:var(--sa-radius-sm)!important}.code-block,div[class*=\"code-block\"]{border:1px solid var(--sa-hairline-strong)!important;box-shadow:none!important}.mdx-content :not(pre)>code{padding:0.12em 0.4em;border-radius:6px;background:var(--sa-well);font-size:0.875em}.mermaid{display:flex;justify-content:center;margin:1.5rem 0;padding:1rem;border:1px solid var(--sa-hairline);border-radius:var(--sa-radius);overflow-x:auto;-webkit-overflow-scrolling:touch}.mermaid svg{height:auto;font-family:inherit!important}@media (max-width: 767px){.mermaid{justify-content:flex-start}.mermaid svg{min-width:560px}}.mermaid .node rect,.mermaid .node polygon,.mermaid .node circle,.mermaid .node path.basic,.mermaid .node .label-container>path{fill:rgb(var(--background-light))!important;stroke:rgb(var(--primary) / 0.35)!important;stroke-width:1px!important}.mermaid .node rect{rx:8px;ry:8px}.mermaid .node.core rect,.mermaid .node.core polygon,.mermaid .node.core .label-container>path{fill:rgb(var(--primary) / 0.06)!important;stroke:rgb(var(--primary))!important;stroke-width:1.5px!important}html.dark .mermaid .node.core rect,html.dark .mermaid .node.core polygon,html.dark .mermaid .node.core .label-container>path{fill:rgb(var(--primary-light) / 0.12)!important;stroke:rgb(var(--primary-light))!important}.mermaid .cluster rect{fill:rgb(var(--gray-50))!important;stroke:rgb(var(--gray-200))!important;stroke-width:1px!important;rx:12px;ry:12px}.mermaid .nodeLabel,.mermaid .cluster-label,.mermaid .cluster-label span,.mermaid .label,.mermaid text{color:rgb(var(--gray-900))!important;fill:rgb(var(--gray-900))!important}.mermaid .cluster-label .nodeLabel,.mermaid .cluster-label span{color:rgb(var(--gray-500))!important;font-weight:500;font-size:0.85em}.mermaid .flowchart-link,.mermaid .edgePath path,.mermaid .messageLine0,.mermaid .messageLine1,.mermaid .actor-line,.mermaid .loopLine{stroke:rgb(var(--gray-400))!important}.mermaid .arrowMarkerPath,.mermaid marker path,.mermaid #arrowhead path,.mermaid .arrowheadPath{fill:rgb(var(--gray-400))!important;stroke:rgb(var(--gray-400))!important}.mermaid .edgeLabel,.mermaid .edgeLabel rect,.mermaid .labelBkg{background-color:rgb(var(--background-light))!important;fill:rgb(var(--background-light))!important}.mermaid rect.actor,.mermaid .actor-box{fill:rgb(var(--background-light))!important;stroke:rgb(var(--primary) / 0.35)!important}.mermaid .actor-man circle,.mermaid .actor-man line{fill:rgb(var(--background-light))!important;stroke:rgb(var(--primary) / 0.6)!important}.mermaid .messageText,.mermaid text.actor,.mermaid text.actor>tspan{fill:rgb(var(--gray-900))!important}.mermaid .note{fill:rgb(var(--gray-50))!important;stroke:rgb(var(--gray-200))!important}html.dark .mermaid .node rect,html.dark .mermaid .node polygon,html.dark .mermaid .node circle,html.dark .mermaid .node path.basic,html.dark .mermaid .node .label-container>path,html.dark .mermaid rect.actor,html.dark .mermaid .actor-box,html.dark .mermaid .actor-man circle{fill:rgb(var(--background-dark))!important;stroke:rgb(var(--primary-light) / 0.45)!important}html.dark .mermaid .cluster rect,html.dark .mermaid .note{fill:rgb(255 255 255 / 0.03)!important;stroke:rgb(255 255 255 / 0.1)!important}html.dark .mermaid .nodeLabel,html.dark .mermaid .label,html.dark .mermaid text,html.dark .mermaid .messageText,html.dark .mermaid text.actor,html.dark .mermaid text.actor>tspan{color:rgb(var(--gray-100))!important;fill:rgb(var(--gray-100))!important}html.dark .mermaid .cluster-label .nodeLabel,html.dark .mermaid .cluster-label span{color:rgb(var(--gray-400))!important}html.dark .mermaid .flowchart-link,html.dark .mermaid .edgePath path,html.dark .mermaid .messageLine0,html.dark .mermaid .messageLine1,html.dark .mermaid .actor-line,html.dark .mermaid .loopLine{stroke:rgb(var(--gray-500))!important}html.dark .mermaid .arrowMarkerPath,html.dark .mermaid marker path,html.dark .mermaid #arrowhead path,html.dark .mermaid .arrowheadPath{fill:rgb(var(--gray-500))!important;stroke:rgb(var(--gray-500))!important}html.dark .mermaid .edgeLabel,html.dark .mermaid .edgeLabel rect,html.dark .mermaid .labelBkg{background-color:rgb(var(--background-dark))!important;fill:rgb(var(--background-dark))!important}html.dark .mermaid .actor-man line{stroke:rgb(var(--primary-light) / 0.6)!important}@media (min-width: 1024px){html[data-page-mode=\"wide\"] #content-area{max-width:1040px!important}}a:focus-visible,button:focus-visible,summary:focus-visible,.card:focus-visible{outline:2px solid rgb(var(--primary))!important;outline-offset:2px}html.dark a:focus-visible,html.dark button:focus-visible,html.dark summary:focus-visible,html.dark .card:focus-visible{outline-color:rgb(var(--primary-light))!important}@media (prefers-reduced-motion: reduce){*,*::before,*::after{transition-duration:0ms!important;animation-duration:0ms!important}}.mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:fit-content;min-width:48px;height:48px;padding:8px;background:#fff;border:1px solid rgb(var(--gray-950) / 0.1);border-radius:12px;color:rgb(var(--gray-800))!important;fill:rgb(var(--gray-800))!important}html.dark .mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]{border-color:rgb(255 255 255 / 0.14)}.mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]>img{width:auto;height:32px;max-width:96px;object-fit:contain}.mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]>svg{width:22px;height:22px;opacity:1}@media (min-width: 768px){#footer div[class*=\"sm:grid\"]{grid-template-columns:repeat(2, max-content)!important;column-gap:3rem!important;justify-content:end}#footer div[class*=\"sm:grid\"]>div{align-items:flex-start!important}}@media (min-width: 1280px){#footer div[class*=\"sm:grid\"]{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:max-content;column-gap:2.5rem!important}}"}]}
{"page":{"pagePath":"api-reference/introduction","slug":"/api-reference/introduction","pageMetadata":{"title":"SmartAlex REST API: getting started","sidebarTitle":"Getting started","description":"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.","keywords":["smartalex api","smartalex rest api","voice ai rest api","api key sa_live","smartalex openapi","crm sync api","export calls api","smartalex developer"],"icon":"code","structuredData":{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Does SmartAlex have an API?","acceptedAnswer":{"@type":"Answer","text":"Yes, two. The REST API takes an API key and suits your own code, such as a CRM sync. The MCP server lets AI apps such as Claude and ChatGPT work in SmartAlex as a signed-in person."}},{"@type":"Question","name":"Can I export my data with the API?","acceptedAnswer":{"@type":"Answer","text":"Yes. A key you create yourself can read contacts, deals, campaigns, knowledge and more, and can export calls with their charges. Page through lists 100 at a time."}},{"@type":"Question","name":"Can my API key add or change data?","acceptedAnswer":{"@type":"Answer","text":"Keys you create yourself read data. Our support team can give a key write scopes, such as adding contacts or starting campaigns, on request."}},{"@type":"Question","name":"Should I use the REST API or the MCP server?","acceptedAnswer":{"@type":"Answer","text":"Use the REST API for code that runs on its own, such as a nightly sync. Use the MCP server when a person works through an AI app, which signs in as them and asks before risky actions."}}]},"href":"/api-reference/introduction"},"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: \"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Frame,Heading,Info,Mermaid,OptimizedImage,Step,Steps,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The SmartAlex REST API lets your own code read your workspace over HTTPS with an API key. It covers contacts, deals, calls, campaigns, agents, knowledge, phone numbers and more. Create a key in SmartAlex, send it as a bearer token, and every response comes back as JSON. The 95 endpoints in this reference are generated from the same contract the server checks, so they always match what the API accepts.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`In SmartAlex: `,_jsx(_components.strong,{children:`Settings → Webhooks \u0026 API`}),`, then `,_jsx(_components.strong,{children:`Create key`}),`, `,_jsx(_components.strong,{children:`Open`}),` or a key’s name in the `,_jsx(_components.strong,{children:`API keys`}),` panel. That opens the `,_jsx(_components.strong,{children:`Webhooks \u0026 API`}),` page (/developers) on its `,_jsx(_components.strong,{children:`API keys`}),` tab. Workspace owners and admins create keys, and the page needs the `,_jsx(_components.a,{href:`/pricing#add-ons`,children:`Power Tools add-on`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-do-i-make-my-first-request`,children:`How do I make my first request?`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create a key`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Webhooks \u0026 API`}),`, choose `,_jsx(_components.strong,{children:`API keys`}),`, then `,_jsx(_components.strong,{children:`Create a read-only key`}),` (owners see `,_jsx(_components.strong,{children:`Create a key`}),`). Give it a `,_jsx(_components.strong,{children:`Name`}),`. Tick what it may use under `,_jsx(_components.strong,{children:`What it can read`}),` (`,_jsx(_components.strong,{children:`What it can do`}),` when the button says `,_jsx(_components.strong,{children:`Create a key`}),`). Then pick when it `,_jsx(_components.strong,{children:`Stops working`}),`: never, in 30 days, in 90 days or in a year. Press `,_jsx(_components.strong,{children:`Create key`}),`.`]}),_jsxs(Frame,{caption:`Name the key, tick what it can read and pick an expiry`,children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.webp?fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=6bb472a4b4e5f605f05892b825f990d8`,alt:`Create a read-only key drawer with Name, scopes and expiry`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/developer-hub/api-key-create.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.webp?w=280\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=74164a797b015a6171bf979be1584d33 280w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.webp?w=560\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=c7d040e08159175d86cbe412178ccc8e 560w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.webp?w=840\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=3fa8d4e36b79672d790f33a6f82f165c 840w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=f03447c7b97337e37d78de51ad93cc14 1100w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=dda4de4f4103d0f9c59a2cd9e971bbf5 1650w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=9afbc0ef08ef5573472c39c83bc4b09b 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.dark.webp?fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=2d40aeccbacae4a3000312724ca29cbd`,alt:`Create a read-only key drawer with Name, scopes and expiry`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/developer-hub/api-key-create.dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=3d464056df3083f501e2c61f4a3f3400 280w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=50016a962ecfef03452f545376916c2d 560w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=c86225648181bf7fde5bc7a64602e51d 840w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=b06dbad22646fec659407387dc49d032 1100w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=714cbff64aac2a2ace4efb26fd18da9d 1650w, https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/developer-hub/api-key-create.dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=1aJfW-RE1YMT8lGO\u0026q=85\u0026s=f19dcb376e8a0a272361b4aa047331c6 2500w`})]})]}),_jsx(Step,{title:`Copy the key`,children:_jsxs(_components.p,{children:[`The key starts `,_jsx(_components.code,{children:`sa_live_`}),` and is shown only once. Copy it into your password manager or your server’s secret store. If you close the panel first, create a new key.`]})}),_jsxs(Step,{title:`Send a request`,children:[_jsxs(_components.p,{children:[`The panel shows a `,_jsx(_components.strong,{children:`Try it`}),` request you can paste into a terminal. It reads your 10 newest contacts:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.getsmartalex.com/functions/v1/rest-api/contacts?view=crm\u0026per_page=10\"`}),_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 sa_live_your_key\"`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Read the response`,children:[_jsxs(_components.p,{children:[`Lists come back as `,_jsx(_components.code,{children:`data`}),` with a `,_jsx(_components.code,{children:`meta`}),` block for paging:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sarah\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Chen\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+14155550123\"`}),_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:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`247`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"per_page\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-happens-to-a-request`,children:`What happens to a request?`}),`\n`,_jsx(_components.p,{children:`Every request goes through the same checks. This diagram shows them in order.`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant Code as Your code\n participant API as SmartAlex REST API\n participant WS as Your workspace\n Code->>API: GET /contacts with the API key\n API->>API: Key is real, active and not expired\n API->>API: Under 60 requests this minute\n API->>API: Key holds the contacts:read scope\n API->>API: Workspace has Power Tools\n API->>WS: Read contacts in this workspace only\n WS-->>API: Contacts\n API-->>Code: 200 with data and meta`}),`\n`,_jsxs(_components.p,{children:[`If a check fails, the API answers with an error and changes nothing. `,_jsx(_components.a,{href:`/api-reference/rate-limits-and-errors`,children:`Rate limits and errors`}),` lists each one.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-the-base-url`,children:`What is the base URL?`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.getsmartalex.com/functions/v1/rest-api`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Add the path from the reference, such as `,_jsx(_components.code,{children:`/contacts`}),` or `,_jsx(_components.code,{children:`/calls/{id}`}),`. Send JSON bodies with `,_jsx(_components.code,{children:`Content-Type: application/json`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-does-each-response-look-like`,children:`What does each response look like?`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Response`}),_jsx(_components.th,{children:`Shape`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A list`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"data\": [ ... ], \"meta\": { \"total\", \"page\", \"per_page\" } }`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One item`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"data\": { ... } }`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`An error`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{ \"error\": \"What went wrong\", \"code\": \"SCOPE_REQUIRED\" }`}),`, where `,_jsx(_components.code,{children:`code`}),` is there when the error has one`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`List endpoints take `,_jsx(_components.code,{children:`page`}),` (from 1) and `,_jsx(_components.code,{children:`per_page`}),` (25 by default, 100 at most). Any other query parameter is passed to the endpoint as a filter, such as `,_jsx(_components.code,{children:`updated_since`}),` on contacts.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-can-the-api-do`,children:`What can the API do?`}),`\n`,_jsx(_components.p,{children:`The reference groups the 95 endpoints by area.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Area`}),_jsx(_components.th,{children:`Endpoints`}),_jsx(_components.th,{children:`For example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Contacts`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`7`}),_jsx(_components.td,{children:`List, find by name or phone, add, import up to 1,000, change, delete`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Deals`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`4`}),_jsx(_components.td,{children:`List, add, move a stage, delete`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Calls`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`4`}),_jsx(_components.td,{children:`List, read a transcript and summary, totals for a period, export with charges`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Campaigns`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`11`}),_jsx(_components.td,{children:`Create, add people, start, pause, resume, schedule, stop`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Callbacks`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`8`}),_jsx(_components.td,{children:`List, reschedule, cancel, call back now, block a caller`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Agents`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`13`}),_jsx(_components.td,{children:`Create, change, read and edit prompt sections, place a test call`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Knowledge`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`9`}),_jsx(_components.td,{children:`Add text, import a website, give an agent knowledge`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Custom API tools`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`8`}),_jsx(_components.td,{children:`Create a tool your agent calls during a call, attach it to an agent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Phone numbers`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`8`}),_jsx(_components.td,{children:`List, search, buy, choose which agent answers, release`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Analytics`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1`}),_jsx(_components.td,{children:`Call and campaign analytics`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Account`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`6`}),_jsx(_components.td,{children:`Plan and usage, service status, widget install code, what this key can do`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Webhooks`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3`}),_jsx(_components.td,{children:`List, add, delete`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gates`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3`}),_jsx(_components.td,{children:`List gates, read the gate log, open a gate`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Team`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`5`}),_jsx(_components.td,{children:`List members, invite, change a role, remove`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Settings`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`5`}),_jsx(_components.td,{children:`Business hours and notification settings`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Each endpoint page names the scope it needs. `,_jsx(_components.code,{children:`GET /me/tools`}),` returns what your key can do right now.`]}),`\n`,_jsx(Heading,{level:`2`,id:`should-i-use-the-rest-api-or-the-mcp-server`,children:`Should I use the REST API or the MCP server?`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`REST API`}),_jsx(_components.th,{children:`MCP server`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Who uses it`}),_jsx(_components.td,{children:`Your own code`}),_jsx(_components.td,{children:`AI apps such as Claude, ChatGPT and Cursor`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`How it signs in`}),_jsx(_components.td,{children:`An API key`}),_jsxs(_components.td,{children:[`The person signs in and presses `,_jsx(_components.strong,{children:`Approve`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`What it can do`}),_jsx(_components.td,{children:`The scopes on the key`}),_jsx(_components.td,{children:`That person’s role`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Risky actions`}),_jsx(_components.td,{children:`Run when called`}),_jsx(_components.td,{children:`Show a preview and wait for a yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rate limit`}),_jsx(_components.td,{children:`60 requests a minute per key`}),_jsx(_components.td,{children:`100 requests a minute per workspace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Start here`}),_jsx(_components.td,{children:`This page`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/mcp/getting-started`,children:`Connect an AI app`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`questions-people-ask`,children:`Questions people ask`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Does SmartAlex have an API?`,id:`does-smartalex-have-an-api`,children:_jsxs(_components.p,{children:[`Yes, two. The REST API takes an API key and suits your own code, such as a CRM sync. The `,_jsx(_components.a,{href:`/mcp/overview`,children:`MCP server`}),` lets AI apps such as Claude and ChatGPT work in SmartAlex as a signed-in person.`]})}),_jsx(Accordion,{title:`Can I export my data with the API?`,id:`can-i-export-my-data-with-the-api`,children:_jsx(_components.p,{children:`Yes. A key you create yourself can read contacts, deals, campaigns, knowledge and more, and can export calls with their charges. Page through lists 100 at a time.`})}),_jsx(Accordion,{title:`Can my API key add or change data?`,id:`can-my-api-key-add-or-change-data`,children:_jsxs(_components.p,{children:[`Keys you create yourself read data. Our support team can give a key write scopes, such as adding contacts or starting campaigns, on request. `,_jsx(_components.a,{href:`/api-reference/authentication`,children:`Keys and scopes`}),` lists them.`]})}),_jsx(Accordion,{title:`Should I use the REST API or the MCP server?`,id:`should-i-use-the-rest-api-or-the-mcp-server`,children:_jsx(_components.p,{children:`Use the REST API for code that runs on its own, such as a nightly sync. Use the MCP server when a person works through an AI app, which signs in as them and asks before risky actions.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Keys and scopes`,icon:`key`,href:`/api-reference/authentication`,children:_jsx(_components.p,{children:`Who creates keys, and what each scope allows.`})}),_jsx(Card,{title:`Rate limits and errors`,icon:`gauge`,href:`/api-reference/rate-limits-and-errors`,children:_jsx(_components.p,{children:`Paging, limits and every error.`})}),_jsx(Card,{title:`Webhooks`,icon:`bolt`,href:`/api-reference/webhooks`,children:_jsx(_components.p,{children:`Hear about new contacts, finished calls and deal moves.`})}),_jsx(Card,{title:`MCP server`,icon:`server`,href:`/mcp/overview`,children:_jsx(_components.p,{children:`Let an AI app run SmartAlex for you.`})})]})]})}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":"SmartAlex REST API: getting started","sidebarTitle":"Getting started","description":"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.","keywords":["smartalex api","smartalex rest api","voice ai rest api","api key sa_live","smartalex openapi","crm sync api","export calls api","smartalex developer"],"icon":"code","structuredData":{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Does SmartAlex have an API?","acceptedAnswer":{"@type":"Answer","text":"Yes, two. The REST API takes an API key and suits your own code, such as a CRM sync. The MCP server lets AI apps such as Claude and ChatGPT work in SmartAlex as a signed-in person."}},{"@type":"Question","name":"Can I export my data with the API?","acceptedAnswer":{"@type":"Answer","text":"Yes. A key you create yourself can read contacts, deals, campaigns, knowledge and more, and can export calls with their charges. Page through lists 100 at a time."}},{"@type":"Question","name":"Can my API key add or change data?","acceptedAnswer":{"@type":"Answer","text":"Keys you create yourself read data. Our support team can give a key write scopes, such as adding contacts or starting campaigns, on request."}},{"@type":"Question","name":"Should I use the REST API or the MCP server?","acceptedAnswer":{"@type":"Answer","text":"Use the REST API for code that runs on its own, such as a nightly sync. Use the MCP server when a person works through an AI app, which signs in as them and asks before risky actions."}}]},"href":"/api-reference/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How do I make my first request?","slug":"how-do-i-make-my-first-request","depth":2,"children":[]},{"title":"What happens to a request?","slug":"what-happens-to-a-request","depth":2,"children":[]},{"title":"What is the base URL?","slug":"what-is-the-base-url","depth":2,"children":[]},{"title":"What does each response look like?","slug":"what-does-each-response-look-like","depth":2,"children":[]},{"title":"What can the API do?","slug":"what-can-the-api-do","depth":2,"children":[]},{"title":"Should I use the REST API or the MCP server?","slug":"should-i-use-the-rest-api-or-the-mcp-server","depth":2,"children":[]},{"title":"Questions people ask","slug":"questions-people-ask","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"smartalex","siteName":"SmartAlex Documentation","title":"SmartAlex REST API: getting started - SmartAlex Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-29T09:21:51.684Z","gitLastModified":"2026-11-29T09:21:39.000Z","originalFileLocation":"api-reference/introduction.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=\"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SmartAlex 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/smartalex/NBkkhKCoVcXXvqQT/_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/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_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/smartalex/NBkkhKCoVcXXvqQT/_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/smartalex/NBkkhKCoVcXXvqQT/_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/smartalex/NBkkhKCoVcXXvqQT/_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/smartalex/NBkkhKCoVcXXvqQT/_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/smartalex/NBkkhKCoVcXXvqQT/_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/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"SmartAlex REST API: getting started - SmartAlex Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SmartAlex Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getsmartalex.com/api-reference/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://smartalex.mintlify.site/_mintlify/api/og/v2?division=Start+here\u0026amp;title=SmartAlex+REST+API%3A+getting+started\u0026amp;description=Create+an+API+key%2C+make+your+first+request+and+read+the+response.+The+SmartAlex+REST+API+covers+contacts%2C+deals%2C+calls%2C+campaigns%2C+agents+and+more.\u0026amp;theme=179d14681dde27b354098b2e\u0026amp;signature=6b7810edaf4c0e2e20e018b255495dfa9e84bab654f50c42295166185bef09fc\">\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=\"SmartAlex REST API: getting started - SmartAlex Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://smartalex.mintlify.site/_mintlify/api/og/v2?division=Start+here\u0026amp;title=SmartAlex+REST+API%3A+getting+started\u0026amp;description=Create+an+API+key%2C+make+your+first+request+and+read+the+response.+The+SmartAlex+REST+API+covers+contacts%2C+deals%2C+calls%2C+campaigns%2C+agents+and+more.\u0026amp;theme=179d14681dde27b354098b2e\u0026amp;signature=6b7810edaf4c0e2e20e018b255495dfa9e84bab654f50c42295166185bef09fc\">\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/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SmartAlex Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#010033\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getsmartalex.com/api-reference/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://getsmartalex.com/#organization\",\"name\":\"SmartAlex\",\"url\":\"https://getsmartalex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/smartalex/qlHSvs0nyK6c2s5R/logo/light.png?fit=max\u0026auto=format\u0026n=qlHSvs0nyK6c2s5R\u0026q=85\u0026s=f2b8d4b820c7af262103f73350d3cc4e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getsmartalex.com#website\",\"name\":\"SmartAlex Documentation\",\"url\":\"https://docs.getsmartalex.com\",\"publisher\":{\"@id\":\"https://getsmartalex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getsmartalex.com/api-reference/introduction#webpage\",\"url\":\"https://docs.getsmartalex.com/api-reference/introduction\",\"name\":\"SmartAlex REST API: getting started\",\"description\":\"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.\",\"dateModified\":\"2026-11-29T09:21:39.000Z\",\"isPartOf\":{\"@id\":\"https://docs.getsmartalex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getsmartalex.com/api-reference/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getsmartalex.com/api-reference/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SmartAlex Documentation\",\"item\":\"https://docs.getsmartalex.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SmartAlex REST API: getting started\",\"item\":\"https://docs.getsmartalex.com/api-reference/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.getsmartalex.com/api-reference/introduction#article\",\"headline\":\"SmartAlex REST API: getting started\",\"name\":\"SmartAlex REST API: getting started\",\"description\":\"Create an API key, make your first request and read the response. The SmartAlex REST API covers contacts, deals, calls, campaigns, agents and more.\",\"url\":\"https://docs.getsmartalex.com/api-reference/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getsmartalex.com/api-reference/introduction#webpage\"},\"dateModified\":\"2026-11-29T09:21:39.000Z\",\"keywords\":\"smartalex api, smartalex rest api, voice ai rest api, api key sa_live, smartalex openapi, crm sync api, export calls api, smartalex developer\",\"publisher\":{\"@id\":\"https://getsmartalex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getsmartalex.com#website\"}},{\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Does SmartAlex have an API?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, two. The REST API takes an API key and suits your own code, such as a CRM sync. The MCP server lets AI apps such as Claude and ChatGPT work in SmartAlex as a signed-in person.\"}},{\"@type\":\"Question\",\"name\":\"Can I export my data with the API?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. A key you create yourself can read contacts, deals, campaigns, knowledge and more, and can export calls with their charges. Page through lists 100 at a time.\"}},{\"@type\":\"Question\",\"name\":\"Can my API key add or change data?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Keys you create yourself read data. Our support team can give a key write scopes, such as adding contacts or starting campaigns, on request.\"}},{\"@type\":\"Question\",\"name\":\"Should I use the REST API or the MCP server?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Use the REST API for code that runs on its own, such as a nightly sync. Use the MCP server when a person works through an AI app, which signs in as them and asks before risky actions.\"}}]}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SmartAlex Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SmartAlex\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/introduction.md","siteName":"SmartAlex Documentation","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.getsmartalex.com"}]},"tabs":[{"tab":"Product","icon":"cube","pages":[{"title":"Product","href":""}]},{"tab":"Pricing","icon":"tag","pages":[{"title":"Pricing","href":"/pricing/start/start-your-free-trial"}]},{"tab":"Help","icon":"circle-question","pages":[{"title":"Help","href":"/faq"}]},{"tab":"Social","icon":"comments","pages":[{"title":"Social","href":"/meta/overview"}]},{"tab":"Telephony","icon":"tower-broadcast","pages":[{"title":"Telephony","href":"/telephony/connect-your-first-phone-system"}]},{"tab":"Developers","icon":"code","groups":[{"group":"MCP server","icon":"server","pages":[{"group":"Start here","icon":"flag-checkered","pages":[{"title":"SmartAlex MCP server","sidebarTitle":"Overview","icon":"server","href":"/mcp/overview"},{"title":"What an AI agent can do with SmartAlex","sidebarTitle":"What an AI agent can do","icon":"robot","href":"/mcp/agent-capabilities"},{"title":"Connect an AI app to SmartAlex","sidebarTitle":"Getting started","icon":"rocket","href":"/mcp/getting-started"},{"group":"Install tutorials","icon":"graduation-cap","pages":[{"title":"Install SmartAlex in Claude","sidebarTitle":"Claude","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/claude.svg","href":"/mcp/tutorials/install-in-claude"},{"title":"Install SmartAlex in Claude Desktop","sidebarTitle":"Claude Desktop","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/claude.svg","href":"/mcp/tutorials/install-in-claude-desktop"},{"title":"Install SmartAlex in Claude Code","sidebarTitle":"Claude Code","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/claude.svg","href":"/mcp/tutorials/install-in-claude-code"},{"title":"Install SmartAlex in ChatGPT","sidebarTitle":"ChatGPT","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/openai.svg","href":"/mcp/tutorials/install-in-chatgpt"},{"title":"Install SmartAlex in Cursor","sidebarTitle":"Cursor","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/cursor.svg","href":"/mcp/tutorials/install-in-cursor"},{"title":"Install SmartAlex in Codex","sidebarTitle":"Codex","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/codex.svg","href":"/mcp/tutorials/install-in-codex"}]}]},{"group":"Install and connect","icon":"plug","pages":[{"title":"Add SmartAlex to Claude","sidebarTitle":"Install in Claude","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/claude.svg","href":"/mcp/install-claude"},{"title":"Add SmartAlex to Claude Team and Enterprise","sidebarTitle":"Claude Team and Enterprise","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/claude.svg","href":"/mcp/claude-team-and-enterprise"},{"title":"SmartAlex in Claude desktop, iPad and iPhone","sidebarTitle":"Claude desktop and mobile","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/claude.svg","href":"/mcp/install-claude-desktop-and-mobile"},{"title":"Add SmartAlex to Claude Code","sidebarTitle":"Install in Claude Code","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/claude.svg","href":"/mcp/install-claude-code"},{"title":"Add SmartAlex to ChatGPT","sidebarTitle":"Install in ChatGPT","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/openai.svg","href":"/mcp/install-chatgpt"},{"title":"Add SmartAlex to Codex","sidebarTitle":"Install in Codex","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/codex.svg","href":"/mcp/install-codex"},{"title":"Add SmartAlex to Cursor","sidebarTitle":"Install in Cursor","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/cursor.svg","href":"/mcp/install-cursor"},{"title":"Add SmartAlex to VS Code and other AI apps","sidebarTitle":"VS Code and other apps","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/vscode.svg","href":"/mcp/install-other-apps"},{"title":"Check the connection works, and disconnect","sidebarTitle":"Check and disconnect","icon":"plug","href":"/mcp/check-and-disconnect"},{"title":"SmartAlex connector troubleshooting","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/mcp/troubleshooting"}]},{"group":"How it works","icon":"gears","pages":[{"title":"How AI apps sign in to SmartAlex","sidebarTitle":"Authentication","icon":"key","href":"/mcp/authentication"},{"title":"How a SmartAlex MCP tool call works","sidebarTitle":"Architecture","icon":"diagram-project","href":"/mcp/architecture"},{"title":"What a connected AI app can do in SmartAlex","sidebarTitle":"Security and permissions","icon":"shield-halved","href":"/mcp/security-and-permissions"},{"title":"Run SmartAlex locally with the npm package","sidebarTitle":"npm package","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/npm.svg","href":"/mcp/npm-package"}]},{"group":"Plugin","icon":"puzzle-piece","pages":[{"title":"Install the SmartAlex plugin","sidebarTitle":"Install the plugin","icon":"puzzle-piece","href":"/mcp/install-plugin"},{"title":"SmartAlex plugin skills","sidebarTitle":"Plugin skills","icon":"list-check","href":"/mcp/plugin-skills"}]},{"group":"Reference","icon":"book","pages":[{"title":"SmartAlex MCP tools reference","sidebarTitle":"Tools reference","icon":"wrench","href":"/mcp/tools-reference"},{"title":"SmartAlex MCP resources and prompts","sidebarTitle":"Resources and prompts","icon":"layer-group","href":"/mcp/resources-and-prompts"},{"title":"SmartAlex MCP error reference","sidebarTitle":"Error reference","icon":"triangle-exclamation","href":"/mcp/errors"}]},{"group":"Guides","icon":"comments","pages":[{"title":"SmartAlex MCP usage examples","sidebarTitle":"Usage examples","description":"Real conversations with an AI app connected to SmartAlex: build an agent, update contacts and deals, review calls, run a campaign and set up a webhook.","icon":"comments","href":"/mcp/examples"}]}]},{"group":"REST API","icon":"code","pages":[{"group":"Start here","icon":"flag-checkered","pages":[{"title":"SmartAlex REST API: getting started","sidebarTitle":"Getting started","icon":"code","href":"/api-reference/introduction"}]},{"group":"Guides","icon":"book-open","pages":[{"title":"SmartAlex API keys and scopes","sidebarTitle":"Keys and scopes","description":"How SmartAlex API keys work: who creates them, how to send one, what each scope allows, and how to expire, revoke and keep a key safe.","icon":"key","href":"/api-reference/authentication"},{"title":"SmartAlex API rate limits, paging and errors","sidebarTitle":"Rate limits and errors","icon":"gauge","href":"/api-reference/rate-limits-and-errors"},{"title":"SmartAlex webhooks: events, signing and retries","sidebarTitle":"Webhooks","icon":"bolt","href":"/api-reference/webhooks"}]},{"group":"Endpoints","icon":"list","pages":[{"group":"Contacts","pages":[{"title":"List contacts, newest first, or by updated_since. view=crm returns the CRM shape.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts","href":"/api-reference/contacts/list-contacts-newest-first-or-by-updated_since-view=crm-returns-the-crm-shape"},{"title":"Add a contact.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts","href":"/api-reference/contacts/add-a-contact"},{"title":"Import up to 1,000 contacts.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts/import","href":"/api-reference/contacts/import-up-to-1000-contacts"},{"title":"Read one contact.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts/{id}","href":"/api-reference/contacts/read-one-contact"},{"title":"Delete a contact.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /contacts/{id}","href":"/api-reference/contacts/delete-a-contact"},{"title":"Change a contact.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /contacts/{id}","href":"/api-reference/contacts/change-a-contact"},{"title":"Find up to 5 contacts by name, phone or email.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts/find","href":"/api-reference/contacts/find-up-to-5-contacts-by-name-phone-or-email"}]},{"group":"Deals","pages":[{"title":"List deals.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /deals","href":"/api-reference/deals/list-deals"},{"title":"Add a deal.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /deals","href":"/api-reference/deals/add-a-deal"},{"title":"Delete a deal.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /deals/{id}","href":"/api-reference/deals/delete-a-deal"},{"title":"Change a deal or move its stage.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /deals/{id}","href":"/api-reference/deals/change-a-deal-or-move-its-stage"}]},{"group":"Calls","pages":[{"title":"List calls.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls","href":"/api-reference/calls/list-calls"},{"title":"Totals for calls over a period.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls/summary","href":"/api-reference/calls/totals-for-calls-over-a-period"},{"title":"Export calls with their charges.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /calls/export","href":"/api-reference/calls/export-calls-with-their-charges"},{"title":"Read one call: transcript, summary, outcome and charge.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls/{id}","href":"/api-reference/calls/read-one-call:-transcript-summary-outcome-and-charge"}]},{"group":"Campaigns","pages":[{"title":"List campaigns.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /campaigns","href":"/api-reference/campaigns/list-campaigns"},{"title":"Create a campaign.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns","href":"/api-reference/campaigns/create-a-campaign"},{"title":"Read one campaign and its progress.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /campaigns/{id}","href":"/api-reference/campaigns/read-one-campaign-and-its-progress"},{"title":"Change a campaign.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /campaigns/{id}","href":"/api-reference/campaigns/change-a-campaign"},{"title":"Add contacts to a campaign.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns/{id}/contacts","href":"/api-reference/campaigns/add-contacts-to-a-campaign"},{"title":"Start a campaign.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns/{id}/start","href":"/api-reference/campaigns/start-a-campaign"},{"title":"Pause a campaign.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns/{id}/pause","href":"/api-reference/campaigns/pause-a-campaign"},{"title":"Resume a paused campaign.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns/{id}/resume","href":"/api-reference/campaigns/resume-a-paused-campaign"},{"title":"Schedule a campaign to start later.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns/{id}/schedule","href":"/api-reference/campaigns/schedule-a-campaign-to-start-later"},{"title":"Stop a campaign for good.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns/{id}/stop","href":"/api-reference/campaigns/stop-a-campaign-for-good"},{"title":"Remove contacts from a campaign.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /campaigns/{id}/contacts/remove","href":"/api-reference/campaigns/remove-contacts-from-a-campaign"}]},{"group":"Callbacks","pages":[{"title":"List scheduled callbacks.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /callbacks","href":"/api-reference/callbacks/list-scheduled-callbacks"},{"title":"Read one callback.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /callbacks/{id}","href":"/api-reference/callbacks/read-one-callback"},{"title":"Reschedule a callback.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /callbacks/{id}","href":"/api-reference/callbacks/reschedule-a-callback"},{"title":"Cancel a callback.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /callbacks/{id}/cancel","href":"/api-reference/callbacks/cancel-a-callback"},{"title":"Call the person back now.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /callbacks/{id}/call","href":"/api-reference/callbacks/call-the-person-back-now"},{"title":"List blocked callers.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /blocked-callers","href":"/api-reference/callbacks/list-blocked-callers"},{"title":"Block a caller.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /blocked-callers","href":"/api-reference/callbacks/block-a-caller"},{"title":"Unblock a caller.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /blocked-callers/{id}","href":"/api-reference/callbacks/unblock-a-caller"}]},{"group":"Agents","pages":[{"title":"Read an agent's prompt sections.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}/prompt","href":"/api-reference/agents/read-an-agents-prompt-sections"},{"title":"Change a section of an agent's prompt.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /agents/{id}/prompt","href":"/api-reference/agents/change-a-section-of-an-agents-prompt"},{"title":"Read a prompt section's history.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}/prompt/history","href":"/api-reference/agents/read-a-prompt-sections-history"},{"title":"Revert a prompt section to an earlier version.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/prompt/revert","href":"/api-reference/agents/revert-a-prompt-section-to-an-earlier-version"},{"title":"List agents.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents","href":"/api-reference/agents/list-agents"},{"title":"Create an agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents","href":"/api-reference/agents/create-an-agent"},{"title":"Read one agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}","href":"/api-reference/agents/read-one-agent"},{"title":"Delete an agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /agents/{id}","href":"/api-reference/agents/delete-an-agent"},{"title":"Change an agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /agents/{id}","href":"/api-reference/agents/change-an-agent"},{"title":"Place a test call with an agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /account/test-calls","href":"/api-reference/agents/place-a-test-call-with-an-agent"},{"title":"Estimate what a test call costs.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /account/test-calls/estimate/{agent_id}","href":"/api-reference/agents/estimate-what-a-test-call-costs"},{"title":"Read a test call's result.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /account/test-calls/{id}","href":"/api-reference/agents/read-a-test-calls-result"},{"title":"Read an agent's call transfers.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{id}/transfers","href":"/api-reference/agents/read-an-agents-call-transfers"}]},{"group":"Knowledge","pages":[{"title":"List knowledge items.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-items","href":"/api-reference/knowledge/list-knowledge-items"},{"title":"Add text to the knowledge base.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /knowledge-items","href":"/api-reference/knowledge/add-text-to-the-knowledge-base"},{"title":"Read the knowledge storage quota.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-items/quota","href":"/api-reference/knowledge/read-the-knowledge-storage-quota"},{"title":"Read the progress of a website import.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-items/imports/{id}","href":"/api-reference/knowledge/read-the-progress-of-a-website-import"},{"title":"Read one knowledge item.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-items/{id}","href":"/api-reference/knowledge/read-one-knowledge-item"},{"title":"Delete a knowledge item.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /knowledge-items/{id}","href":"/api-reference/knowledge/delete-a-knowledge-item"},{"title":"Import a website into the knowledge base.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /knowledge-items/website","href":"/api-reference/knowledge/import-a-website-into-the-knowledge-base"},{"title":"Give an agent knowledge items.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents/{id}/knowledge","href":"/api-reference/knowledge/give-an-agent-knowledge-items"},{"title":"Take knowledge items away from an agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /agents/{id}/knowledge","href":"/api-reference/knowledge/take-knowledge-items-away-from-an-agent"}]},{"group":"Custom API tools","pages":[{"title":"List custom API tools.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /http-tools","href":"/api-reference/custom-api-tools/list-custom-api-tools"},{"title":"Create a custom API tool.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /http-tools","href":"/api-reference/custom-api-tools/create-a-custom-api-tool"},{"title":"Read one custom API tool.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /http-tools/{id}","href":"/api-reference/custom-api-tools/read-one-custom-api-tool"},{"title":"Delete a custom API tool.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /http-tools/{id}","href":"/api-reference/custom-api-tools/delete-a-custom-api-tool"},{"title":"Change a custom API tool.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /http-tools/{id}","href":"/api-reference/custom-api-tools/change-a-custom-api-tool"},{"title":"Give an agent a custom API tool.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /http-tools/{id}/attach","href":"/api-reference/custom-api-tools/give-an-agent-a-custom-api-tool"},{"title":"Take a custom API tool away from an agent.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /http-tools/{id}/detach","href":"/api-reference/custom-api-tools/take-a-custom-api-tool-away-from-an-agent"},{"title":"Show the request a custom API tool would send, without sending it.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /http-tools/{id}/preview","href":"/api-reference/custom-api-tools/show-the-request-a-custom-api-tool-would-send-without-sending-it"}]},{"group":"Phone numbers","pages":[{"title":"List phone numbers.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /phone-numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Search numbers available to buy.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /phone-numbers/available","href":"/api-reference/phone-numbers/search-numbers-available-to-buy"},{"title":"Buy a phone number.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /phone-numbers/buy","href":"/api-reference/phone-numbers/buy-a-phone-number"},{"title":"Quote the price of a number.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /phone-numbers/quote/{number}","href":"/api-reference/phone-numbers/quote-the-price-of-a-number"},{"title":"Quote the price of a number of a given type.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /phone-numbers/quote/{number}/{type}","href":"/api-reference/phone-numbers/quote-the-price-of-a-number-of-a-given-type"},{"title":"Read one phone number.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /phone-numbers/{id}","href":"/api-reference/phone-numbers/read-one-phone-number"},{"title":"Release a phone number.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /phone-numbers/{id}","href":"/api-reference/phone-numbers/release-a-phone-number"},{"title":"Change which agent answers a number.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /phone-numbers/{id}","href":"/api-reference/phone-numbers/change-which-agent-answers-a-number"}]},{"group":"Analytics","pages":[{"title":"Read call and campaign analytics.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /analytics","href":"/api-reference/analytics/read-call-and-campaign-analytics"}]},{"group":"Account","pages":[{"title":"Read the plan and usage.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /account/plan","href":"/api-reference/account/read-the-plan-and-usage"},{"title":"Quote the price of an extra agent slot.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /account/agent-slots/quote","href":"/api-reference/account/quote-the-price-of-an-extra-agent-slot"},{"title":"Buy an extra agent slot.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /account/agent-slots","href":"/api-reference/account/buy-an-extra-agent-slot"},{"title":"Read the service status.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /status","href":"/api-reference/account/read-the-service-status"},{"title":"Read the website widget install code.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /widget/install-code","href":"/api-reference/account/read-the-website-widget-install-code"},{"title":"List the actions this key can use.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/tools","href":"/api-reference/account/list-the-actions-this-key-can-use"}]},{"group":"Webhooks","pages":[{"title":"List webhooks.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Add a webhook.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webhooks","href":"/api-reference/webhooks/add-a-webhook"},{"title":"Delete a webhook.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook"}]},{"group":"Gates","pages":[{"title":"List the gates set up under Gate access.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /gates","href":"/api-reference/gates/list-the-gates-set-up-under-gate-access"},{"title":"Read the gate log, newest first, filtered by time, gate or who opened it.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /gates/events","href":"/api-reference/gates/read-the-gate-log-newest-first-filtered-by-time-gate-or-who-opened-it"},{"title":"Open a gate by ringing its gate module, or log a test press.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /gates/{key}/open","href":"/api-reference/gates/open-a-gate-by-ringing-its-gate-module-or-log-a-test-press"}]},{"group":"Team","pages":[{"title":"List team members and invitations.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspace/team","href":"/api-reference/team/list-team-members-and-invitations"},{"title":"Invite someone to the workspace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspace/team/invitations","href":"/api-reference/team/invite-someone-to-the-workspace"},{"title":"Withdraw an invitation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspace/team/invitations/{id}","href":"/api-reference/team/withdraw-an-invitation"},{"title":"Remove a member.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspace/team/members/{id}","href":"/api-reference/team/remove-a-member"},{"title":"Change a member's role.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspace/team/members/{id}","href":"/api-reference/team/change-a-members-role"}]},{"group":"Settings","pages":[{"title":"Read business hours.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspace/business-hours","href":"/api-reference/settings/read-business-hours"},{"title":"Change business hours.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspace/business-hours","href":"/api-reference/settings/change-business-hours"},{"title":"Read notification settings.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspace/notifications","href":"/api-reference/settings/read-notification-settings"},{"title":"Change notification settings.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspace/notifications","href":"/api-reference/settings/change-notification-settings"},{"title":"Read whether the workspace's email is paused.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspace/notifications/workspace","href":"/api-reference/settings/read-whether-the-workspaces-email-is-paused"}]}]}]}]},{"tab":"Build","icon":"hammer","pages":[{"title":"Build","href":"/build-with/overview"}]},{"tab":"Trust","icon":"shield-check","pages":[{"title":"Trust","href":"/trust/find-a-legal-document"}]},{"tab":"Learn","icon":"graduation-cap","pages":[{"title":"Learn","href":"/learn"}]},{"tab":"Compare","icon":"scale-balanced","pages":[{"title":"Compare","href":"/comparisons/overview"}]}]},"basePath":"","title":"SmartAlex REST API: getting started - SmartAlex Documentation","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CG7QalVD.js","DynamicMarkdown-B_9ywLDq.js","zoom-image-lightbox-uS0aI388.js","lightbox-handle-r17bVUz3.js"]}