How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.
This page explains how to obtain an OAuth 2.0 access token using the Client Credentials flow. You’ll use this token as a Bearer token when calling the Resistant Documents API.
What you need
Client ID
Client Secret
The stage you’re targeting: Testing or Production
The cell you’re targeting (e.g., eu-1, us-1, ca-1, ap-2, ap-3)
If you’re a partner integrating for multiple tenants, make sure you’re using the correct credentials for the specific tenant/stage/cell you are operating in.
Brief introduction to OAuth 2.0 (client credentials)
OAuth 2.0 is an authorization protocol used to obtain an access token that your application can use to call an API without sending user credentials on every request.For the Resistant Documents API, you’ll use the Client Credentials flow:
Your service is provisioned with a Client ID and Client Secret
You exchange them for a short-lived access token
You use that token in Authorization: Bearer <token> for API calls
Token validity and expiration
Access tokens are time-limited. You should:
Reuse the same token for multiple API calls until it expires
Request a new token only when needed (to avoid unnecessary token issuance)
You can determine token lifetime using:
The expires_in field returned by the token endpoint (recommended and always available)
Some tokens may also expose expiration as JWT claims (only if the token is a JWT and you choose to decode it), typically iat and exp.
Do not rely on decoding the token to drive refresh logic. Treat expires_in as the source of truth.
Example JWT payload fields (illustrative):
{ "iat": 1742473136, "exp": 1742474036}
How to use the token
Include the access token in the Authorization header of Documents API requests:
If you prefer Postman, import the collections your Resistant AI contact provides (Documents API and Tenant Management API). Keep the stage/cell-specific Token URL aligned with the base URL you call.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Documentation","colors":{"primary":"#5890FE","light":"#98B5EB","dark":"#1B2556"},"logo":{"light":"https://mintcdn.com/resistantai/kBNVB9KZmz_Sil9l/logo/dark.svg?fit=max\u0026auto=format\u0026n=kBNVB9KZmz_Sil9l\u0026q=85\u0026s=527885b3a41aa2741b41c452ab420a74","dark":"https://mintcdn.com/resistantai/kBNVB9KZmz_Sil9l/logo/light.svg?fit=max\u0026auto=format\u0026n=kBNVB9KZmz_Sil9l\u0026q=85\u0026s=ef2c740fa125cb64ca4b7ebe41bbccf6","href":"https://resistant.ai"},"favicon":"https://mintcdn.com/resistantai/D5OIGucA_1iVDM89/logo/favicon.png?fit=max\u0026auto=format\u0026n=D5OIGucA_1iVDM89\u0026q=85\u0026s=9abb4580ccb8152e551ac34ada3e83d1","footer":{"socials":{"linkedin":"https://www.linkedin.com/company/resistant-ai","website":"https://resistant.ai/"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"resistantai","hasAudioNarration":false,"actualSubdomain":"resistantai","customDomains":["developers.resistant.ai"],"gitSource":{"type":"gitlab","owner":"bulletproof-ai/product/docs","repo":"developer-portal","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":79752642,"mountPath":"","label":"","_id":"6af18ea3ee06d45cdd828e37"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b003f696c736afc68456b30","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":150},{"language":"default","tag":"Resistant Documents API","count":104},{"language":"default","tag":"Docs","count":37},{"language":"default","tag":"Tenant Management API","count":14},{"language":"default","tag":"View results in Resistant UI","count":13},{"language":"default","tag":"Testing","count":12},{"language":"default","tag":"AP-2","count":11},{"language":"default","tag":"AP-3","count":11},{"language":"default","tag":"CA-1","count":11},{"language":"default","tag":"EU","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[]}
{"page":{"pagePath":"getting-started/getting-access-token","slug":"/getting-started/getting-access-token","pageMetadata":{"title":"Getting an access token","description":"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.","icon":"lock-open","href":"/getting-started/getting-access-token"},"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: \"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.\"\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`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This page explains how to obtain an OAuth 2.0 `,_jsx(_components.strong,{children:`access token`}),` using the `,_jsx(_components.strong,{children:`Client Credentials`}),` flow. You’ll use this token as a `,_jsx(_components.strong,{children:`Bearer token`}),` when calling the Resistant Documents API.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-need`,children:`What you need`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Client ID`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Client Secret`})}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`stage`}),` you’re targeting: `,_jsx(_components.strong,{children:`Testing`}),` or `,_jsx(_components.strong,{children:`Production`})]}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.strong,{children:`cell`}),` you’re targeting (e.g., `,_jsx(_components.code,{children:`eu-1`}),`, `,_jsx(_components.code,{children:`us-1`}),`, `,_jsx(_components.code,{children:`ca-1`}),`, `,_jsx(_components.code,{children:`ap-2`}),`, `,_jsx(_components.code,{children:`ap-3`}),`)`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If you’re a partner integrating for multiple tenants, make sure you’re using the correct credentials for the specific tenant/stage/cell you are operating in.`})}),`\n`,_jsx(Heading,{level:`2`,id:`choose-your-token-url`,children:`Choose your Token URL`}),`\n`,_jsxs(_components.p,{children:[`Use the Token URL that matches your `,_jsx(_components.strong,{children:`stage + cell`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Stage`}),_jsx(_components.th,{children:`Cell`}),_jsx(_components.th,{children:`AWS Region`}),_jsx(_components.th,{children:`Token URL`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Prod`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eu-1`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`eu-west-1`}),` `,_jsx(`br`,{}),`(Ireland)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Prod`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`us-1`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`us-east-1`}),` `,_jsx(`br`,{}),`(N. Virginia)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://eu.id.resistant.ai/oauth2/aus3tzuy12e5blAJi417/v1/token`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Prod`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ca-1`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`ca-central-1`}),` `,_jsx(`br`,{}),`(Canada)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://eu.id.resistant.ai/oauth2/ausd6inbxjwgeJfq4417/v1/token`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Prod`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ap-2`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`ap-south-1`}),` `,_jsx(`br`,{}),`(Mumbai)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://eu.id.resistant.ai/oauth2/aus827qzu1l953dI4417/v1/token`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Prod`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ap-3`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`ap-southeast-2`}),` `,_jsx(`br`,{}),`(Sydney)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://eu.id.resistant.ai/oauth2/ausp40dse1Q0rzDq6417/v1/token`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Test`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eu-1`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`eu-west-1`}),` `,_jsx(`br`,{}),`(Ireland)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://eu.id.resistant.ai/oauth2/aus17c52xbW6c0yA9417/v1/token`})})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`brief-introduction-to-oauth-2-0-client-credentials`,children:`Brief introduction to OAuth 2.0 (client credentials)`}),`\n`,_jsxs(_components.p,{children:[`OAuth 2.0 is an authorization protocol used to obtain an `,_jsx(_components.strong,{children:`access token`}),` that your application can use to call an API without sending user credentials on every request.`]}),`\n`,_jsxs(_components.p,{children:[`For the Resistant Documents API, you’ll use the `,_jsx(_components.strong,{children:`Client Credentials`}),` flow:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Your service is provisioned with a `,_jsx(_components.strong,{children:`Client ID`}),` and `,_jsx(_components.strong,{children:`Client Secret`})]}),`\n`,_jsxs(_components.li,{children:[`You exchange them for a short-lived `,_jsx(_components.strong,{children:`access token`})]}),`\n`,_jsxs(_components.li,{children:[`You use that token in `,_jsx(_components.code,{children:`Authorization: Bearer \u003ctoken>`}),` for API calls`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`token-validity-and-expiration`,children:`Token validity and expiration`}),`\n`,_jsxs(_components.p,{children:[`Access tokens are `,_jsx(_components.strong,{children:`time-limited`}),`. You should:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Reuse the same token for multiple API calls until it expires`}),`\n`,_jsx(_components.li,{children:`Request a new token only when needed (to avoid unnecessary token issuance)`}),`\n`]}),`\n`,_jsx(_components.p,{children:`You can determine token lifetime using:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`expires_in`}),` field returned by the token endpoint (recommended and always available)`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Some tokens may also expose expiration as JWT claims (only if the token is a JWT and you choose to decode it), typically `,_jsx(_components.code,{children:`iat`}),` and `,_jsx(_components.code,{children:`exp`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Do not rely on decoding the token to drive refresh logic. Treat `,_jsx(_components.code,{children:`expires_in`}),` as the source of truth.`]})}),`\n`,_jsx(_components.p,{children:`Example JWT payload fields (illustrative):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"iat\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1742473136`}),_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:` \"exp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1742474036`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-use-the-token`,children:`How to use the token`}),`\n`,_jsxs(_components.p,{children:[`Include the access token in the `,_jsx(_components.code,{children:`Authorization`}),` header of Documents API requests:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer \u003caccess_token>`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`token-request-details`,children:`Token request details`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`HTTP request`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Method: `,_jsx(_components.code,{children:`POST`})]}),`\n`,_jsxs(_components.li,{children:[`Headers:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Authorization: Basic \u003cbase64(client_id:client_secret)>`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Content-Type: application/x-www-form-urlencoded`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Accept: application/json`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Body (form-urlencoded):`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`grant_type=client_credentials`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`scope=submissions.read submissions.write`})}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`scopes`,children:`Scopes`}),`\n`,_jsx(_components.p,{children:`Use these scopes when requesting a token:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`submissions.read`}),` — read analysis results`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`submissions.write`}),` — create submissions (and other write actions)`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`curl`,children:`cURL`}),`\n`,_jsx(_components.p,{children:`Pick the correct Token URL from the table above, then request a token:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TOKEN_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://eu.id.resistant.ai/oauth2/\u003cauth_server_id>/v1/token\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CLIENT_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cyour_client_id>\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CLIENT_SECRET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cyour_client_secret>\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`BASIC_AUTH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CLIENT_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CLIENT_SECRET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` base64`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` tr`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\\\\n'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_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:` -sS`}),_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOKEN_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accept: application/json\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"authorization: Basic `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$BASIC_AUTH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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/x-www-form-urlencoded\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"grant_type=client_credentials\u0026scope=submissions.read submissions.write\"`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If you prefer Postman, import the collections your Resistant AI contact provides (Documents API and Tenant Management API). Keep the stage/cell-specific Token URL aligned with the base URL you call.`})})]})}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":"Getting an access token","description":"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.","icon":"lock-open","href":"/getting-started/getting-access-token"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you need","slug":"what-you-need","depth":2,"children":[]},{"title":"Choose your Token URL","slug":"choose-your-token-url","depth":2,"children":[]},{"title":"Brief introduction to OAuth 2.0 (client credentials)","slug":"brief-introduction-to-oauth-2-0-client-credentials","depth":2,"children":[{"title":"Token validity and expiration","slug":"token-validity-and-expiration","depth":3,"children":[]}]},{"title":"How to use the token","slug":"how-to-use-the-token","depth":2,"children":[]},{"title":"Token request details","slug":"token-request-details","depth":2,"children":[{"title":"Scopes","slug":"scopes","depth":3,"children":[]}]},{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"cURL","slug":"curl","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"resistantai","siteName":"Documentation","title":"Getting an access token - Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T13:49:46.548Z","originalFileLocation":"getting-started/getting-access-token.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=\"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.\">\u003cmeta data-mint-head name=\"application-name\" content=\"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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Getting an access token - Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.resistant.ai/getting-started/getting-access-token\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://resistantai.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Getting+an+access+token\u0026amp;description=How+to+obtain+an+OAuth+2.0+access+token+%28client+credentials%29+for+the+Resistant+Documents+API+across+stages+and+cells.\u0026amp;theme=f79165ce1e760ee331e0c96d\u0026amp;signature=faa411a8d728a67c9bd90a9867155462df6df18a3f0377b81ba040e1100e92d3\">\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=\"Getting an access token - Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://resistantai.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Getting+an+access+token\u0026amp;description=How+to+obtain+an+OAuth+2.0+access+token+%28client+credentials%29+for+the+Resistant+Documents+API+across+stages+and+cells.\u0026amp;theme=f79165ce1e760ee331e0c96d\u0026amp;signature=faa411a8d728a67c9bd90a9867155462df6df18a3f0377b81ba040e1100e92d3\">\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/resistantai/aZPFi4_lVYJpbr4u/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5890FE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.resistant.ai/getting-started/getting-access-token\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/getting-started/getting-access-token.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.resistant.ai/#organization\",\"name\":\"Documentation\",\"url\":\"https://developers.resistant.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/resistantai/kBNVB9KZmz_Sil9l/logo/dark.svg?fit=max\u0026auto=format\u0026n=kBNVB9KZmz_Sil9l\u0026q=85\u0026s=527885b3a41aa2741b41c452ab420a74\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.resistant.ai#website\",\"name\":\"Documentation\",\"url\":\"https://developers.resistant.ai\",\"publisher\":{\"@id\":\"https://developers.resistant.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.resistant.ai/getting-started/getting-access-token#webpage\",\"url\":\"https://developers.resistant.ai/getting-started/getting-access-token\",\"name\":\"Getting an access token\",\"description\":\"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.\",\"dateModified\":\"2026-11-12T13:49:46.548Z\",\"isPartOf\":{\"@id\":\"https://developers.resistant.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developers.resistant.ai/getting-started/getting-access-token#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.resistant.ai/getting-started/getting-access-token#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting started\",\"item\":\"https://developers.resistant.ai/getting-started/about\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting an access token\",\"item\":\"https://developers.resistant.ai/getting-started/getting-access-token\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.resistant.ai/getting-started/getting-access-token#article\",\"headline\":\"Getting an access token\",\"name\":\"Getting an access token\",\"description\":\"How to obtain an OAuth 2.0 access token (client credentials) for the Resistant Documents API across stages and cells.\",\"url\":\"https://developers.resistant.ai/getting-started/getting-access-token\",\"mainEntityOfPage\":{\"@id\":\"https://developers.resistant.ai/getting-started/getting-access-token#webpage\"},\"dateModified\":\"2026-11-12T13:49:46.548Z\",\"publisher\":{\"@id\":\"https://developers.resistant.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.resistant.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/getting-started/getting-access-token.md","siteName":"Documentation","nav":{"global":null,"products":[{"product":"Resistant Documents API","color":{"light":"#5890FE","dark":"#5890FE"},"tabs":[{"tab":"Docs","groups":[{"group":"Getting started","pages":[{"title":"About Resistant Documents","icon":"book-copy","href":"/getting-started/about"},{"title":"Concepts","icon":"pen","href":"/getting-started/concepts"},{"title":"Authentication","icon":"key-skeleton","description":null,"href":"/getting-started/authentication"},{"title":"Getting an access token","icon":"lock-open","href":"/getting-started/getting-access-token"},{"title":"Quickstart API","icon":"diagram-sankey","description":null,"href":"/getting-started/quickstart-api"},{"title":"Authentication","hidden":true,"mode":"default","href":"/authentification"},{"title":"Authentication","hidden":true,"mode":"default","href":"/authentification"},{"title":"Domains to allowlist","icon":"check-double","href":"/getting-started/domains-to-allowlist"}]},{"group":"Integrate","pages":[{"title":"Core integration mechanics","icon":"book-bookmark","href":"/integrate/core-integration"},{"title":"Integration journeys","icon":"route","href":"/integrate/integration-journeys"},{"title":"Integration best practices","icon":"lightbulb","href":"/integrate/best-practices"},{"title":"Optional API capabilities","icon":"page","href":"/integrate/optional-features"},{"title":"Adaptive Decision","icon":"pen","href":"/integrate/adaptive-decision"},{"title":"Document classification","icon":"tags","href":"/document-classification"},{"title":"Downloadable PDF report","icon":"page","href":"/integrate/pdf-report"},{"group":"Optional features","pages":[{"title":"Submission characteristics","icon":"page","href":"/optional-features/submission-characteristics"},{"title":"Payload encryption","icon":"lock","href":"/optional-features/payload-encryption"},{"title":"Document tags","icon":"tags","href":"/optional-features/document-tags"}]}]},{"group":"Receiving results","pages":[{"title":"Overview","icon":"arrow-down-to-square","href":"/receiving-results/overview"},{"title":"Polling ","icon":"square-poll-horizontal","href":"/receiving-results/polling"},{"title":"Amazon SQS ","icon":"bell","href":"/receiving-results/amazon-sqs"},{"title":"Webhooks (Svix)","icon":"webhook","href":"/receiving-results/webhooks"},{"title":"Webhooks (Svix) - version with all endpoints","icon":"webhook","hidden":true,"href":"/receiving-results/webhooks-old-full"}]},{"group":"View results in Resistant UI","pages":[{"title":"UI overview","icon":"file","href":"/view-results/overview"},{"group":"Web UI","pages":[{"title":"Accessing the Web UI","icon":"file-dashed-line","href":"/view-results/web-ui/access"},{"title":"Authentication options","icon":"file-dashed-line","href":"/view-results/web-ui/authentication-options"},{"title":"SSO setup (SAML 2.0)","icon":"file-dashed-line","href":"/view-results/web-ui/sso-saml"},{"title":"SSO setup (OIDC)","icon":"file-dashed-line","href":"/view-results/web-ui/sso-oidc"},{"title":"SSO setup with MS Entra ID (SAML)","icon":"file-dashed-line","href":"/view-results/web-ui/sso-entra-id"},{"title":"Using the Web UI","icon":"file-dashed-line","href":"/view-results/web-ui/using-web-ui"},{"title":"Admin settings (password users)","icon":"user-gear","href":"/view-results/web-ui/page"}]},{"group":"Offline iFrame viewer","pages":[{"title":"Overview","icon":"frame","href":"/view-results/iframe/overview"},{"title":"Access and hosting","icon":"frame","href":"/view-results/iframe/access-hosting"},{"title":"Quickstart","icon":"frame","href":"/view-results/iframe/quickstart"},{"icon":"frame","title":"Visualize a Serial fraud cluster","href":"/view-results/iframe/serial-fraud"},{"title":"Troubleshooting","icon":"frame","href":"/view-results/iframe/troubleshooting"}]}]},{"group":"Operations \u0026 Support","pages":[{"title":"Document intake best practices","icon":"page","href":"/support/document-intake-best-practices"},{"title":"Supported formats","icon":"file","href":"/supported-formats"},{"title":"Limits \u0026 quotas","icon":"pager","href":"/support/limit-and-quotas"},{"title":"Contact support","icon":"phone","href":"/support/contact-support"}]},{"group":"Old \u0026 hidden","pages":[{"title":"Core workflow reference","hidden":true,"href":"/overview"},{"title":"Core Integration Mechanics","hidden":true,"href":"/core-integration"}]}]},{"tab":"API Reference","dropdowns":[{"dropdown":"EU","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json post /v2/submission","href":"/api-reference/create-a-submission-[eu-1]"},{"title":"Add submission characteristics [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[eu-1]"},{"title":"Fetch fraud result [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[eu-1]"},{"title":"Fetch quality result [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[eu-1]"},{"title":"Fetch Adaptive Decision result [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[eu-1]"},{"title":"Fetch document classification [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[eu-1]"},{"title":"Fetch PDF report [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[eu-1]"},{"title":"Delete submission [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[eu-1]"},{"title":"Get analysis feedback [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[eu-1]"},{"title":"Add analysis feedback [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[eu-1]"},{"title":"Create token [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json post /token","href":"/api-reference/create-token-[eu-1]"},{"title":"Fetch content result [limited]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/content","href":"/api-reference/fetch-content-result-[limited]"}]}]},{"dropdown":"US-1","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json post /v2/submission","href":"/api-reference/create-a-submission-[us-1]"},{"title":"Add submission characteristics [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[us-1]"},{"title":"Fetch fraud result [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[us-1]"},{"title":"Fetch quality result [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[us-1]"},{"title":"Fetch Adaptive Decision result [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[us-1]"},{"title":"Fetch document classification [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[us-1]"},{"title":"Fetch PDF report [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[us-1]"},{"title":"Delete submission [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[us-1]"},{"title":"Get analysis feedback [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[us-1]"},{"title":"Add analysis feedback [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[us-1]"},{"title":"Create token [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json post /token","href":"/api-reference/create-token-[us-1]"}]}]},{"dropdown":"AP-2","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json post /v2/submission","href":"/api-reference/create-a-submission-[ap-2]"},{"title":"Add submission characteristics [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[ap-2]"},{"title":"Fetch fraud result [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[ap-2]"},{"title":"Fetch quality result [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[ap-2]"},{"title":"Fetch Adaptive Decision result [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[ap-2]"},{"title":"Fetch document classification [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[ap-2]"},{"title":"Fetch PDF report [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[ap-2]"},{"title":"Delete submission [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[ap-2]"},{"title":"Get analysis feedback [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[ap-2]"},{"title":"Add analysis feedback [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[ap-2]"},{"title":"Create token [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json post /token","href":"/api-reference/create-token-[ap-2]"}]}]},{"dropdown":"AP-3","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json post /v2/submission","href":"/api-reference/create-a-submission-[ap-3]"},{"title":"Add submission characteristics [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[ap-3]"},{"title":"Fetch fraud result [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[ap-3]"},{"title":"Fetch quality result [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[ap-3]"},{"title":"Fetch Adaptive Decision result [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[ap-3]"},{"title":"Fetch document classification [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[ap-3]"},{"title":"Fetch PDF report [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[ap-3]"},{"title":"Delete submission [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[ap-3]"},{"title":"Get analysis feedback [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[ap-3]"},{"title":"Add analysis feedback [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[ap-3]"},{"title":"Create token [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json post /token","href":"/api-reference/create-token-[ap-3]"}]}]},{"dropdown":"CA-1","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json post /v2/submission","href":"/api-reference/create-a-submission-[ca-1]"},{"title":"Add submission characteristics [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[ca-1]"},{"title":"Fetch fraud result [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[ca-1]"},{"title":"Fetch quality result [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[ca-1]"},{"title":"Fetch Adaptive Decision result [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[ca-1]"},{"title":"Fetch document classification [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[ca-1]"},{"title":"Fetch PDF report [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[ca-1]"},{"title":"Delete submission [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[ca-1]"},{"title":"Get analysis feedback [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[ca-1]"},{"title":"Add analysis feedback [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[ca-1]"},{"title":"Create token [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json post /token","href":"/api-reference/create-token-[ca-1]"}]}]},{"dropdown":"Testing","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json post /v2/submission","href":"/api-reference/create-a-submission-[testing]"},{"title":"Add submission characteristics [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[testing]"},{"title":"Fetch fraud result [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[testing]"},{"title":"Fetch quality result [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[testing]"},{"title":"Fetch Adaptive Decision result [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[testing]"},{"title":"Fetch document classification [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[testing]"},{"title":"Fetch PDF report [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[testing]"},{"title":"Delete submission [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[testing]"},{"title":"Get analysis feedback [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[testing]"},{"title":"Add analysis feedback [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[testing]"},{"title":"Create token [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json post /token","href":"/api-reference/create-token-[testing]"},{"title":"Fetch content result [limited]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/content","href":"/api-reference/fetch-content-result-[limited]"}]}]}]},{"tab":"Status page ","href":"https://resistantai.statuspage.io/"},{"tab":"Trust center","href":"https://trust.resistant.ai/"}]},{"product":"Tenant Management API","color":{"light":"#5890FE","dark":"#5890FE"},"pages":[{"title":"Tenant Management API","href":"/tenant-management-api-overview"}]}]},"basePath":"","title":"Getting an access token - Documentation","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}