Idempotency key for this request. Will return the same response if the same request is made again with the same key. Fails if parameters are different.
Colaborador responsável pelo centro de custo. Nulo quando não há responsável definido.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Salvy API","colors":{"primary":"#141414","light":"#F4F2EE","dark":"#141414"},"logo":{"light":"https://mintcdn.com/salvy-88fe5c1a/aD8_RTPjR92WjoTu/logo/light.svg?fit=max\u0026auto=format\u0026n=aD8_RTPjR92WjoTu\u0026q=85\u0026s=7178c70a1bd802f95c5ee9f7b1db46eb","dark":"https://mintcdn.com/salvy-88fe5c1a/aD8_RTPjR92WjoTu/logo/dark.svg?fit=max\u0026auto=format\u0026n=aD8_RTPjR92WjoTu\u0026q=85\u0026s=051c12a119e79f1642976a34164ff8a6"},"favicon":"https://mintcdn.com/salvy-88fe5c1a/aD8_RTPjR92WjoTu/favicon.svg?fit=max\u0026auto=format\u0026n=aD8_RTPjR92WjoTu\u0026q=85\u0026s=f26d50e69740ed3a04896d820cac4e7f","navbar":{"links":[{"href":"https://wa.me/551151963488","label":"Suporte"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.salvy.com.br"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/use-salvy"}},"contextual":{"options":["copy","download-spec","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"salvy-88fe5c1a","hasAudioNarration":false,"actualSubdomain":"salvy-88fe5c1a","customDomains":["docs.salvy.com.br"],"gitSource":{"type":"github","owner":"salvyltd","repo":"salvy-public-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4b34bce5b575d2353ae40","collectionId":"8c4236c3-806b-430b-be9d-847c4e395a2a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4b34bce5b575d2353ae40"},"entitlements":{},"buildId":"6ae4b34bce5b575d2353ae40","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Referência API","count":146},{"language":"default","tag":"Webhooks","count":26},{"language":"default","tag":"Equipamentos","count":20},{"language":"default","tag":"Documentação","count":19},{"language":"default","tag":"Linhas","count":17},{"language":"default","tag":"Números virtuais","count":15},{"language":"default","tag":"MCP","count":14},{"language":"default","tag":"Colaboradores","count":11},{"language":"default","tag":"Faturas","count":6},{"language":"default","tag":"Receitas","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v3/cost-centers/create","slug":"/api-reference/v3/cost-centers/create","pageMetadata":{"title":"Criar centro de custo","openapi":"api-reference/v3/openapi.json POST /api/v3/cost-centers","description":"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel.\n\n**Escopo necessário:** `cost-center:create`","href":"/api-reference/v3/cost-centers/create"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Escopo necessário:\"\n }), \" \", _jsx(_components.code, {\n children: \"cost-center:create\"\n })]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Criar centro de custo","openapi":"api-reference/v3/openapi.json POST /api/v3/cost-centers","description":"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel.\n\n**Escopo necessário:** `cost-center:create`","href":"/api-reference/v3/cost-centers/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"publicCreateCostCenterV3","tags":["Public API"],"description":"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel.\n\n**Escopo necessário:** `cost-center:create`","requestBody":"18e02343-639f-4fba-bc76-d9991cc48c4b","responses":{"201":"6a27f85d-2c40-45c7-b961-d4e668d85d61","400":"1deadd21-7589-4511-b016-fe657b678cfb","401":"1caae4e4-7eef-4b39-8c81-1e955497e5c2","403":"1cd8ed2b-d301-4a36-8f38-fd9c25679bcf","404":"e2ee6453-e3e3-4532-bbc3-16c49bdeeac7","409":"ab7b6a77-40ef-4409-823a-217c21c17fdb","413":"410ded44-ee9d-43d6-8e67-3e515b832b2a","422":"6f4e3569-a570-4840-b742-7b33baab23a1","429":"b532a219-2bb7-441a-b246-0641565d2b2c","500":"e24c2453-3724-49ac-80fe-a79a8cd2e040"},"deprecated":false,"parameters":["474f9328-45b1-4bb8-9159-8f4de747eb12"],"method":"post","type":"path","servers":["33544edb-c737-45ba-a1ed-2b42e97181f0"],"security":["dc1193d5-1001-47be-9d38-99a9d39d82f7"],"path":"/api/v3/cost-centers","baseUrlOptions":["https://api.salvy.com.br"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"474f9328-45b1-4bb8-9159-8f4de747eb12":{"name":"idempotency-key","in":"header","required":false,"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"Idempotency key for this request. Will return the same response if the same request is made again with the same key. Fails if parameters are different.","type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","minLength":1,"description":"Código do centro de custo definido pela empresa.","example":"ENG-01","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"Nome do centro de custo.","example":"Engenharia","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"description":"Situação do centro de custo: \"active\" (em uso) ou \"disabled\" (desativado pela empresa). Quando omitido, o centro de custo nasce \"active\".","example":"active","type":"string","enum":["active","disabled"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"description":"ID do centro de custo em que este fica aninhado. Envie null para deixá-lo na raiz.","example":"0198c2f1-3815-45b7-9e60-8e137cad845c","type":"string","uniqueKey":"parentId.oneOf.0","typeLabel":"string"},{"description":"ID do centro de custo em que este fica aninhado. Envie null para deixá-lo na raiz.","example":"0198c2f1-3815-45b7-9e60-8e137cad845c","type":"null","uniqueKey":"parentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"parentId","typeLabel":"string | null"},"type":{"type":"string","enum":["standard","project"],"description":"Tipo do centro de custo: \"standard\" (padrão) ou \"project\" (projeto do centro de custo pai).","example":"standard","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"endDate":{"oneOf":[{"description":"Data em que o centro de custo é desativado automaticamente. Envie null para removê-la.","example":"2026-08-31","type":"string","uniqueKey":"endDate.oneOf.0","typeLabel":"string"},{"description":"Data em que o centro de custo é desativado automaticamente. Envie null para removê-la.","example":"2026-08-31","type":"null","uniqueKey":"endDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"endDate","typeLabel":"string | null"},"responsibleEmployeeId":{"description":"ID do colaborador responsável pelo centro de custo.","example":"0197aa3e-3815-45b7-9e60-8e137cad845c","type":"string","uniqueKey":"responsibleEmployeeId","typeLabel":"string"}},"required":["code","name"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"ENG-01","name":"Engenharia","status":"active","parentId":"0198c2f1-3815-45b7-9e60-8e137cad845c","type":"standard","endDate":"2026-08-31","responsibleEmployeeId":"0197aa3e-3815-45b7-9e60-8e137cad845c"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"6a27f85d-2c40-45c7-b961-d4e668d85d61":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Identificador único do centro de custo.","example":"0198c2f1-3815-45b7-9e60-8e137cad845c","title":"UUID","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000","123e4567-e89b-12d3-a456-426614174001"],"isRequired":true,"uniqueKey":"id","typeLabel":"string"},"companyId":{"description":"ID da empresa dona do centro de custo.","example":"0198c2f1-3815-45b7-9e60-8e137cad845c","title":"UUID","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000","123e4567-e89b-12d3-a456-426614174001"],"isRequired":true,"uniqueKey":"companyId","typeLabel":"string"},"parentId":{"oneOf":[{"type":"string","title":"UUID","description":"ID do centro de custo em que este está aninhado. Nulo quando ele está na raiz.","example":"0198c2f1-3815-45b7-9e60-8e137cad845c","isRequired":true,"uniqueKey":"parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID do centro de custo em que este está aninhado. Nulo quando ele está na raiz.","example":"0198c2f1-3815-45b7-9e60-8e137cad845c","isRequired":true,"uniqueKey":"parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parentId","typeLabel":"string | null"},"code":{"oneOf":[{"description":"Código do centro de custo definido pela empresa. Nulo quando o centro de custo não tem código.","example":"ENG-01","type":"string","isRequired":true,"uniqueKey":"code.oneOf.0","typeLabel":"string"},{"description":"Código do centro de custo definido pela empresa. Nulo quando o centro de custo não tem código.","example":"ENG-01","type":"null","isRequired":true,"uniqueKey":"code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"code","typeLabel":"string | null"},"name":{"type":"string","description":"Nome do centro de custo.","example":"Engenharia","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"type":"string","enum":["active","disabled"],"description":"Situação do centro de custo: \"active\" (em uso) ou \"disabled\" (desativado pela empresa).","example":"active","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["standard","project"],"description":"Tipo do centro de custo: \"standard\" (padrão) ou \"project\" (projeto do centro de custo pai).","example":"standard","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"endDate":{"oneOf":[{"type":"string","title":"PlainDate","description":"Data em que o centro de custo é desativado automaticamente. Nula quando não há prazo.","example":"2026-08-31","isRequired":true,"uniqueKey":"endDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Data em que o centro de custo é desativado automaticamente. Nula quando não há prazo.","example":"2026-08-31","isRequired":true,"uniqueKey":"endDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"endDate","typeLabel":"string | null"},"responsibleEmployee":{"oneOf":[{"type":"object","description":"Colaborador responsável pelo centro de custo. Nulo quando não há responsável definido.","required":["id","fullName","workEmail"],"properties":{"id":{"description":"Identificador único do colaborador responsável.","example":"0197aa3e-3815-45b7-9e60-8e137cad845c","title":"UUID","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000","123e4567-e89b-12d3-a456-426614174001"],"isRequired":true,"uniqueKey":"responsibleEmployee.oneOf.0.id","typeLabel":"string"},"fullName":{"type":"string","description":"Nome do colaborador responsável.","example":"Maria Souza","isRequired":true,"uniqueKey":"responsibleEmployee.oneOf.0.fullName","typeLabel":"string"},"workEmail":{"oneOf":[{"type":"string","title":"Email","description":"E-mail profissional do colaborador responsável. Nulo quando não há e-mail cadastrado.","example":"maria.souza@empresa.com.br","isRequired":true,"uniqueKey":"responsibleEmployee.oneOf.0.workEmail.oneOf.0","typeLabel":"string"},{"type":"null","description":"E-mail profissional do colaborador responsável. Nulo quando não há e-mail cadastrado.","example":"maria.souza@empresa.com.br","isRequired":true,"uniqueKey":"responsibleEmployee.oneOf.0.workEmail.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"responsibleEmployee.oneOf.0.workEmail","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"responsibleEmployee.oneOf.0","typeLabel":"object"},{"type":"null","description":"Colaborador responsável pelo centro de custo. Nulo quando não há responsável definido.","isRequired":true,"uniqueKey":"responsibleEmployee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"responsibleEmployee","typeLabel":"object | null"}},"required":["id","companyId","parentId","code","name","status","type","endDate","responsibleEmployee"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"0198c2f1-3815-45b7-9e60-8e137cad845c","companyId":"0198c2f1-3815-45b7-9e60-8e137cad845c","parentId":"0198c2f1-3815-45b7-9e60-8e137cad845c","code":"ENG-01","name":"Engenharia","status":"active","type":"standard","endDate":"2026-08-31","responsibleEmployee":{"id":"0197aa3e-3815-45b7-9e60-8e137cad845c","fullName":"Maria Souza","workEmail":"maria.souza@empresa.com.br"}}}},"exampleType":"generated"}},"exampleType":"generated"},"1deadd21-7589-4511-b016-fe657b678cfb":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["idempotency-parameters-mismatch-error","idempotency-invalid-header-error"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"idempotency-parameters-mismatch-error","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1caae4e4-7eef-4b39-8c81-1e955497e5c2":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"unauthorized","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1cd8ed2b-d301-4a36-8f38-fd9c25679bcf":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["forbidden","insufficient-scope"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"forbidden","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e2ee6453-e3e3-4532-bbc3-16c49bdeeac7":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["resource-not-found"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"resource-not-found","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ab7b6a77-40ef-4409-823a-217c21c17fdb":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["cost-center-code-already-exists"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"cost-center-code-already-exists","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"410ded44-ee9d-43d6-8e67-3e515b832b2a":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["payload-too-large"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"payload-too-large","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6f4e3569-a570-4840-b742-7b33baab23a1":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["input-validation-error","unprocessable-entity","cost-center-cannot-be-its-own-parent","cost-center-nesting-too-deep","cost-center-project-requires-parent","company-not-active"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"details.items.[INDEX].key","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"details.items.[INDEX].message","typeLabel":"string"}},"required":["key","message"],"additionalProperties":false,"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"input-validation-error","message":"\u003cstring>","details":[{"key":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"b532a219-2bb7-441a-b246-0641565d2b2c":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["too-many-attempts"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"too-many-attempts","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e24c2453-3724-49ac-80fe-a79a8cd2e040":{"description":"","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["unknown"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"unknown","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"dc1193d5-1001-47be-9d38-99a9d39d82f7":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"key","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"33544edb-c737-45ba-a1ed-2b42e97181f0":{"url":"https://api.salvy.com.br","description":"Salvy API URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"key","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":"api-reference/v3/openapi.json"},"subdomain":"salvy-88fe5c1a","siteName":"Salvy API","title":"Criar centro de custo - Salvy API","navMaps":{"firstHrefInVersion":{"v3":{"href":"/api-reference/v3/cost-centers/create","matchLevel":0},"v2":{"href":"/api-reference/v2/introduction","matchLevel":3},"v1":{"href":"/api-reference/v1/introduction","matchLevel":3}},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T14:03:54.136Z","originalFileLocation":"api-reference/v3/cost-centers/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel. Escopo necessário: cost-center:create\">\u003cmeta data-mint-head name=\"application-name\" content=\"Salvy API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/salvy-88fe5c1a/st-II8O05-SFEuJc/_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/salvy-88fe5c1a/st-II8O05-SFEuJc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/salvy-88fe5c1a/st-II8O05-SFEuJc/_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/salvy-88fe5c1a/st-II8O05-SFEuJc/_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/salvy-88fe5c1a/st-II8O05-SFEuJc/_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/salvy-88fe5c1a/st-II8O05-SFEuJc/_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/salvy-88fe5c1a/st-II8O05-SFEuJc/_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/salvy-88fe5c1a/st-II8O05-SFEuJc/_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/salvy-88fe5c1a/st-II8O05-SFEuJc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Criar centro de custo - Salvy API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel. Escopo necessário: cost-center:create\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Salvy API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://salvy-88fe5c1a.mintlify.app/_mintlify/api/og/v2?division=Centros+de+custo\u0026amp;title=Criar+centro+de+custo\u0026amp;description=Cria+um+novo+centro+de+custo+%E2%80%94+o+mesmo+efeito+de+cadastr%C3%A1-lo+pelo+painel.%0A%0A**Escopo+necess%C3%A1rio%3A**+%60cost-center%3Acreate%60\u0026amp;theme=9e9623747e20268e9ce176d1\u0026amp;signature=8423b0e463955cb7ff830d4d4d39a3b5b6a6c76df0a30940f84e286b1736e33e\">\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=\"Criar centro de custo - Salvy API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel. Escopo necessário: cost-center:create\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://salvy-88fe5c1a.mintlify.app/_mintlify/api/og/v2?division=Centros+de+custo\u0026amp;title=Criar+centro+de+custo\u0026amp;description=Cria+um+novo+centro+de+custo+%E2%80%94+o+mesmo+efeito+de+cadastr%C3%A1-lo+pelo+painel.%0A%0A**Escopo+necess%C3%A1rio%3A**+%60cost-center%3Acreate%60\u0026amp;theme=9e9623747e20268e9ce176d1\u0026amp;signature=8423b0e463955cb7ff830d4d4d39a3b5b6a6c76df0a30940f84e286b1736e33e\">\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/salvy-88fe5c1a/st-II8O05-SFEuJc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Salvy API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#141414\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v3/cost-centers/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.salvy.com.br/#organization\",\"name\":\"Salvy API\",\"url\":\"https://docs.salvy.com.br\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/salvy-88fe5c1a/aD8_RTPjR92WjoTu/logo/light.svg?fit=max\u0026auto=format\u0026n=aD8_RTPjR92WjoTu\u0026q=85\u0026s=7178c70a1bd802f95c5ee9f7b1db46eb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.salvy.com.br#website\",\"name\":\"Salvy API\",\"url\":\"https://docs.salvy.com.br\",\"publisher\":{\"@id\":\"https://docs.salvy.com.br/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create#webpage\",\"url\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create\",\"name\":\"Criar centro de custo\",\"description\":\"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel. Escopo necessário: cost-center:create\",\"dateModified\":\"2026-10-15T14:03:54.136Z\",\"isPartOf\":{\"@id\":\"https://docs.salvy.com.br#website\"},\"breadcrumb\":{\"@id\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Centros de custo\",\"item\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Criar centro de custo\",\"item\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create#apireference\",\"headline\":\"Criar centro de custo\",\"name\":\"Criar centro de custo\",\"description\":\"Cria um novo centro de custo — o mesmo efeito de cadastrá-lo pelo painel. Escopo necessário: cost-center:create\",\"url\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.salvy.com.br/api-reference/v3/cost-centers/create#webpage\"},\"dateModified\":\"2026-10-15T14:03:54.136Z\",\"publisher\":{\"@id\":\"https://docs.salvy.com.br/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.salvy.com.br#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Salvy API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Salvy API","nav":{"global":null,"tabs":[{"tab":"Referência API","versions":[{"version":"v3","default":true,"groups":[{"group":"Documentação","pages":[{"title":"Introdução","href":"/api-reference/v3/introduction"},{"title":"Ambientes","href":"/api-reference/v3/environments"},{"title":"Chaves de API","href":"/api-reference/v3/api-keys"},{"title":"Branding para integrações","href":"/api-reference/v3/branding"},{"title":"Deprecação","href":"/api-reference/v3/deprecation"},{"title":"Limites de requisição","href":"/api-reference/v3/rate-limits"},{"title":"Migrando da v1 para a v3","href":"/api-reference/v3/migration-guide"}]},{"group":"Receitas","pages":[{"title":"Visão geral","href":"/api-reference/v3/recipes/introduction"},{"title":"Admissão → colaborador + linha","href":"/api-reference/v3/recipes/admission-create-line"},{"title":"Desligamento → bloqueio de linhas","href":"/api-reference/v3/recipes/offboarding-block-lines"},{"title":"Rateio de telecom por centro de custo","href":"/api-reference/v3/recipes/cost-center-allocation"},{"title":"Fatura + NF-e para contas a pagar","href":"/api-reference/v3/recipes/invoice-nfe-accounts-payable"},{"title":"Consumo de dados: maiores e menores","href":"/api-reference/v3/recipes/data-usage-ranking"}]},{"group":"Linhas","pages":[{"title":"Listar linhas","openapi":"api-reference/v3/openapi.json GET /api/v3/phone-accounts","href":"/api-reference/v3/phone-accounts/list"},{"title":"Detalhar linha","openapi":"api-reference/v3/openapi.json GET /api/v3/phone-accounts/{id}","href":"/api-reference/v3/phone-accounts/get"},{"title":"Criar linha móvel","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/mobile","href":"/api-reference/v3/phone-accounts/create-mobile"},{"title":"Criar linha móvel (DID)","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/mobile-did","href":"/api-reference/v3/phone-accounts/create-mobile-did"},{"title":"Listar DDDs","openapi":"api-reference/v3/openapi.json GET /api/v3/area-codes","href":"/api-reference/v3/area-codes/list"},{"title":"Ativar linha","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/{id}/activate","href":"/api-reference/v3/phone-accounts/activate"},{"title":"Bloquear linha","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/{id}/block","href":"/api-reference/v3/phone-accounts/block"},{"title":"Desbloquear linha","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/{id}/unblock","href":"/api-reference/v3/phone-accounts/unblock"},{"title":"Cancelar linha","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/{id}/cancel","href":"/api-reference/v3/phone-accounts/cancel"},{"title":"Desfazer cancelamento agendado","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/{id}/unschedule-cancellation","href":"/api-reference/v3/phone-accounts/unschedule-cancellation"},{"title":"Atualizar linha","openapi":"api-reference/v3/openapi.json PATCH /api/v3/phone-accounts/{id}","href":"/api-reference/v3/phone-accounts/update"},{"title":"Alterar centro de custo em lote","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/batch-update-cost-center","href":"/api-reference/v3/phone-accounts/batch-update-cost-center"},{"title":"Consultar saldo da linha","openapi":"api-reference/v3/openapi.json GET /api/v3/phone-accounts/{id}/balance","href":"/api-reference/v3/phone-accounts/balance"},{"title":"Obter eSIM da linha","openapi":"api-reference/v3/openapi.json GET /api/v3/phone-accounts/{id}/esim","href":"/api-reference/v3/phone-accounts/esim"},{"title":"Adicionar dados à linha","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/{id}/top-up-data","href":"/api-reference/v3/phone-accounts/top-up-data"},{"title":"Listar SMS da linha","openapi":"api-reference/v3/openapi.json GET /api/v3/phone-accounts/{id}/sms-messages","href":"/api-reference/v3/phone-accounts/sms-messages"},{"title":"Simular recebimento de SMS","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-accounts/{id}/sms","href":"/api-reference/v3/phone-accounts/simulate-sms"}]},{"group":"Equipamentos","pages":[{"title":"Listar equipamentos","openapi":"api-reference/v3/openapi.json GET /api/v3/assets","href":"/api-reference/v3/assets/list"},{"title":"Detalhar equipamento","openapi":"api-reference/v3/openapi.json GET /api/v3/assets/{id}","href":"/api-reference/v3/assets/get"},{"title":"Criar equipamento","openapi":"api-reference/v3/openapi.json POST /api/v3/assets","href":"/api-reference/v3/assets/create"},{"title":"Atualizar equipamento","openapi":"api-reference/v3/openapi.json PATCH /api/v3/assets/{id}","href":"/api-reference/v3/assets/update"},{"title":"Arquivar equipamento","openapi":"api-reference/v3/openapi.json POST /api/v3/assets/{id}/archive","href":"/api-reference/v3/assets/archive"},{"title":"Desarquivar equipamento","openapi":"api-reference/v3/openapi.json POST /api/v3/assets/{id}/unarchive","href":"/api-reference/v3/assets/unarchive"},{"title":"Remover equipamento","openapi":"api-reference/v3/openapi.json DELETE /api/v3/assets/{id}","href":"/api-reference/v3/assets/delete"},{"title":"Registrar anotação na linha do tempo","openapi":"api-reference/v3/openapi.json POST /api/v3/assets/{id}/timeline-notes","href":"/api-reference/v3/assets/create-timeline-note"}]},{"group":"Termos de equipamentos","pages":[{"title":"Listar termos","openapi":"api-reference/v3/openapi.json GET /api/v3/asset-statements","href":"/api-reference/v3/asset-statements/list"},{"title":"Detalhar termo","openapi":"api-reference/v3/openapi.json GET /api/v3/asset-statements/{id}","href":"/api-reference/v3/asset-statements/get"},{"title":"Enviar termo","openapi":"api-reference/v3/openapi.json POST /api/v3/asset-statements","href":"/api-reference/v3/asset-statements/send"},{"title":"Baixar termo assinado","openapi":"api-reference/v3/openapi.json GET /api/v3/asset-statements/{id}/signed-file","href":"/api-reference/v3/asset-statements/signed-file"},{"title":"Simular assinatura do termo","openapi":"api-reference/v3/openapi.json POST /api/v3/asset-statements/{id}/simulate-signature","href":"/api-reference/v3/asset-statements/simulate-signature"}]},{"group":"Colaboradores","pages":[{"title":"Listar colaboradores","openapi":"api-reference/v3/openapi.json GET /api/v3/employees","href":"/api-reference/v3/employees/list"},{"title":"Detalhar colaborador","openapi":"api-reference/v3/openapi.json GET /api/v3/employees/{id}","href":"/api-reference/v3/employees/get"},{"title":"Criar colaborador","openapi":"api-reference/v3/openapi.json POST /api/v3/employees","href":"/api-reference/v3/employees/create"},{"title":"Atualizar colaborador","openapi":"api-reference/v3/openapi.json PATCH /api/v3/employees/{id}","href":"/api-reference/v3/employees/update"},{"title":"Remover colaborador","openapi":"api-reference/v3/openapi.json DELETE /api/v3/employees/{id}","href":"/api-reference/v3/employees/delete"},{"title":"Sincronizar colaboradores em lote","openapi":"api-reference/v3/openapi.json POST /api/v3/employees/batch-sync","href":"/api-reference/v3/employees/batch-sync"}]},{"group":"Centros de custo","pages":[{"title":"Listar centros de custo","openapi":"api-reference/v3/openapi.json GET /api/v3/cost-centers","href":"/api-reference/v3/cost-centers/list"},{"title":"Detalhar centro de custo","openapi":"api-reference/v3/openapi.json GET /api/v3/cost-centers/{id}","description":"Busca um centro de custo da empresa pelo ID.\n\n**Escopo necessário:** `cost-center:read`","href":"/api-reference/v3/cost-centers/get"},{"title":"Criar centro de custo","openapi":"api-reference/v3/openapi.json POST /api/v3/cost-centers","href":"/api-reference/v3/cost-centers/create"},{"title":"Atualizar centro de custo","openapi":"api-reference/v3/openapi.json PATCH /api/v3/cost-centers/{id}","description":"Atualiza um centro de custo por ID. Somente os campos enviados no corpo são alterados; campos omitidos permanecem inalterados.\n\n**Escopo necessário:** `cost-center:update`","href":"/api-reference/v3/cost-centers/update"},{"title":"Remover centro de custo","openapi":"api-reference/v3/openapi.json DELETE /api/v3/cost-centers/{id}","href":"/api-reference/v3/cost-centers/delete"}]},{"group":"Grupos de linhas","pages":[{"title":"Listar grupos de linhas","openapi":"api-reference/v3/openapi.json GET /api/v3/phone-account-groups","href":"/api-reference/v3/phone-account-groups/list"},{"title":"Detalhar grupo de linhas","openapi":"api-reference/v3/openapi.json GET /api/v3/phone-account-groups/{id}","href":"/api-reference/v3/phone-account-groups/get"},{"title":"Criar grupo de linhas","openapi":"api-reference/v3/openapi.json POST /api/v3/phone-account-groups","href":"/api-reference/v3/phone-account-groups/create"},{"title":"Atualizar grupo de linhas","openapi":"api-reference/v3/openapi.json PATCH /api/v3/phone-account-groups/{id}","href":"/api-reference/v3/phone-account-groups/update"},{"title":"Remover grupo de linhas","openapi":"api-reference/v3/openapi.json DELETE /api/v3/phone-account-groups/{id}","href":"/api-reference/v3/phone-account-groups/delete"}]},{"group":"Faturas","pages":[{"title":"Listar faturas","openapi":"api-reference/v3/openapi.json GET /api/v3/invoices","href":"/api-reference/v3/invoices/list"},{"title":"Detalhar fatura","openapi":"api-reference/v3/openapi.json GET /api/v3/invoices/{id}","href":"/api-reference/v3/invoices/get"},{"title":"Baixar PDF da fatura","openapi":"api-reference/v3/openapi.json GET /api/v3/invoices/{id}/pdf","href":"/api-reference/v3/invoices/pdf"},{"title":"Listar linhas da fatura","openapi":"api-reference/v3/openapi.json GET /api/v3/invoices/{id}/phone-accounts","href":"/api-reference/v3/invoices/phone-accounts"},{"title":"Baixar PDF da nota fiscal","openapi":"api-reference/v3/openapi.json GET /api/v3/invoices/{id}/nfe/pdf","href":"/api-reference/v3/invoices/nfe-pdf"},{"title":"Baixar XML da nota fiscal","openapi":"api-reference/v3/openapi.json GET /api/v3/invoices/{id}/nfe/xml","href":"/api-reference/v3/invoices/nfe-xml"}]},{"group":"Planos","pages":[{"title":"Listar planos","openapi":"api-reference/v3/openapi.json GET /api/v3/plans","href":"/api-reference/v3/plans/list"},{"title":"Detalhar plano","openapi":"api-reference/v3/openapi.json GET /api/v3/plans/{id}","href":"/api-reference/v3/plans/get"}]},{"group":"Empresas","pages":[{"title":"Listar empresas","openapi":"api-reference/v3/openapi.json GET /api/v3/companies","href":"/api-reference/v3/companies/list"}]},{"group":"WebRTC","pages":[{"title":"Criar token WebRTC","openapi":"api-reference/v3/openapi.json POST /api/v3/webrtc/tokens","href":"/api-reference/v3/webrtc/create-token"}]},{"group":"Tarefas","pages":[{"title":"Introdução a tarefas","href":"/api-reference/v3/tasks/introduction"},{"title":"Detalhar tarefa","openapi":"api-reference/v3/openapi.json GET /api/v3/tasks/{id}","href":"/api-reference/v3/tasks/get"},{"title":"Listar resultados da tarefa","openapi":"api-reference/v3/openapi.json GET /api/v3/tasks/{id}/results","href":"/api-reference/v3/tasks/results"}]},{"group":"Webhooks","pages":[{"title":"Introdução a Webhooks","href":"/api-reference/v3/webhooks/introduction"},{"title":"Verificando Webhooks","href":"/api-reference/v3/webhooks/verifying-payloads"},{"title":"SMS recebido","openapi":"api-reference/v3/openapi.json webhook sms.received","href":"/api-reference/v3/webhooks/sms-received"},{"title":"Linha ativada","openapi":"api-reference/v3/openapi.json webhook phone-account.activated","href":"/api-reference/v3/webhooks/phone-account-activated"},{"title":"Linha bloqueada","openapi":"api-reference/v3/openapi.json webhook phone-account.blocked","href":"/api-reference/v3/webhooks/phone-account-blocked"},{"title":"Linha desbloqueada","openapi":"api-reference/v3/openapi.json webhook phone-account.unblocked","href":"/api-reference/v3/webhooks/phone-account-unblocked"},{"title":"Linha cancelada","openapi":"api-reference/v3/openapi.json webhook phone-account.canceled","href":"/api-reference/v3/webhooks/phone-account-canceled"},{"title":"Linha reativada","openapi":"api-reference/v3/openapi.json webhook phone-account.reactivated","href":"/api-reference/v3/webhooks/phone-account-reactivated"},{"title":"eSIM pronto para instalação","openapi":"api-reference/v3/openapi.json webhook phone-account.esim-ready","href":"/api-reference/v3/webhooks/phone-account-esim-ready"},{"title":"Saldo de dados baixo","openapi":"api-reference/v3/openapi.json webhook phone-account.data-balance-low","href":"/api-reference/v3/webhooks/phone-account-data-balance-low"},{"title":"Colaborador criado","openapi":"api-reference/v3/openapi.json webhook employee.created","href":"/api-reference/v3/webhooks/employee-created"},{"title":"Colaborador atualizado","openapi":"api-reference/v3/openapi.json webhook employee.updated","href":"/api-reference/v3/webhooks/employee-updated"},{"title":"Colaborador excluído","openapi":"api-reference/v3/openapi.json webhook employee.deleted","href":"/api-reference/v3/webhooks/employee-deleted"},{"title":"Equipamento criado","openapi":"api-reference/v3/openapi.json webhook asset.created","href":"/api-reference/v3/webhooks/asset-created"},{"title":"Equipamento atualizado","openapi":"api-reference/v3/openapi.json webhook asset.updated","href":"/api-reference/v3/webhooks/asset-updated"},{"title":"Equipamento excluído","openapi":"api-reference/v3/openapi.json webhook asset.deleted","href":"/api-reference/v3/webhooks/asset-deleted"},{"title":"Termo assinado","openapi":"api-reference/v3/openapi.json webhook asset-statement.signed","href":"/api-reference/v3/webhooks/asset-statement-signed"},{"title":"Termo cancelado","openapi":"api-reference/v3/openapi.json webhook asset-statement.canceled","href":"/api-reference/v3/webhooks/asset-statement-canceled"},{"title":"Tarefa concluída","openapi":"api-reference/v3/openapi.json webhook task.succeeded","href":"/api-reference/v3/webhooks/task-succeeded"},{"title":"Tarefa concluída com falhas","openapi":"api-reference/v3/openapi.json webhook task.failed","href":"/api-reference/v3/webhooks/task-failed"}]},{"group":"Endpoints de webhook","pages":[{"title":"Listar tipos de evento","openapi":"api-reference/v3/openapi.json GET /api/v3/webhook-event-types","href":"/api-reference/v3/webhook-endpoints/event-types"},{"title":"Cadastrar endpoint de webhook","openapi":"api-reference/v3/openapi.json POST /api/v3/webhook-endpoints","href":"/api-reference/v3/webhook-endpoints/create"},{"title":"Detalhar endpoint de webhook","openapi":"api-reference/v3/openapi.json GET /api/v3/webhook-endpoints/{id}","href":"/api-reference/v3/webhook-endpoints/get"},{"title":"Excluir endpoint de webhook","openapi":"api-reference/v3/openapi.json DELETE /api/v3/webhook-endpoints/{id}","href":"/api-reference/v3/webhook-endpoints/delete"}]}]},{"version":"v2","pages":[{"title":"v2","href":"/api-reference/v2/introduction"}]},{"version":"v1","pages":[{"title":"v1","href":"/api-reference/v1/introduction"}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp-guide/overview"}]}]},"basePath":"","title":"Criar centro de custo - Salvy API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}