The REST API accepts an API key in the x-api-key header, the x-api-key query parameter, or the Authentication header. Create and rotate API keys from your Rapida project credentials.
Do not expose project API keys in browser or mobile clients. Send REST API requests from a trusted backend service.
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"rapida.ai documentation","colors":{"primary":"#0253e9","light":"#0253e9","dark":"#0253e9"},"logo":{"light":"https://mintcdn.com/rapidaai/LcrQZDMPAPDnbkqO/logo/rapida-db.svg?fit=max\u0026auto=format\u0026n=LcrQZDMPAPDnbkqO\u0026q=85\u0026s=2da43a5d9ef0ceb98c62578642fe4ef6","dark":"https://mintcdn.com/rapidaai/LcrQZDMPAPDnbkqO/logo/rapida-lb.svg?fit=max\u0026auto=format\u0026n=LcrQZDMPAPDnbkqO\u0026q=85\u0026s=317b476acf9431bdd0e6f9924387e255"},"favicon":"https://mintcdn.com/rapidaai/46HA5tZEH71HSx2n/favicon.png?fit=max\u0026auto=format\u0026n=46HA5tZEH71HSx2n\u0026q=85\u0026s=af9d379d7e5cbac507a64c94aba0e250","api":{"openapi":{"source":"openapi/talk-api.yaml","directory":"api-reference/rest"},"params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python","go"],"prefill":true}},"navbar":{"links":[{"href":"mailto:prashant@rapida.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.rapida.ai/dashboard"}},"footer":{"socials":{"twitter":"https://x.com/rapidaai","github":"https://github.com/rapidaai","linkedin":"https://www.linkedin.com/company/rapida-ai"}},"fonts":{"family":"IBM Plex Sans"},"icons":{"library":"lucide"},"integrations":{"ga4":{"measurementId":"G-C635KMN11R"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rapidaai","hasAudioNarration":false,"actualSubdomain":"rapidaai","customDomains":["doc.rapida.ai"],"gitSource":{"type":"github","owner":"rapidaai","repo":"rapidaai-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92b36fe890ded1f8e4655:success","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"Documentation","count":104},{"language":"default","tag":"Open Source","count":70},{"language":"default","tag":"Assistant API","count":50},{"language":"default","tag":"External Integrations","count":46},{"language":"default","tag":"SDK","count":41},{"language":"default","tag":"Assistants","count":35},{"language":"default","tag":"Text-to-Speech","count":33},{"language":"default","tag":"Assistant","count":32},{"language":"default","tag":"Speech-to-Text","count":26},{"language":"default","tag":"API Reference","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"::-webkit-scrollbar{display:none}*{scrollbar-width:none}*{-ms-overflow-style:none}body{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}h1,h2,h3,h4,h5,h6{font-weight:400!important}.font-semibold{font-weight:400!important}.font-bold{font-weight:400!important}"}]}
{"page":{"pagePath":"api-reference/rest/authentication","slug":"/api-reference/rest/authentication","pageMetadata":{"title":"Authentication","description":"Authenticate REST API requests with an API key.","href":"/api-reference/rest/authentication"},"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: \"Authenticate REST API requests with an API key.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,ParamField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The REST API accepts an API key in the `,_jsx(_components.code,{children:`x-api-key`}),` header, the `,_jsx(_components.code,{children:`x-api-key`}),` query parameter, or the `,_jsx(_components.code,{children:`Authentication`}),` header. Create and rotate API keys from your Rapida project credentials.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`x-api-key header`,numberOfLines:`10`,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:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://assistant-01.in.rapida.ai/v1/talk/create-phone-call\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RAPIDA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistant\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistantId\": \"2227823180112723968\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"version\": \"latest\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"toNumber\": \"+14155550123\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`x-api-key query parameter`,numberOfLines:`9`,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:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://assistant-01.in.rapida.ai/v1/talk/create-phone-call?x-api-key=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RAPIDA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistant\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistantId\": \"2227823180112723968\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"version\": \"latest\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"toNumber\": \"+14155550123\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Authentication header`,numberOfLines:`10`,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:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://assistant-01.in.rapida.ai/v1/talk/create-phone-call\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authentication: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RAPIDA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistant\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"assistantId\": \"2227823180112723968\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"version\": \"latest\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"toNumber\": \"+14155550123\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication-parameters`,children:`Authentication parameters`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,id:`param-x-api-key`,children:_jsx(_components.p,{children:`API key sent as a request header.`})}),`\n`,_jsx(ParamField,{query:`x-api-key`,type:`string`,id:`param-x-api-key-1`,children:_jsx(_components.p,{children:`API key sent as a query parameter.`})}),`\n`,_jsx(ParamField,{header:`Authentication`,type:`string`,id:`param-authentication`,children:_jsxs(_components.p,{children:[`API key sent as an `,_jsx(_components.code,{children:`Authentication`}),` header.`]})}),`\n`,_jsx(_components.p,{children:`Use one authentication method per request. Prefer headers for server-side integrations because query parameters can appear in logs.`}),`\n`,_jsx(Heading,{level:`2`,id:`optional-headers`,children:`Optional headers`}),`\n`,_jsx(ParamField,{header:`x-auth-id`,type:`string`,id:`param-x-auth-id`,children:_jsx(_components.p,{children:`Optional user identifier to propagate with the request.`})}),`\n`,_jsx(ParamField,{header:`x-client-source`,type:`string`,id:`param-x-client-source`,children:_jsx(_components.p,{children:`Optional client source identifier. SDK clients send this automatically.`})}),`\n`,_jsx(Heading,{level:`2`,id:`base-urls`,children:`Base URLs`}),`\n`,_jsx(_components.p,{children:`Use the endpoint for the region where your assistant API is hosted.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://assistant-01.in.rapida.ai`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://assistant-01.us.rapida.ai`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not expose project API keys in browser or mobile clients. Send REST API requests from a trusted backend service.`})})]})}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":"Authentication","description":"Authenticate REST API requests with an API key.","href":"/api-reference/rest/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication parameters","slug":"authentication-parameters","depth":2,"children":[]},{"title":"Optional headers","slug":"optional-headers","depth":2,"children":[]},{"title":"Base URLs","slug":"base-urls","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"rapidaai","siteName":"rapida.ai documentation","title":"Authentication - rapida.ai documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-28T03:29:31.709Z","originalFileLocation":"api-reference/rest/authentication.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=\"Authenticate REST API requests with an API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"rapida.ai 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/rapidaai/8MjuLylDhY-_FnDq/_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/rapidaai/8MjuLylDhY-_FnDq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rapidaai/8MjuLylDhY-_FnDq/_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/rapidaai/8MjuLylDhY-_FnDq/_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/rapidaai/8MjuLylDhY-_FnDq/_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/rapidaai/8MjuLylDhY-_FnDq/_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/rapidaai/8MjuLylDhY-_FnDq/_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/rapidaai/8MjuLylDhY-_FnDq/_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/rapidaai/8MjuLylDhY-_FnDq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - rapida.ai documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate REST API requests with an API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"rapida.ai documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://doc.rapida.ai/api-reference/rest/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rapidaai.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Authentication\u0026amp;description=Authenticate+REST+API+requests+with+an+API+key.\u0026amp;theme=286d6e830f6f9299d8b72946\u0026amp;signature=7c16b8903142e421708ba8824ad7e94d04cd3f36e00969b65a966d51be51b07c\">\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=\"Authentication - rapida.ai documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate REST API requests with an API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rapidaai.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Authentication\u0026amp;description=Authenticate+REST+API+requests+with+an+API+key.\u0026amp;theme=286d6e830f6f9299d8b72946\u0026amp;signature=7c16b8903142e421708ba8824ad7e94d04cd3f36e00969b65a966d51be51b07c\">\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/rapidaai/8MjuLylDhY-_FnDq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"rapida.ai documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0253e9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://doc.rapida.ai/api-reference/rest/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/rest/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://doc.rapida.ai/#organization\",\"name\":\"rapida.ai documentation\",\"url\":\"https://doc.rapida.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rapidaai/LcrQZDMPAPDnbkqO/logo/rapida-db.svg?fit=max\u0026auto=format\u0026n=LcrQZDMPAPDnbkqO\u0026q=85\u0026s=2da43a5d9ef0ceb98c62578642fe4ef6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://doc.rapida.ai#website\",\"name\":\"rapida.ai documentation\",\"url\":\"https://doc.rapida.ai\",\"publisher\":{\"@id\":\"https://doc.rapida.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://doc.rapida.ai/api-reference/rest/authentication#webpage\",\"url\":\"https://doc.rapida.ai/api-reference/rest/authentication\",\"name\":\"Authentication\",\"description\":\"Authenticate REST API requests with an API key.\",\"dateModified\":\"2026-05-28T03:29:31.709Z\",\"isPartOf\":{\"@id\":\"https://doc.rapida.ai#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://doc.rapida.ai/api-reference/rest/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Authenticate REST API requests with an API key.\",\"url\":\"https://doc.rapida.ai/api-reference/rest/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://doc.rapida.ai/api-reference/rest/authentication#webpage\"},\"dateModified\":\"2026-05-28T03:29:31.709Z\",\"publisher\":{\"@id\":\"https://doc.rapida.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://doc.rapida.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"rapida.ai documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"rapida.ai documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/rest/authentication.md","siteName":"rapida.ai documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction/overview"}]},{"tab":"Open Source","pages":[{"title":"Open Source","href":"/opensource/overview"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/api-reference/installation"}]},{"tab":"API Reference","pages":[{"title":"Authentication","href":"/api-reference/rest/authentication"},{"group":"Assistant","pages":[{"title":"create-assistant","description":"Creates an assistant with one provider configuration and optional tools, knowledge, and tags.","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant/create-assistant","href":"/api-reference/rest/assistants/create-assistant"}]},{"group":"Assistant deployments","pages":[{"title":"create-debugger-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-debugger-deployment","href":"/api-reference/rest/assistant-deployments/create-debugger-deployment"},{"title":"create-api-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-api-deployment","href":"/api-reference/rest/assistant-deployments/create-api-deployment"},{"title":"create-webplugin-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-webplugin-deployment","href":"/api-reference/rest/assistant-deployments/create-webplugin-deployment"},{"title":"create-phone-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-phone-deployment","href":"/api-reference/rest/assistant-deployments/create-phone-deployment"},{"title":"create-whatsapp-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-whatsapp-deployment","href":"/api-reference/rest/assistant-deployments/create-whatsapp-deployment"},{"title":"get-api-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-api-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-api-deployment"},{"title":"get-debugger-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-debugger-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-debugger-deployment"},{"title":"get-phone-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-phone-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-phone-deployment"},{"title":"get-webplugin-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-webplugin-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-webplugin-deployment"},{"title":"get-whatsapp-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-whatsapp-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-whatsapp-deployment"},{"title":"get-all-api-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-api-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-api-deployment"},{"title":"get-all-debugger-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-debugger-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-debugger-deployment"},{"title":"get-all-phone-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-phone-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-phone-deployment"},{"title":"get-all-webplugin-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-webplugin-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-webplugin-deployment"},{"title":"get-all-whatsapp-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-whatsapp-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-whatsapp-deployment"}]},{"group":"Calls","pages":[{"title":"create-phone-call","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/talk/create-phone-call","href":"/api-reference/rest/calls/create-phone-call"},{"title":"create-bulk-phone-call","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/talk/create-bulk-phone-call","href":"/api-reference/rest/calls/create-bulk-phone-call"}]}],"groups":[{"group":"Assistants","pages":[{"title":"create-assistant","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant/create-assistant","href":"/api-reference/rest/assistants/create-assistant"}]},{"group":"Assistant deployments","pages":[{"title":"create-debugger-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-debugger-deployment","href":"/api-reference/rest/assistant-deployments/create-debugger-deployment"},{"title":"create-phone-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-phone-deployment","href":"/api-reference/rest/assistant-deployments/create-phone-deployment"},{"title":"create-api-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-api-deployment","href":"/api-reference/rest/assistant-deployments/create-api-deployment"},{"title":"create-webplugin-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-webplugin-deployment","href":"/api-reference/rest/assistant-deployments/create-webplugin-deployment"},{"title":"create-whatsapp-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/assistant-deployment/create-whatsapp-deployment","href":"/api-reference/rest/assistant-deployments/create-whatsapp-deployment"},{"title":"get-api-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-api-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-api-deployment"},{"title":"get-debugger-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-debugger-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-debugger-deployment"},{"title":"get-phone-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-phone-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-phone-deployment"},{"title":"get-webplugin-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-webplugin-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-webplugin-deployment"},{"title":"get-whatsapp-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-whatsapp-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-whatsapp-deployment"},{"title":"get-all-api-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-api-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-api-deployment"},{"title":"get-all-debugger-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-debugger-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-debugger-deployment"},{"title":"get-all-phone-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-phone-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-phone-deployment"},{"title":"get-all-webplugin-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-webplugin-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-webplugin-deployment"},{"title":"get-all-whatsapp-deployment","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml get /v1/assistant-deployment/get-all-whatsapp-deployment/{assistantId}","href":"/api-reference/rest/assistant-deployments/get-all-whatsapp-deployment"}]},{"group":"Calls","pages":[{"title":"create-phone-call","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/talk/create-phone-call","href":"/api-reference/rest/calls/create-phone-call"},{"title":"create-bulk-phone-call","deprecated":null,"version":null,"openapi":"/openapi/talk-api.yaml post /v1/talk/create-bulk-phone-call","href":"/api-reference/rest/calls/create-bulk-phone-call"}]}]}]},"basePath":"","title":"Authentication - rapida.ai documentation","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":[],"chunks":[]}