Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}. The API token can both be issued and revoked directly from the platform. Please go to the menu on the right side, click Developers and then API. Name the API token and associate your needed scopes.
Every endpoint requires a scope, and a token only reaches the endpoints its scopes cover. A scope is an access level and an area joined by a colon:
read:caseswrite:case-vouchers
The access level follows the HTTP method — GET requires read, and every other method requires write. The area is named on each endpoint under Required scope.Grant a token the narrowest set that covers what it does. A token that only mirrors data into a warehouse needs read scopes alone.
A scope grants exactly what it names.write:interactions does not grant write:interactions.create, and write:interactions.create does not grant write:interactions. If a token needs both, give it both.
Because a scope does not cascade, a token that gets a 401 on one endpoint
may work fine on a neighbouring one in the same area. Check the Required
scope on the endpoint itself rather than assuming the area is covered.
GET /iam/auth/permissions returns the scopes the calling token carries. It requires no scope itself, so it is the quickest way to confirm a token was issued with what you expect.
A request made with a token that lacks the required scope is rejected with 401 Unauthorized:
{ "statusCode": 401, "error": "Unauthorized", "message": "You do not have permission to access this resource", "requestId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"}
The scopes on an existing token can be changed under Developers → API in the platform without reissuing it.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Debbie API Documentation","colors":{"primary":"#7568F6","light":"#07C983","dark":"#7865FF"},"logo":{"light":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/light.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=34f2a25b0f723cac3a39f7df9c9b9dda","dark":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/dark.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=d98b66e4e6eed1f8e6543a2cce7f2c3c"},"favicon":"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/favicon.png?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=b00359cdd2e7b84f9413747385c3c094","navbar":{"links":[{"href":"mailto:api-support@debbie.dk","label":"API Support"}],"primary":{"type":"button","label":"Developer login","href":"https://app.debbiecollect.com/developers"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/debbie"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"API Status","icon":"chart-network","href":"https://debbie.checkly-status-page.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"debbie-bd9dd858","hasAudioNarration":false,"actualSubdomain":"debbie-bd9dd858","customDomains":["documentation.debbiecollect.com"],"gitSource":{"type":"github","owner":"debbie-platform","repo":"debbie","deployBranch":"master","contentDirectory":"documentation/public-api","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae0ad50d03bec028f0a57b1","collectionId":"cb01a054-1009-4387-8a77-2626444999ce","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae0ad50d03bec028f0a57b1"},"entitlements":{},"buildId":"6ae0ad50d03bec028f0a57b1","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Webhooks","count":37},{"language":"default","tag":"Customers","count":7},{"language":"default","tag":"Contacts","count":5},{"language":"default","tag":"Updates","count":5},{"language":"default","tag":"Using the API","count":5},{"language":"default","tag":"API Documentation","count":4},{"language":"default","tag":"Case groups","count":4},{"language":"default","tag":"Cases","count":4},{"language":"default","tag":"End reasons","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/authentication","slug":"/api-reference/authentication","pageMetadata":{"title":"Authentication","description":"Authenticate using bearer token","href":"/api-reference/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 using bearer token\"\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`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format `,_jsx(_components.code,{children:`Authorization: Bearer {token}`}),`. The API token can both be issued and revoked directly from the platform. Please go to the menu on the right side, click Developers and then API. Name the API token and associate your needed scopes.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer {token}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`scopes`,children:`Scopes`}),`\n`,_jsx(_components.p,{children:`Every endpoint requires a scope, and a token only reaches the endpoints its scopes cover. A scope is an access level and an area joined by a colon:`}),`\n`,_jsx(CodeBlock,{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:`read:cases`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`write:case-vouchers`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The access level follows the HTTP method — `,_jsx(_components.code,{children:`GET`}),` requires `,_jsx(_components.code,{children:`read`}),`, and every other method requires `,_jsx(_components.code,{children:`write`}),`. The area is named on each endpoint under `,_jsx(_components.strong,{children:`Required scope`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Grant a token the narrowest set that covers what it does. A token that only mirrors data into a warehouse needs `,_jsx(_components.code,{children:`read`}),` scopes alone.`]}),`\n`,_jsx(Heading,{level:`3`,id:`sub-areas`,children:`Sub-areas`}),`\n`,_jsx(_components.p,{children:`Some areas have a sub-area, written with a dot:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`write:interactions.create`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`A scope grants exactly what it names.`}),` `,_jsx(_components.code,{children:`write:interactions`}),` does not grant `,_jsx(_components.code,{children:`write:interactions.create`}),`, and `,_jsx(_components.code,{children:`write:interactions.create`}),` does not grant `,_jsx(_components.code,{children:`write:interactions`}),`. If a token needs both, give it both.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Because a scope does not cascade, a token that gets a `,_jsx(_components.code,{children:`401`}),` on one endpoint\nmay work fine on a neighbouring one in the same area. Check the `,_jsx(_components.strong,{children:`Required\nscope`}),` on the endpoint itself rather than assuming the area is covered.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`checking-a-token’s-scopes`,children:`Checking a token’s scopes`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /iam/auth/permissions`}),` returns the scopes the calling token carries. It requires no scope itself, so it is the quickest way to confirm a token was issued with what you expect.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scopes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read:cases\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read:case-vouchers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read:updates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`when-a-scope-is-missing`,children:`When a scope is missing`}),`\n`,_jsxs(_components.p,{children:[`A request made with a token that lacks the required scope is rejected with `,_jsx(_components.code,{children:`401 Unauthorized`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`401`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unauthorized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You do not have permission to access this resource\"`}),_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:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The scopes on an existing token can be changed under Developers → API in the platform without reissuing it.`})]})}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 using bearer token","href":"/api-reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Scopes","slug":"scopes","depth":2,"children":[{"title":"Sub-areas","slug":"sub-areas","depth":3,"children":[]},{"title":"Checking a token’s scopes","slug":"checking-a-token’s-scopes","depth":3,"children":[]},{"title":"When a scope is missing","slug":"when-a-scope-is-missing","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"debbie-bd9dd858","siteName":"Debbie API Documentation","title":"Authentication - Debbie API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-30T19:46:29.398Z","originalFileLocation":"api-reference/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 using bearer token\">\u003cmeta data-mint-head name=\"application-name\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Debbie API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate using bearer token\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://documentation.debbiecollect.com/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://debbie-bd9dd858.mintlify.app/_mintlify/api/og/v2?division=API+Documentation\u0026amp;title=Authentication\u0026amp;description=Authenticate+using+bearer+token\u0026amp;theme=568c15aea0b469fea9c832af\u0026amp;signature=997ba71e197f6df0159492db8614c9cf8809271cdb74342a638b90154b1ba84f\">\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 - Debbie API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate using bearer token\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://debbie-bd9dd858.mintlify.app/_mintlify/api/og/v2?division=API+Documentation\u0026amp;title=Authentication\u0026amp;description=Authenticate+using+bearer+token\u0026amp;theme=568c15aea0b469fea9c832af\u0026amp;signature=997ba71e197f6df0159492db8614c9cf8809271cdb74342a638b90154b1ba84f\">\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/debbie-bd9dd858/3I-wXo3P_fRaHJhV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Debbie API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7568F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://documentation.debbiecollect.com/api-reference/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/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://documentation.debbiecollect.com/#organization\",\"name\":\"Debbie API Documentation\",\"url\":\"https://documentation.debbiecollect.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/debbie-bd9dd858/c4KJPAFU082ys87I/logo/light.svg?fit=max\u0026auto=format\u0026n=c4KJPAFU082ys87I\u0026q=85\u0026s=34f2a25b0f723cac3a39f7df9c9b9dda\"}},{\"@type\":\"WebSite\",\"@id\":\"https://documentation.debbiecollect.com#website\",\"name\":\"Debbie API Documentation\",\"url\":\"https://documentation.debbiecollect.com\",\"publisher\":{\"@id\":\"https://documentation.debbiecollect.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://documentation.debbiecollect.com/api-reference/authentication#webpage\",\"url\":\"https://documentation.debbiecollect.com/api-reference/authentication\",\"name\":\"Authentication\",\"description\":\"Authenticate using bearer token\",\"dateModified\":\"2026-08-30T19:46:29.398Z\",\"isPartOf\":{\"@id\":\"https://documentation.debbiecollect.com#website\"},\"breadcrumb\":{\"@id\":\"https://documentation.debbiecollect.com/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://documentation.debbiecollect.com/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://documentation.debbiecollect.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://documentation.debbiecollect.com/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://documentation.debbiecollect.com/api-reference/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Authenticate using bearer token\",\"url\":\"https://documentation.debbiecollect.com/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://documentation.debbiecollect.com/api-reference/authentication#webpage\"},\"dateModified\":\"2026-08-30T19:46:29.398Z\",\"publisher\":{\"@id\":\"https://documentation.debbiecollect.com/#organization\"},\"isPartOf\":{\"@id\":\"https://documentation.debbiecollect.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Debbie API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Debbie API Documentation","nav":{"global":{"anchors":[{"anchor":"API Status","icon":"chart-network","href":"https://debbie.checkly-status-page.com"}]},"tabs":[{"tab":"Using the API","pages":[{"title":"Using the API","href":""}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","description":"Welcome to the Debbie API","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Pagination","description":"How list endpoints paginate results","href":"/api-reference/pagination"},{"title":"Idempotency","href":"/api-reference/idempotency"}]},{"group":"Creditors","pages":[{"title":"Create creditor","openapi":"POST /v1/{tenantId}/creditors","href":"/api-reference/endpoints/creditors/create"},{"title":"Get creditor","openapi":"GET /v1/{tenantId}/creditors/{creditorId}","href":"/api-reference/endpoints/creditors/get"},{"title":"Patch creditor","openapi":"PATCH /v1/{tenantId}/creditors/{creditorId}","href":"/api-reference/endpoints/creditors/patch"}]},{"group":"Customers","pages":[{"title":"Create customer","openapi":"POST /v1/{tenantId}/customers","href":"/api-reference/endpoints/customers/create"},{"title":"Get customer id","openapi":"GET /v1/{tenantId}/customers/{id}","href":"/api-reference/endpoints/customers/get"},{"title":"Get customer by reference id","openapi":"GET /v1/{tenantId}/customers/by-reference-id/{referenceId}","href":"/api-reference/endpoints/customers/get-by-reference"},{"title":"Delete customer","openapi":"DELETE /v1/{tenantId}/customers/{id}","href":"/api-reference/endpoints/customers/delete"},{"title":"Add case vouchers","openapi":"POST /v1/{tenantId}/customers/{customerId}/add-case-vouchers","href":"/api-reference/endpoints/customers/add-case-vouchers"},{"title":"Add user on customer","openapi":"POST /v1/{tenantId}/customers/{customerId}/users","href":"/api-reference/endpoints/customers/add-user-on-customer"},{"title":"Patch user on customer","openapi":"PATCH /v1/{tenantId}/customers/{customerId}/users/{userId}","href":"/api-reference/endpoints/customers/patch-user-on-customer"}]},{"group":"Cases","pages":[{"title":"Create case","openapi":"POST /v1/{tenantId}/cases","href":"/api-reference/endpoints/cases/create"},{"title":"Get case","openapi":"GET /v1/{tenantId}/cases/{id}","href":"/api-reference/endpoints/cases/get"},{"title":"Get cases","openapi":"GET /v1/{tenantId}/cases","href":"/api-reference/endpoints/cases/get-list"},{"title":"Patch case","openapi":"PATCH /v1/{tenantId}/cases/{id}","href":"/api-reference/endpoints/cases/patch"}]},{"group":"Case groups","pages":[{"title":"Get case groups","openapi":"GET /v1/{tenantId}/case-groups","href":"/api-reference/endpoints/case-groups/get-list"},{"title":"Create case group","openapi":"POST /v1/{tenantId}/case-groups","href":"/api-reference/endpoints/case-groups/create"},{"title":"Update case group","openapi":"PATCH /v1/{tenantId}/case-groups/{caseGroupId}","href":"/api-reference/endpoints/case-groups/update"},{"title":"Delete case group","openapi":"DELETE /v1/{tenantId}/case-groups/{caseGroupId}","href":"/api-reference/endpoints/case-groups/delete"}]},{"group":"Case vouchers","pages":[{"title":"Add case voucher","openapi":"POST /v1/{tenantId}/case-vouchers/{id}","href":"/api-reference/endpoints/case-vouchers/create"},{"title":"Get case vouchers","openapi":"GET /v1/{tenantId}/case-vouchers","href":"/api-reference/endpoints/case-vouchers/get-list"},{"title":"Get case voucher","openapi":"GET /v1/{tenantId}/case-vouchers/{id}","href":"/api-reference/endpoints/case-vouchers/get"}]},{"group":"Payment plans","pages":[{"title":"Get payment plans","openapi":"GET /v1/{tenantId}/payment-plans","href":"/api-reference/endpoints/payment-plans/get-list"},{"title":"Get payment plan","openapi":"GET /v1/{tenantId}/payment-plans/{paymentPlanId}","href":"/api-reference/endpoints/payment-plans/get"}]},{"group":"Interactions","pages":[{"title":"Create interaction","openapi":"POST /v1/{tenantId}/interactions","href":"/api-reference/endpoints/interactions/create"}]},{"group":"Case voucher allocations","pages":[{"title":"Register case voucher allocation","openapi":"POST /v1/{tenantId}/case-vouchers/allocations","href":"/api-reference/endpoints/case-vouchers/allocations"}]},{"group":"Billing","pages":[{"title":"Get deposit distribution","openapi":"GET /v1/{tenantId}/billings/{billingId}/deposit-distribution","href":"/api-reference/endpoints/billing/get"},{"title":"Get billing vouchers","openapi":"GET /v1/{tenantId}/billings/{billingId}/billing-vouchers","href":"/api-reference/endpoints/billing/get-billing-vouchers"}]},{"group":"Transaction accounts","pages":[{"title":"Get transaction accounts","openapi":"GET /v1/{tenantId}/transaction-accounts","href":"/api-reference/endpoints/transaction-accounts/get"},{"title":"Create transaction account","openapi":"POST /v1/{tenantId}/transaction-accounts","href":"/api-reference/endpoints/transaction-accounts/create"},{"title":"Patch transaction account","openapi":"PATCH /v1/{tenantId}/transaction-accounts/{id}","href":"/api-reference/endpoints/transaction-accounts/patch"},{"title":"Delete transaction account","openapi":"DELETE /v1/{tenantId}/transaction-accounts/{id}","href":"/api-reference/endpoints/transaction-accounts/delete"}]},{"group":"Voucher types","pages":[{"title":"Get voucher types","openapi":"GET /v1/{tenantId}/voucher-types","href":"/api-reference/endpoints/voucher-types/get"}]},{"group":"Contacts","pages":[{"title":"Get contacts","openapi":"GET /v1/{tenantId}/contacts","href":"/api-reference/endpoints/contacts/get-list"},{"title":"Get contact","openapi":"GET /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/get"},{"title":"Create contact","openapi":"POST /v1/{tenantId}/contacts","href":"/api-reference/endpoints/contacts/create"},{"title":"Update contact","openapi":"PATCH /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/update"},{"title":"Delete contact","openapi":"DELETE /v1/{tenantId}/contacts/{contactId}","href":"/api-reference/endpoints/contacts/delete"}]},{"group":"End reasons","pages":[{"title":"Get end reasons","openapi":"GET /v1/{tenantId}/end-reasons","href":"/api-reference/endpoints/end-reasons/get-list"},{"title":"Create end reason","openapi":"POST /v1/{tenantId}/end-reasons","href":"/api-reference/endpoints/end-reasons/create"},{"title":"Update end reason","openapi":"PATCH /v1/{tenantId}/end-reasons/{endReasonId}","href":"/api-reference/endpoints/end-reasons/update"},{"title":"Delete end reason","openapi":"DELETE /v1/{tenantId}/end-reasons/{endReasonId}","href":"/api-reference/endpoints/end-reasons/delete"}]},{"group":"Updates","pages":[{"title":"Get update types","openapi":"GET /v1/{tenantId}/updates/types","href":"/api-reference/endpoints/updates/get-types"},{"title":"Get updates","openapi":"GET /v1/{tenantId}/updates","href":"/api-reference/endpoints/updates/get-list"},{"title":"Get update","openapi":"GET /v1/{tenantId}/updates/{updateId}","href":"/api-reference/endpoints/updates/get"},{"title":"Create update","openapi":"POST /v1/{tenantId}/updates","href":"/api-reference/endpoints/updates/create"},{"title":"Patch update","openapi":"PATCH /v1/{tenantId}/updates/{updateId}","href":"/api-reference/endpoints/updates/patch"}]},{"group":"Properties","pages":[{"title":"Get properties","openapi":"GET /v1/{tenantId}/properties/{refType}/{refId}","href":"/api-reference/endpoints/properties/get"}]},{"group":"Files","pages":[{"title":"Create file","openapi":"POST /v1/{tenantId}/files","href":"/api-reference/endpoints/files/create"},{"title":"Get file","openapi":"GET /v1/{tenantId}/files/{fileId}/{fileName}","href":"/api-reference/endpoints/files/get"}]},{"group":"Documents","pages":[{"title":"Add document","openapi":"POST /v1/{tenantId}/documents","href":"/api-reference/endpoints/documents/create"}]},{"group":"Webhooks","pages":[{"title":"Create webhook","openapi":"POST /v1/{tenantId}/webhooks","href":"/api-reference/endpoints/webhooks/create"},{"title":"Get webhooks","openapi":"GET /v1/{tenantId}/webhooks","href":"/api-reference/endpoints/webhooks/get-list"},{"title":"Get webhook","openapi":"GET /v1/{tenantId}/webhooks/{webhookId}","href":"/api-reference/endpoints/webhooks/get"},{"title":"Delete webhook","openapi":"DELETE /v1/{tenantId}/webhooks/{webhookId}","href":"/api-reference/endpoints/webhooks/delete"},{"title":"Get webhook items","openapi":"GET /v1/{tenantId}/webhooks/items","href":"/api-reference/endpoints/webhooks/get-items"},{"title":"Patch webhook item","openapi":"PATCH /v1/{tenantId}/webhooks/items/{itemId}","href":"/api-reference/endpoints/webhooks/patch-item"},{"title":"Update created","openapi":"webhook updates.create","href":"/api-reference/webhooks/updates.create"},{"title":"Update updated","openapi":"webhook updates.update","href":"/api-reference/webhooks/updates.update"},{"title":"Update deleted","openapi":"webhook updates.delete","href":"/api-reference/webhooks/updates.delete"},{"title":"Creditor created","openapi":"webhook creditors.create","href":"/api-reference/webhooks/creditors.create"},{"title":"Creditor updated","openapi":"webhook creditors.update","href":"/api-reference/webhooks/creditors.update"},{"title":"Case voucher created","openapi":"webhook case-vouchers.create","href":"/api-reference/webhooks/case-vouchers.create"},{"title":"Case voucher updated","openapi":"webhook case-vouchers.update","href":"/api-reference/webhooks/case-vouchers.update"},{"title":"Case voucher deleted","openapi":"webhook case-vouchers.delete","href":"/api-reference/webhooks/case-vouchers.delete"},{"title":"Deposit created","openapi":"webhook deposits.created","href":"/api-reference/webhooks/deposits.created"},{"title":"Deposit booked","openapi":"webhook deposits.booked","href":"/api-reference/webhooks/deposits.booked"},{"title":"Deposit moved","openapi":"webhook deposits.moved","href":"/api-reference/webhooks/deposits.moved"},{"title":"Deposit unbooked","openapi":"webhook deposits.unbooked","href":"/api-reference/webhooks/deposits.unbooked"},{"title":"Deposit deleted","openapi":"webhook deposits.deleted","href":"/api-reference/webhooks/deposits.deleted"},{"title":"Deposit restored","openapi":"webhook deposits.restored","href":"/api-reference/webhooks/deposits.restored"},{"title":"Payment plan created","openapi":"webhook payment-plans.create","href":"/api-reference/webhooks/payment-plans.create"},{"title":"Payment plan updated","openapi":"webhook payment-plans.update","href":"/api-reference/webhooks/payment-plans.update"},{"title":"Payment plan deleted","openapi":"webhook payment-plans.delete","href":"/api-reference/webhooks/payment-plans.delete"},{"title":"Interaction sent","openapi":"webhook interactions.send","href":"/api-reference/webhooks/interactions.send"},{"title":"Customer created","openapi":"webhook customers.create","href":"/api-reference/webhooks/customers.create"},{"title":"Customer updated","openapi":"webhook customers.update","href":"/api-reference/webhooks/customers.update"},{"title":"Customer deleted","openapi":"webhook customers.delete","href":"/api-reference/webhooks/customers.delete"},{"title":"User on customer created","openapi":"webhook users-on-customers.create","href":"/api-reference/webhooks/users-on-customers.create"},{"title":"User on customer updated","openapi":"webhook users-on-customers.update","href":"/api-reference/webhooks/users-on-customers.update"},{"title":"User on customer deleted","openapi":"webhook users-on-customers.delete","href":"/api-reference/webhooks/users-on-customers.delete"},{"title":"Case created","openapi":"webhook cases.create","href":"/api-reference/webhooks/cases.create"},{"title":"Case updated","openapi":"webhook cases.update","href":"/api-reference/webhooks/cases.update"},{"title":"Case deleted","openapi":"webhook cases.delete","href":"/api-reference/webhooks/cases.delete"},{"title":"Case merged","openapi":"webhook cases.merge","href":"/api-reference/webhooks/cases.merge"},{"title":"Case merge undoed","openapi":"webhook cases.undo-merge","href":"/api-reference/webhooks/cases.undo-merge"},{"title":"Billing created","openapi":"webhook billings.create","href":"/api-reference/webhooks/billings.create"},{"title":"Payout created","openapi":"webhook payouts.create","href":"/api-reference/webhooks/payouts.create"}]}]}]},"basePath":"","title":"Authentication - Debbie API Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}