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 - Public API Documentation","colors":{"primary":"#1B51DC","light":"#00EB5E","dark":"#1B51DC"},"logo":{"light":"https://mintcdn.com/cobee/9xUZcwN4NOUCTDuX/logo/cobee_light.svg?fit=max\u0026auto=format\u0026n=9xUZcwN4NOUCTDuX\u0026q=85\u0026s=4e50c283f6bcbf11e86cf1bca5c447f0","dark":"https://mintcdn.com/cobee/9xUZcwN4NOUCTDuX/logo/cobee_dark.svg?fit=max\u0026auto=format\u0026n=9xUZcwN4NOUCTDuX\u0026q=85\u0026s=3b5b8fff0c7c610e800fd749048670e1"},"favicon":"https://mintcdn.com/cobee/PCkU581NfM2tS8aK/favicon.png?fit=max\u0026auto=format\u0026n=PCkU581NfM2tS8aK\u0026q=85\u0026s=534054732dcb2f8f4da0e133cec140e2","api":{"playground":{"proxy":false}},"background":{"color":{"light":"#FFFFFF","dark":"#0E0C1D"}},"navbar":{"links":[]},"footer":{"socials":{"linkedin":"https://linkedin.com/company/cobee-espana"}},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"en/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cobee","hasAudioNarration":false,"actualSubdomain":"cobee","customDomains":["docs.api.cobee.io"],"gitSource":{"type":"gitlab","owner":"cobee/companies","repo":"public-api","deployBranch":"master","contentDirectory":"docs/mintlify/publicApi","isPrivate":true,"projectId":68809709,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6acf38e6b7a70ebe915f1a35","collectionId":"fbf1ef61-fe32-49d8-bb2a-e26b3f7e47ed","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acf38e6b7a70ebe915f1a35"},"entitlements":{},"buildId":"6acf38e6b7a70ebe915f1a35","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"en","tag":"API Reference","count":25},{"language":"en","tag":"Employees","count":11},{"language":"en","tag":"Guides","count":9},{"language":"en","tag":"Consumption Reports","count":5},{"language":"en","tag":"Essentials","count":4},{"language":"en","tag":"Use Cases","count":3},{"language":"en","tag":"General","count":3},{"language":"en","tag":"Get Started","count":2},{"language":"en","tag":"Benefit Models","count":2},{"language":"en","tag":"Payroll Cycles","count":2}]},"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api-reference/authentication","slug":"/en/api-reference/authentication","pageMetadata":{"title":"Authentication","description":"Learn about how to authenticate with the API","icon":"shield-check","href":"/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:`/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":"/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":"cobee","siteName":"Cobee by Pluxee - Public API Documentation","title":"Authentication - Cobee by Pluxee - Public API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/authentication","matchLevel":0}}},"lastModified":"2025-09-26T11:25:21.623Z","originalFileLocation":"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 - Public 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/cobee/cthMQ0KJkKg2YCjS/_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/cobee/cthMQ0KJkKg2YCjS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cobee/cthMQ0KJkKg2YCjS/_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/cobee/cthMQ0KJkKg2YCjS/_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/cobee/cthMQ0KJkKg2YCjS/_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/cobee/cthMQ0KJkKg2YCjS/_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/cobee/cthMQ0KJkKg2YCjS/_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/cobee/cthMQ0KJkKg2YCjS/_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/cobee/cthMQ0KJkKg2YCjS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Cobee by Pluxee - Public 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 - Public API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.api.cobee.io/en/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cobee.mintlify.app/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Authentication\u0026amp;description=Learn+about+how+to+authenticate+with+the+API\u0026amp;theme=292bab5e47a3136cc2ded749\u0026amp;signature=ea6995f5a6cfc02b820aebf4ca6e198fe5ded18111480a6a8e90736142c3647d\">\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 - Public 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://cobee.mintlify.app/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Authentication\u0026amp;description=Learn+about+how+to+authenticate+with+the+API\u0026amp;theme=292bab5e47a3136cc2ded749\u0026amp;signature=ea6995f5a6cfc02b820aebf4ca6e198fe5ded18111480a6a8e90736142c3647d\">\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/cobee/cthMQ0KJkKg2YCjS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cobee by Pluxee - Public API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1B51DC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.api.cobee.io/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=\"/en/api-reference/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.api.cobee.io/#organization\",\"name\":\"Cobee by Pluxee - Public API Documentation\",\"url\":\"https://docs.api.cobee.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cobee/9xUZcwN4NOUCTDuX/logo/cobee_light.svg?fit=max\u0026auto=format\u0026n=9xUZcwN4NOUCTDuX\u0026q=85\u0026s=4e50c283f6bcbf11e86cf1bca5c447f0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.api.cobee.io#website\",\"name\":\"Cobee by Pluxee - Public API Documentation\",\"url\":\"https://docs.api.cobee.io\",\"publisher\":{\"@id\":\"https://docs.api.cobee.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.api.cobee.io/en/api-reference/authentication#webpage\",\"url\":\"https://docs.api.cobee.io/en/api-reference/authentication\",\"name\":\"Authentication\",\"description\":\"Learn about how to authenticate with the API\",\"dateModified\":\"2025-09-26T11:25:21.623Z\",\"isPartOf\":{\"@id\":\"https://docs.api.cobee.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.api.cobee.io/en/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.api.cobee.io/en/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.api.cobee.io/en/api-reference/api_introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.api.cobee.io/en/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.api.cobee.io/en/api-reference/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Learn about how to authenticate with the API\",\"url\":\"https://docs.api.cobee.io/en/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.api.cobee.io/en/api-reference/authentication#webpage\"},\"dateModified\":\"2025-09-26T11:25:21.623Z\",\"publisher\":{\"@id\":\"https://docs.api.cobee.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.api.cobee.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cobee by Pluxee - Public API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Cobee by Pluxee - Public API Documentation","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/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":"/en/api-reference/api_introduction"},{"title":"Authentication","icon":"shield-check","href":"/en/api-reference/authentication"}]},{"group":"Guides","pages":[{"group":"Consumption Reports","icon":"arrows-to-circle","pages":[{"title":"How to obtain Employee Termination Reports","icon":"chart-bar","description":null,"href":"/en/api-reference/guides/how-to-obtain-termination-reports"},{"title":"How to obtain Monthly Reports","icon":"chart-bar","href":"/en/api-reference/guides/how-to-obtain-monthly-reports"}]}]},{"group":"Data Models","pages":[{"title":"Consumption Reports","icon":"table-list","href":"/en/api-reference/data-models/consumption-report"}]},{"group":"Authentication","pages":[{"title":"Post Oauth Token","openapi":"POST /oauth/token","href":"/en/api-reference/authentication/endpoint/post_authenticate"}]},{"group":"Companies","pages":[{"title":"List companies","openapi":"GET /companies","href":"/en/api-reference/companies/endpoint/get_companies"}]},{"group":"Employees","pages":[{"title":"Register employee","openapi":"POST /companies/{companyId}/employees","href":"/en/api-reference/employees/endpoint/post_employee"},{"title":"Invite employee","openapi":"POST /companies/{companyId}/employees/{employeeId}/invite","href":"/en/api-reference/employees/endpoint/post_employee_invite"},{"title":"Get employee","openapi":"GET /companies/{companyId}/employees/{employeeId}","href":"/en/api-reference/employees/endpoint/get_employee"},{"title":"Get employees","openapi":"GET /companies/{companyId}/employees","href":"/en/api-reference/employees/endpoint/get_employees"},{"title":"Update employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}","href":"/en/api-reference/employees/endpoint/patch_employee"},{"title":"Block employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}/block","href":"/en/api-reference/employees/endpoint/patch_employee_block"},{"title":"Unblock employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}/unblock","href":"/en/api-reference/employees/endpoint/patch_employee_unblock"},{"title":"Remove employee","openapi":"DELETE /companies/{companyId}/employees/{employeeId}","href":"/en/api-reference/employees/endpoint/delete_employee"},{"title":"Restore employee","openapi":"PATCH /companies/{companyId}/employees/{employeeId}/restore","href":"/en/api-reference/employees/endpoint/patch_employee_restore"},{"title":"Migrate employee","openapi":"POST /companies/{companyId}/employees/{employeeId}/migrate","href":"/en/api-reference/employees/endpoint/post_employee_migrate"},{"title":"Move employee","openapi":"POST /companies/{companyId}/employees/{employeeId}/move","href":"/en/api-reference/employees/endpoint/post_employee_move"}]},{"group":"Consumption Reports","pages":[{"title":"List employee consumptions","openapi":"GET /companies/{companyId}/employees/{employeeId}/consumptions","href":"/en/api-reference/consumptions/endpoint/get_employee_consumptions"},{"title":"[Deprecated] - List employee consumptions","openapi":"GET /companies/{companyId}/payroll-cycles/{payrollCycleId}/employees/{employeeId}/consumptions","href":"/en/api-reference/consumptions/endpoint/get_employee_consumptions_old"},{"title":"Create employee consumptions","openapi":"POST /companies/{companyId}/payroll-cycles/{payrollCycleId}/employees/{employeeId}/consumptions","href":"/en/api-reference/consumptions/endpoint/post_employee_consumption"}]},{"group":"Benefit Models","pages":[{"title":"List benefit models","openapi":"GET /companies/{companyId}/benefit-models","href":"/en/api-reference/benefit-models/endpoint/get_benefit_models"},{"title":"Get benefit model","openapi":"GET /companies/{companyId}/benefit-models/{benefitModelId}","href":"/en/api-reference/benefit-models/endpoint/get_benefit_model"}]},{"group":"Payroll Cycles","pages":[{"title":"Get Payroll Cycles","openapi":"GET /companies/{companyId}/payroll-cycles","href":"/en/api-reference/payroll-cycles/endpoint/get_payroll_cycles"},{"title":"Close Payroll Cycle","openapi":"POST /companies/{companyId}/payroll-cycles/{payrollCycleId}","href":"/en/api-reference/payroll-cycles/endpoint/post_payroll_cycle"}]}]}],"global":{"anchors":[{"anchor":"Cobee Homepage","icon":"c","href":"https://cobee.io/"}]}}]},"title":"Authentication - Cobee by Pluxee - Public API Documentation","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}