Staging host change: staging is now served from https://partners-api.pre.cobee.io. The previous host pre-partners-api.cobee.io still works, but it is deprecated and will be retired in the future.
Authentication is an essential part of securing access to the API. In our API, we use JWT (JSON Web Token) to verify the identity of users and systems accessing the API. To obtain a JWT, you must authenticate using your clientId and clientSecret.JWT is a compact, URL-safe means of representing claims to be transferred between two parties. It is used to authenticate API calls and validate that the user has the proper access privileges.
Obtain your clientId and clientSecret:
These credentials are provided when you register your application with the API provider. You will use these credentials to authenticate and obtain the JWT.
Authenticate to get the JWT:
Use your clientId and clientSecret to request a JWT using the Oauth Endpoint.
Important Notice
The JWT has an expiration time, so you will need to re-authenticate periodically to obtain a new token.
Important Notice
Treat clientId, clientSecret and jwtToken as sensitive data:
Do not commit them in version control or expose them in logs
Store them securely (e.g. using a secrets manager)
Do not expose them in client-side code or share them publicly
You are ready to start using the API!
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cobee by Pluxee - Partners API Documentation","colors":{"primary":"#1B51DC","light":"#00EB5E","dark":"#1B51DC"},"logo":{"light":"https://mintcdn.com/pluxee-4cf195bf/cnWEWySeijRBtLVc/publicApi/logo/cobee_light.svg?fit=max\u0026auto=format\u0026n=cnWEWySeijRBtLVc\u0026q=85\u0026s=2fb0e4bc4b4d630455ec24dddd273fc6","dark":"https://mintcdn.com/pluxee-4cf195bf/cnWEWySeijRBtLVc/publicApi/logo/cobee_dark.svg?fit=max\u0026auto=format\u0026n=cnWEWySeijRBtLVc\u0026q=85\u0026s=abe6e6c45443314e03c8bd3be7736cc6"},"favicon":"https://mintcdn.com/pluxee-4cf195bf/VoVGphp1enuLODav/publicApi/favicon.png?fit=max\u0026auto=format\u0026n=VoVGphp1enuLODav\u0026q=85\u0026s=0f6677d1b2b59306b329d9da83bd1daa","api":{"playground":{"proxy":false}},"background":{"color":{"light":"#FFFFFF","dark":"#0E0C1D"}},"navbar":{"links":[]},"footer":{"socials":{"linkedin":"https://linkedin.com/company/cobee-espana"}},"banner":{"content":"**Staging host change:** staging is now served from `https://partners-api.pre.cobee.io`. The previous host `pre-partners-api.cobee.io` still works, but it is deprecated and will be retired in the future."},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"publicApi/en/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pluxee-4cf195bf","hasAudioNarration":false,"actualSubdomain":"pluxee-4cf195bf","customDomains":["docs.partners.api.cobee.io"],"gitSource":{"type":"gitlab","owner":"cobee/companies","repo":"public-api","deployBranch":"master","contentDirectory":"docs/mintlify/partnersApi","isPrivate":true,"projectId":68809709,"mountPath":"","label":""},"entitlements":{},"buildId":"6af4a971b0a02f7b93f3e410","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"en","tag":"API Reference","count":36},{"language":"en","tag":"Webhook Reference","count":20},{"language":"en","tag":"Guides","count":11},{"language":"en","tag":"Employees","count":11},{"language":"en","tag":"Webhook Subscriptions","count":9},{"language":"en","tag":"Get Started","count":7},{"language":"en","tag":"Consumption Reports","count":6},{"language":"en","tag":"Limits","count":6},{"language":"en","tag":"Event Models","count":6},{"language":"en","tag":"Committed Expenses","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"publicApi/en/api-reference/authentication","slug":"/publicApi/en/api-reference/authentication","pageMetadata":{"title":"Authentication","description":"Learn about how to authenticate with the API","icon":"shield-check","href":"/publicApi/en/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: \"Learn about how to authenticate with the API\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Authentication is an essential part of securing access to the API. In our API, we use `,_jsx(_components.strong,{children:`JWT (JSON Web Token)`}),` to verify the identity of users and systems accessing the API. To obtain a JWT, you must authenticate using your `,_jsx(_components.strong,{children:`clientId`}),` and `,_jsx(_components.strong,{children:`clientSecret`}),`.`]}),`\n`,_jsx(_components.p,{children:`JWT is a compact, URL-safe means of representing claims to be transferred between two parties. It is used to authenticate API calls and validate that the user has the proper access privileges.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication-flow`,children:`Authentication Flow`}),`\n`,_jsx(_components.p,{children:`To authenticate with the API, follow these steps:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Obtain your clientId and clientSecret:`}),`\nThese credentials are provided when you register your application with the API provider. You will use these credentials to authenticate and obtain the JWT.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authenticate to get the JWT:`}),`\nUse your `,_jsx(_components.strong,{children:`clientId`}),` and `,_jsx(_components.strong,{children:`clientSecret`}),` to request a JWT using the `,_jsx(_components.a,{href:`/publicApi/en/api-reference/authentication/endpoint/post_authenticate`,target:`_self`,children:`Oauth Endpoint`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important Notice`}),_jsx(`br`,{}),`\nThe JWT has an expiration time, so you will need to re-authenticate periodically to obtain a new token.`]})}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important Notice`}),_jsx(`br`,{}),`\nTreat `,_jsx(_components.code,{children:`clientId`}),`, `,_jsx(_components.code,{children:`clientSecret`}),` and `,_jsx(_components.code,{children:`jwtToken`}),` as sensitive data:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Do not commit them in version control or expose them in logs`}),`\n`,_jsx(_components.li,{children:`Store them securely (e.g. using a secrets manager)`}),`\n`,_jsx(_components.li,{children:`Do not expose them in client-side code or share them publicly`}),`\n`]})]}),`\n`,_jsx(_components.p,{children:`You are ready to start using the API!`})]})}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":"Learn about how to authenticate with the API","icon":"shield-check","href":"/publicApi/en/api-reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Authentication Flow","slug":"authentication-flow","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pluxee-4cf195bf","siteName":"Cobee by Pluxee - Partners API Documentation","title":"Authentication - Cobee by Pluxee - Partners API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/publicApi/en/api-reference/authentication","matchLevel":0}}},"lastModified":"2025-09-22T09:26:47.495Z","originalFileLocation":"publicApi/en/api-reference/authentication.mdx","locale":"en"},"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=\"Learn about how to authenticate with the API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cobee by Pluxee - Partners 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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Cobee by Pluxee - Partners API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn about how to authenticate with the API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cobee by Pluxee - Partners API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pluxee-4cf195bf.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Authentication\u0026amp;description=Learn+about+how+to+authenticate+with+the+API\u0026amp;theme=1c5cc00c9696ad3b947b590b\u0026amp;signature=3cd884d2387ee0741b01f9f350d77ea010a8c9fe3f4ed6b5b74d435f465cc1f3\">\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 - Cobee by Pluxee - Partners API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn about how to authenticate with the API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pluxee-4cf195bf.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Authentication\u0026amp;description=Learn+about+how+to+authenticate+with+the+API\u0026amp;theme=1c5cc00c9696ad3b947b590b\u0026amp;signature=3cd884d2387ee0741b01f9f350d77ea010a8c9fe3f4ed6b5b74d435f465cc1f3\">\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/pluxee-4cf195bf/S9yYqaLJ2agtpdVn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cobee by Pluxee - Partners API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1B51DC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.partners.api.cobee.io/publicApi/en/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=\"/publicApi/en/api-reference/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.partners.api.cobee.io/#organization\",\"name\":\"Cobee by Pluxee - Partners API Documentation\",\"url\":\"https://docs.partners.api.cobee.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pluxee-4cf195bf/cnWEWySeijRBtLVc/publicApi/logo/cobee_light.svg?fit=max\u0026auto=format\u0026n=cnWEWySeijRBtLVc\u0026q=85\u0026s=2fb0e4bc4b4d630455ec24dddd273fc6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.partners.api.cobee.io#website\",\"name\":\"Cobee by Pluxee - Partners API Documentation\",\"url\":\"https://docs.partners.api.cobee.io\",\"publisher\":{\"@id\":\"https://docs.partners.api.cobee.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication#webpage\",\"url\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication\",\"name\":\"Authentication\",\"description\":\"Learn about how to authenticate with the API\",\"dateModified\":\"2025-09-22T09:26:47.495Z\",\"isPartOf\":{\"@id\":\"https://docs.partners.api.cobee.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/api_introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Learn about how to authenticate with the API\",\"url\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.partners.api.cobee.io/publicApi/en/api-reference/authentication#webpage\"},\"dateModified\":\"2025-09-22T09:26:47.495Z\",\"publisher\":{\"@id\":\"https://docs.partners.api.cobee.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.partners.api.cobee.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cobee by Pluxee - Partners API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cobee by Pluxee - Partners API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/publicApi/en/api-reference/authentication.md","siteName":"Cobee by Pluxee - Partners API Documentation","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/publicApi/en/welcome"}]},{"tab":"API Reference","groups":[{"group":"Get Started","pages":[{"title":"Get Started","description":"Let’s get you up and running with our API!","icon":"rocket","href":"/publicApi/en/api-reference/api_introduction"},{"title":"Authentication","icon":"shield-check","href":"/publicApi/en/api-reference/authentication"},{"title":"Rate Limits","description":"Understand API rate limiting and how to handle it effectively","icon":"stopwatch","href":"/publicApi/en/api-reference/rate-limits"}]},{"group":"Guides","pages":[{"group":"Consumption Reports","icon":"arrows-to-circle","pages":[{"title":"How to obtain Employee Termination Reports","icon":"chart-bar","href":"/publicApi/en/api-reference/guides/how-to-obtain-termination-reports"},{"title":"How to obtain Monthly Reports","icon":"chart-bar","href":"/publicApi/en/api-reference/guides/how-to-obtain-monthly-reports"}]},{"group":"Employee Limits","icon":"arrows-to-circle","pages":[{"title":"Overview","icon":"chart-bar","href":"/en/api-reference/limits/overview"}]}]},{"group":"Data Models","pages":[{"title":"Consumption Reports","icon":"table-list","href":"/publicApi/en/api-reference/data-models/consumption-report"}]},{"group":"Authentication","pages":[{"title":"Post Oauth Token","openapi":"POST /oauth/token","href":"/publicApi/en/api-reference/authentication/endpoint/post_authenticate"}]},{"group":"Corporations","pages":[{"title":"List corporations","openapi":"GET /corporations","href":"/en/api-reference/corporations/endpoint/get_corporations"}]},{"group":"Employees","pages":[{"title":"Register employee","openapi":"POST /companies/{companyId}/employees","href":"/publicApi/en/api-reference/employees/endpoint/post_employee"},{"title":"Invite employee","openapi":"POST /companies/{companyId}/employees/{employeeId}/invite","href":"/publicApi/en/api-reference/employees/endpoint/post_employee_invite"},{"title":"Get employee","openapi":"GET /companies/{companyId}/employees/{employeeId}","href":"/publicApi/en/api-reference/employees/endpoint/get_employee"},{"title":"Get employees","openapi":"GET /companies/{companyId}/employees","href":"/publicApi/en/api-reference/employees/endpoint/get_employees"},{"title":"Update employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}","href":"/publicApi/en/api-reference/employees/endpoint/patch_employee"},{"title":"Block employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}/block","href":"/publicApi/en/api-reference/employees/endpoint/patch_employee_block"},{"title":"Unblock employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}/unblock","href":"/publicApi/en/api-reference/employees/endpoint/patch_employee_unblock"},{"title":"Remove employee","openapi":"DELETE /companies/{companyId}/employees/{employeeId}","href":"/publicApi/en/api-reference/employees/endpoint/delete_employee"},{"title":"Restore employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}/restore","href":"/publicApi/en/api-reference/employees/endpoint/patch_employee_restore"},{"title":"Migrate employee","openapi":"POST /companies/{companyId}/employees/{employeeId}/migrate","href":"/publicApi/en/api-reference/employees/endpoint/post_employee_migrate"},{"title":"Move employee","openapi":"POST /companies/{companyId}/employees/{employeeId}/move","href":"/publicApi/en/api-reference/employees/endpoint/post_employee_move"}]},{"group":"Family Members","pages":[{"title":"[DRAFT] Create family member","openapi":"POST /companies/{companyId}/employees/{employeeId}/family-members","href":"/en/api-reference/family-members/endpoint/post_family_member"},{"title":"List family members","openapi":"GET /companies/{companyId}/employees/{employeeId}/family-members","href":"/en/api-reference/family-members/endpoint/get_family_members"},{"title":"[DRAFT] Get family member","openapi":"GET /companies/{companyId}/employees/{employeeId}/family-members/{familyMemberId}","href":"/en/api-reference/family-members/endpoint/get_family_member"}]},{"group":"Limits","pages":[{"title":"Set recurrent limit","openapi":"PUT /companies/{companyId}/employees/{employeeId}/limits/recurrent","href":"/en/api-reference/limits/endpoint/put_employee_limits_recurrent"},{"title":"Set punctual limit","openapi":"PUT /companies/{companyId}/employees/{employeeId}/limits/punctual","href":"/en/api-reference/limits/endpoint/put_employee_limits_punctual"},{"title":"List employee limits","openapi":"GET /companies/{companyId}/employees/{employeeId}/limits","href":"/en/api-reference/limits/endpoint/get_employee_limits"},{"title":"List corporation limits","openapi":"GET /corporations/{corporationId}/limits","href":"/en/api-reference/limits/endpoint/get_corporation_limits"},{"title":"Disable an employee benefit limit","openapi":"POST /companies/{companyId}/limits/disable","href":"/en/api-reference/limits/endpoint/post_disable_limits"},{"title":"Enable an employee benefit limit","openapi":"POST /companies/{companyId}/limits/enable","href":"/en/api-reference/limits/endpoint/post_enable_limits"}]},{"group":"Consumption Reports","pages":[{"title":"List corporation consumptions","openapi":"GET /corporations/{corporationId}/consumptions","href":"/en/api-reference/consumptions/endpoint/get_corporation_consumptions"},{"title":"List company consumptions","openapi":"GET /companies/{companyId}/consumptions","href":"/publicApi/en/api-reference/consumptions/endpoint/get_company_consumptions"},{"title":"List employee consumptions","openapi":"GET /companies/{companyId}/employees/{employeeId}/consumptions","href":"/publicApi/en/api-reference/consumptions/endpoint/get_employee_consumptions"},{"title":"Create employee consumptions","openapi":"POST /companies/{companyId}/payroll-cycles/{payrollCycleId}/employees/{employeeId}/consumptions","href":"/publicApi/en/api-reference/consumptions/endpoint/post_employee_consumption"}]},{"group":"Payroll Cycles","pages":[{"title":"Get Payroll Cycles","openapi":"GET /companies/{companyId}/payroll-cycles","href":"/publicApi/en/api-reference/payroll-cycles/endpoint/get_payroll_cycles"},{"title":"Close Payroll Cycle","openapi":"POST /companies/{companyId}/payroll-cycles/{payrollCycleId}","href":"/publicApi/en/api-reference/payroll-cycles/endpoint/post_payroll_cycle"}]},{"group":"Committed Expenses","pages":[{"title":"[DRAFT] Find committed expenses","openapi":"GET /committed-expenses","href":"/en/api-reference/committed-expenses/endpoint/get_committed_expenses"}]}]},{"tab":"Webhook Reference","pages":[{"title":"Webhook Reference","href":"/en/api-reference/webhooks/overview"}]}],"global":{"anchors":[{"anchor":"Cobee Homepage","icon":"c","href":"https://cobee.io/"}]}}]},"basePath":"","title":"Authentication - Cobee by Pluxee - Partners API Documentation","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DV3Oq1fY.js","dist-C-XZBk9h.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-D3Isdib3.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}