This endpoint allows you to register a new employee in the Cobee system.When an employee is successfully registered through this endpoint, the system automatically sends an invitation to the employee’s email address. The employee must complete the corresponding onboarding process by activating the link sent to their email. Therefore, it is crucial to provide a correct email address if you want the employee to be able to access their Cobee account.
Important: Always ensure the email address is valid and belongs to the employee. An incorrect email address will prevent the employee from completing the onboarding process and accessing their benefits.
Note: For part-time employees, if you provide a working time percentage lower than 100%, please note that their benefit limits will be adjusted proportionally. It is important to ensure that the salary you provide is already adjusted to reflect the employee’s part-time status (i.e., the actual salary they will receive, not the full-time equivalent).
Note: The employee will automatically receive an invitation email to activate their account. If the invitation expires or there is an error, use the Invite employee endpoint to resend the invitation.
Defaults: If omitted in the request body, the following default values are applied under workdayConfiguration:
{"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/employees/endpoint/post_employee","slug":"/en/api-reference/employees/endpoint/post_employee","pageMetadata":{"title":"Register employee","openapi":"POST /companies/{companyId}/employees","description":null,"href":"/en/api-reference/employees/endpoint/post_employee"},"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`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This endpoint allows you to register a new employee in the Cobee system.`}),`\n`,_jsx(_components.p,{children:`When an employee is successfully registered through this endpoint, the system automatically sends an invitation to the employee’s email address. The employee must complete the corresponding onboarding process by activating the link sent to their email. Therefore, it is crucial to provide a correct email address if you want the employee to be able to access their Cobee account.`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important`}),`: Always ensure the email address is valid and belongs to the employee. An incorrect email address will prevent the employee from completing the onboarding process and accessing their benefits.`]}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` For part-time employees, if you provide a working time percentage lower than 100%, please note that their benefit limits will be adjusted proportionally. It is important to ensure that the salary you provide is already adjusted to reflect the employee’s part-time status (i.e., the actual salary they will receive, not the full-time equivalent).`]}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` The employee will automatically receive an invitation email to activate their account. If the invitation expires or there is an error, use the `,_jsx(_components.a,{href:`/en/api-reference/employees/endpoint/post_employee_invite`,children:`Invite employee`}),` endpoint to resend the invitation.`]}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Defaults:`}),` If omitted in the request body, the following default values are applied under `,_jsx(_components.code,{children:`workdayConfiguration`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`daysPerMonth`}),`: 20`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`numberOfPaychecks`}),`: 14`]}),`\n`]}),`\n`]})]})}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":"Register employee","openapi":"POST /companies/{companyId}/employees","description":null,"href":"/en/api-reference/employees/endpoint/post_employee"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Register employee","parameters":["36857dfd-b6f9-4c0a-a5d8-128dceab4722"],"requestBody":"4e807c65-552b-4731-9ac9-092cdd68947d","responses":{"201":"9c2691cf-ca1c-47b5-aab1-f15ee4b39e49","400":"767218ae-77cc-49f6-b020-91d6617fe93e","401":"561d3504-8b8d-48e7-b5c8-7bf128c0c131","403":"82e024d1-8d35-47a9-a142-4d23d0753a62","404":"ee6b3871-6eac-4c5d-8016-b5d9edaabcc8","409":"ac10bb0e-4246-4da8-8271-0723e283b441","500":"a75db93e-0a0b-482f-a2d1-c8a4d2c4705c"},"method":"post","type":"path","servers":["f91dd980-76cc-427b-87eb-5534d1bde9ba","d74ec3e6-a129-4937-96a6-dbb805d2b9ae"],"security":["d12346d8-60b7-4b27-a590-8a77151b1fb6"],"path":"/companies/{companyId}/employees","baseUrlOptions":["https://pre-public-api.cobee.io/api/v3","https://public-api.cobee.io/api/v3"],"title":"Register employee","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"36857dfd-b6f9-4c0a-a5d8-128dceab4722":{"name":"companyId","in":"path","required":true,"description":"The unique identifier of the company","schema":{"type":"string","format":"uuid","isRequired":true,"description":"The unique identifier of the company","uniqueKey":"","typeLabel":"string\u003cuuid>"},"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"}},"requestBody":{"description":"Employee data to be registered","required":true,"content":{"application/json":{"schema":{"type":"object","required":["email","legalId","name","surname","birthDate","grossSalary","hiringDate","taxRegime","workdayConfiguration"],"properties":{"email":{"type":"string","format":"email","description":"The employee's email address","isRequired":true,"uniqueKey":"email","typeLabel":"string\u003cemail>"},"legalId":{"type":"string","description":"The employee's legal identifier","isRequired":true,"uniqueKey":"legalId","typeLabel":"string"},"name":{"type":"string","description":"The employee's first name","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"surname":{"type":"string","description":"The employee's surname","isRequired":true,"uniqueKey":"surname","typeLabel":"string"},"birthDate":{"type":"string","format":"date","description":"The employee's date of birth in ISO 8601 format (YYYY-MM-DD)","isRequired":true,"uniqueKey":"birthDate","typeLabel":"string\u003cdate>"},"grossSalary":{"type":"object","required":["amountInCents","currency"],"properties":{"amountInCents":{"type":"integer","description":"The monetary amount in cents (e.g., 4500000 for 45,000)","minimum":1,"isRequired":true,"uniqueKey":"grossSalary.amountInCents","typeLabel":"integer"},"currency":{"type":"string","description":"The currency code (e.g., EUR)","example":"EUR","isRequired":true,"uniqueKey":"grossSalary.currency","typeLabel":"string"}},"example":{"amountInCents":4500000,"currency":"EUR"},"description":"The employee's gross salary details","isRequired":true,"uniqueKey":"grossSalary","typeLabel":"object"},"hiringDate":{"type":"string","format":"date","description":"The date when the employee was hired in ISO 8601 format (YYYY-MM-DD)","isRequired":true,"uniqueKey":"hiringDate","typeLabel":"string\u003cdate>"},"taxRegime":{"type":"string","enum":["general","basque","navarrese","biscayan"],"description":"The employee's tax regime","isRequired":true,"uniqueKey":"taxRegime","typeLabel":"enum\u003cstring>"},"workdayConfiguration":{"type":"object","required":["workTimePercentage"],"properties":{"workTimePercentage":{"type":"number","description":"The percentage of a full-time schedule this employee works","minimum":0.01,"maximum":100,"example":100,"isRequired":true,"uniqueKey":"workdayConfiguration.workTimePercentage","typeLabel":"number"},"daysPerMonth":{"type":"integer","description":"The number of working days per month for this employee","example":22,"uniqueKey":"workdayConfiguration.daysPerMonth","typeLabel":"integer"},"numberOfPaychecks":{"type":"integer","description":"The number of salary payments the employee receives per year","example":14,"uniqueKey":"workdayConfiguration.numberOfPaychecks","typeLabel":"integer"},"collectiveAgreementSalary":{"type":"object","required":["amountInCents","currency"],"properties":{"amountInCents":{"type":"integer","description":"The monetary amount in cents (e.g., 4500000 for 45,000)","minimum":1,"isRequired":true,"uniqueKey":"workdayConfiguration.collectiveAgreementSalary.amountInCents","typeLabel":"integer"},"currency":{"type":"string","description":"The currency code (e.g., EUR)","example":"EUR","isRequired":true,"uniqueKey":"workdayConfiguration.collectiveAgreementSalary.currency","typeLabel":"string"}},"example":{"amountInCents":4500000,"currency":"EUR"},"description":"The salary established by the collective agreement, if applicable","uniqueKey":"workdayConfiguration.collectiveAgreementSalary","typeLabel":"object"}},"example":{"daysPerMonth":22,"workTimePercentage":100,"numberOfPaychecks":14,"collectiveAgreementSalary":{"amountInCents":3800000,"currency":"EUR"}},"description":"Configuration of the employee's workday","isRequired":true,"uniqueKey":"workdayConfiguration","typeLabel":"object"},"internalId":{"type":"string","description":"Your internal identifier for the employee","uniqueKey":"internalId","typeLabel":"string"},"costCenter":{"type":"string","description":"The cost centre associated with this employee","uniqueKey":"costCenter","typeLabel":"string"},"payrollCompany":{"type":"string","description":"The company handling the employee's payroll, if different from the main company","uniqueKey":"payrollCompany","typeLabel":"string"},"modelId":{"type":"string","format":"uuid","description":"The ID of the benefit model to assign to this employee","uniqueKey":"modelId","typeLabel":"string\u003cuuid>"},"metadata":{"type":"object","description":"Additional metadata for the employee (key-value pairs)","additionalProperties":true,"uniqueKey":"metadata","typeLabel":"object"}},"example":{"email":"john.smith@example.com","legalId":"12345678Z","name":"John","surname":"Smith","birthDate":"1985-07-15","grossSalary":{"amountInCents":4500000,"currency":"EUR"},"hiringDate":"2023-01-10","taxRegime":"general","workdayConfiguration":{"daysPerMonth":22,"workTimePercentage":100,"numberOfPaychecks":14,"collectiveAgreementSalary":{"amountInCents":3800000,"currency":"EUR"}},"internalId":"EMP-1234","costCenter":"Finance","payrollCompany":"Main Branch","modelId":"7a6c9ab8-8c2d-5c82-9c8c-f5e7e7e7e7e7","metadata":{"department":"Finance","manager":"Jane Doe","office":"Madrid"}},"uniqueKey":"","typeLabel":"object"},"example":{"email":"john.smith@example.com","legalId":"12345678Z","name":"John","surname":"Smith","birthDate":"1985-07-15","grossSalary":{"amountInCents":4500000,"currency":"EUR"},"hiringDate":"2023-01-10","taxRegime":"general","workdayConfiguration":{"daysPerMonth":22,"workTimePercentage":100,"numberOfPaychecks":14,"collectiveAgreementSalary":{"amountInCents":3800000,"currency":"EUR"}},"internalId":"EMP-1234","costCenter":"Finance","payrollCompany":"Main Branch","modelId":"7a6c9ab8-8c2d-5c82-9c8c-f5e7e7e7e7e7","metadata":{"department":"Finance","manager":"Jane Doe","office":"Madrid"}},"examples":{"Example":{"title":"Example","value":{"email":"john.smith@example.com","legalId":"12345678Z","name":"John","surname":"Smith","birthDate":"1985-07-15","grossSalary":{"amountInCents":4500000,"currency":"EUR"},"hiringDate":"2023-01-10","taxRegime":"general","workdayConfiguration":{"daysPerMonth":22,"workTimePercentage":100,"numberOfPaychecks":14,"collectiveAgreementSalary":{"amountInCents":3800000,"currency":"EUR"}},"internalId":"EMP-1234","costCenter":"Finance","payrollCompany":"Main Branch","modelId":"7a6c9ab8-8c2d-5c82-9c8c-f5e7e7e7e7e7","metadata":{"department":"Finance","manager":"Jane Doe","office":"Madrid"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"9c2691cf-ca1c-47b5-aab1-f15ee4b39e49":{"description":"Employee successfully registered","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the registered employee","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"}},"example":{"id":"7f4c9ba8-9c2d-4b82-8b8c-e5f8f8f8f8f8"},"uniqueKey":"","typeLabel":"object"},"example":{"id":"7f4c9ba8-9c2d-4b82-8b8c-e5f8f8f8f8f8"},"examples":{"Example":{"title":"Example","value":{"id":"7f4c9ba8-9c2d-4b82-8b8c-e5f8f8f8f8f8"}}},"exampleType":"examples"}},"exampleType":"examples"},"767218ae-77cc-49f6-b020-91d6617fe93e":{"description":"Bad Request - The request body is invalid or missing required fields","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad request: Invalid field value"},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Invalid request: 'email' field is required"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid request: 'email' field is required"}}},"exampleType":"examples"}},"exampleType":"examples"},"561d3504-8b8d-48e7-b5c8-7bf128c0c131":{"description":"Unauthorised - Authentication failed","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad request: Invalid field value"},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Invalid API key"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"82e024d1-8d35-47a9-a142-4d23d0753a62":{"description":"Forbidden - You don't have permission to register employees","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad request: Invalid field value"},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Your API key does not have permission to register employees"},"examples":{"Example":{"title":"Example","value":{"message":"Your API key does not have permission to register employees"}}},"exampleType":"examples"}},"exampleType":"examples"},"ee6b3871-6eac-4c5d-8016-b5d9edaabcc8":{"description":"Not Found - The company ID was not found","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad request: Invalid field value"},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Company with ID 'a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890' not found"},"examples":{"Example":{"title":"Example","value":{"message":"Company with ID 'a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890' not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"ac10bb0e-4246-4da8-8271-0723e283b441":{"description":"Conflict - An employee with the same email or legal ID already exists","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad request: Invalid field value"},"uniqueKey":"","typeLabel":"object"},"example":{"message":"There is already an existing employee with the same data"},"examples":{"Example":{"title":"Example","value":{"message":"There is already an existing employee with the same data"}}},"exampleType":"examples"}},"exampleType":"examples"},"a75db93e-0a0b-482f-a2d1-c8a4d2c4705c":{"description":"Internal Server Error - Something went wrong on our end","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad request: Invalid field value"},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Internal server error: Unable to process request"},"examples":{"Example":{"title":"Example","value":{"message":"Internal server error: Unable to process request"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"d12346d8-60b7-4b27-a590-8a77151b1fb6":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"f91dd980-76cc-427b-87eb-5534d1bde9ba":{"url":"https://pre-public-api.cobee.io/api/v3"},"d74ec3e6-a129-4937-96a6-dbb805d2b9ae":{"url":"https://public-api.cobee.io/api/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"en/api-reference/public-openapi-bundled.json"},"subdomain":"cobee","siteName":"Cobee by Pluxee - Public API Documentation","title":"Register employee - Cobee by Pluxee - Public API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/employees/endpoint/post_employee","matchLevel":0}}},"lastModified":"2026-10-14T08:10:48.954Z","originalFileLocation":"en/api-reference/employees/endpoint/post_employee.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=\"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=\"Register employee - Cobee by Pluxee - Public API Documentation\">\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/employees/endpoint/post_employee\">\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=Employees\u0026amp;title=Register+employee\u0026amp;theme=292bab5e47a3136cc2ded749\u0026amp;signature=283b6e27173268f9d186f073f8dc2da956452ddc8dbcb0536e7cb941c98c182c\">\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=\"Register employee - Cobee by Pluxee - Public API Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cobee.mintlify.app/_mintlify/api/og/v2?division=Employees\u0026amp;title=Register+employee\u0026amp;theme=292bab5e47a3136cc2ded749\u0026amp;signature=283b6e27173268f9d186f073f8dc2da956452ddc8dbcb0536e7cb941c98c182c\">\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/employees/endpoint/post_employee\">\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/employees/endpoint/post_employee.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/employees/endpoint/post_employee#webpage\",\"url\":\"https://docs.api.cobee.io/en/api-reference/employees/endpoint/post_employee\",\"name\":\"Register employee\",\"dateModified\":\"2026-10-14T08:10:48.954Z\",\"isPartOf\":{\"@id\":\"https://docs.api.cobee.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.api.cobee.io/en/api-reference/employees/endpoint/post_employee#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.api.cobee.io/en/api-reference/employees/endpoint/post_employee#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cobee by Pluxee - Public API Documentation\",\"item\":\"https://docs.api.cobee.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Register employee\",\"item\":\"https://docs.api.cobee.io/en/api-reference/employees/endpoint/post_employee\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.api.cobee.io/en/api-reference/employees/endpoint/post_employee#apireference\",\"headline\":\"Register employee\",\"name\":\"Register employee\",\"url\":\"https://docs.api.cobee.io/en/api-reference/employees/endpoint/post_employee\",\"mainEntityOfPage\":{\"@id\":\"https://docs.api.cobee.io/en/api-reference/employees/endpoint/post_employee#webpage\"},\"dateModified\":\"2026-10-14T08:10:48.954Z\",\"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","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","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","description":null,"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","description":null,"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":"Register employee - Cobee by Pluxee - Public API Documentation","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}