Needs Leave. A leave request was made, in the portal, the console or the API. data.leaveRequestId, data.leaveTypeId, data.startDate, data.endDate, data.status. Never sent for sick leave, which reaches you only as an approved absence on /time-off.
Signed with Standard Webhooks: webhook-id, webhook-timestamp and webhook-signature headers. Answer with any 2xx. At least once and not ordered: de-duplicate on id, order by occurredAt and sequence.
Present only with Include details: the employee resource, limited to the endpoint's field groups.
Show child attributes
Response
Received. Any 2xx counts; anything else, a timeout after 15 seconds or a redirect is retried.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"andteam","description":"The andteam API: your people, organisation, leave, pay and records, the changes other systems ask for, and signed webhooks.","colors":{"primary":"#00827B","light":"#30B3AB","dark":"#00827B"},"logo":{"light":"https://mintcdn.com/andteam/MVfTtzphnPhhxPa9/logo/andteam.svg?fit=max\u0026auto=format\u0026n=MVfTtzphnPhhxPa9\u0026q=85\u0026s=b11d93ffad90324a82a8c0d5d1a0c404","dark":"https://mintcdn.com/andteam/MVfTtzphnPhhxPa9/logo/andteam-dark.svg?fit=max\u0026auto=format\u0026n=MVfTtzphnPhhxPa9\u0026q=85\u0026s=b68c0b25cc90ff91d060372147b91013","href":"https://andteam.com"},"favicon":"https://mintcdn.com/andteam/MVfTtzphnPhhxPa9/logo/favicon.svg?fit=max\u0026auto=format\u0026n=MVfTtzphnPhhxPa9\u0026q=85\u0026s=5e85048315185eccf77ec4a1103b6ffc","api":{"openapi":"openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","go"],"prefill":true}},"background":{"color":{"light":"#F7F7F8","dark":"#0F1419"}},"navbar":{"primary":{"type":"button","label":"Get an API key","href":"https://andteam.com"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"andteam","hasAudioNarration":false,"actualSubdomain":"andteam","customDomains":["docs.andteam.com"],"gitSource":{"type":"github","owner":"hellocrowd","repo":"-team-v3","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":"","_id":"6af16e2a7af691b16ede1e0e"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af46cafec28eb92a90ad5d3","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Guides","count":59},{"language":"default","tag":"API reference","count":50},{"language":"default","tag":"Problem types","count":31},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Get started","count":7},{"language":"default","tag":"Leave","count":6},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Job history","count":5},{"language":"default","tag":"Pay","count":5},{"language":"default","tag":"Directory","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/webhooks/leave_requestsubmitted","slug":"/api-reference/webhooks/leave_requestsubmitted","pageMetadata":{"title":"Leave requestsubmitted","description":"Needs Leave. A leave request was made, in the portal, the console or the API. `data.leaveRequestId`, `data.leaveTypeId`, `data.startDate`, `data.endDate`, `data.status`. Never sent for sick leave, which reaches you only as an approved absence on `/time-off`.\n\nSigned with Standard Webhooks: `webhook-id`, `webhook-timestamp` and `webhook-signature` headers. Answer with any 2xx. At least once and not ordered: de-duplicate on `id`, order by `occurredAt` and `sequence`.","version":null,"deprecated":null,"openapi":"/openapi.json webhook leave_request.submitted","href":"/api-reference/webhooks/leave_requestsubmitted","autogeneratedByOpenApi":true},"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 ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Needs Leave. A leave request was made, in the portal, the console or the API. \", _jsx(_components.code, {\n children: \"data.leaveRequestId\"\n }), \", \", _jsx(_components.code, {\n children: \"data.leaveTypeId\"\n }), \", \", _jsx(_components.code, {\n children: \"data.startDate\"\n }), \", \", _jsx(_components.code, {\n children: \"data.endDate\"\n }), \", \", _jsx(_components.code, {\n children: \"data.status\"\n }), \". Never sent for sick leave, which reaches you only as an approved absence on \", _jsx(_components.code, {\n children: \"/time-off\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Signed with Standard Webhooks: \", _jsx(_components.code, {\n children: \"webhook-id\"\n }), \", \", _jsx(_components.code, {\n children: \"webhook-timestamp\"\n }), \" and \", _jsx(_components.code, {\n children: \"webhook-signature\"\n }), \" headers. Answer with any 2xx. At least once and not ordered: de-duplicate on \", _jsx(_components.code, {\n children: \"id\"\n }), \", order by \", _jsx(_components.code, {\n children: \"occurredAt\"\n }), \" and \", _jsx(_components.code, {\n children: \"sequence\"\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":"Leave requestsubmitted","description":"Needs Leave. A leave request was made, in the portal, the console or the API. `data.leaveRequestId`, `data.leaveTypeId`, `data.startDate`, `data.endDate`, `data.status`. Never sent for sick leave, which reaches you only as an approved absence on `/time-off`.\n\nSigned with Standard Webhooks: `webhook-id`, `webhook-timestamp` and `webhook-signature` headers. Answer with any 2xx. At least once and not ordered: de-duplicate on `id`, order by `occurredAt` and `sequence`.","version":null,"deprecated":null,"openapi":"/openapi.json webhook leave_request.submitted","href":"/api-reference/webhooks/leave_requestsubmitted","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"webhook.leave_request.submitted","summary":"leave_request.submitted","tags":["Webhooks"],"description":"Needs Leave. A leave request was made, in the portal, the console or the API. `data.leaveRequestId`, `data.leaveTypeId`, `data.startDate`, `data.endDate`, `data.status`. Never sent for sick leave, which reaches you only as an approved absence on `/time-off`.\n\nSigned with Standard Webhooks: `webhook-id`, `webhook-timestamp` and `webhook-signature` headers. Answer with any 2xx. At least once and not ordered: de-duplicate on `id`, order by `occurredAt` and `sequence`.","security":[],"requestBody":"962c9e66-9eed-4937-9817-6cb1ec372636","responses":{"200":"2bfc4c46-fcff-47b0-9caa-0daf623f89ca","410":"305a2789-044b-468b-9284-7c69a481b630"},"method":"post","type":"webhook","servers":["53173e53-73ef-4ae2-87b8-83a71010e39d"],"path":"leave_request.submitted","baseUrlOptions":["https://api.v3.andteam.com/v1"],"title":"leave_request.submitted","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"id\": \"\u003cstring>\",\n \"occurredAt\": \"2023-11-07T05:31:56Z\",\n \"sequence\": 4503599627370495,\n \"data\": {\n \"employeeId\": \"\u003cstring>\",\n \"employeeNumber\": \"\u003cstring>\",\n \"companyId\": \"\u003cstring>\",\n \"effectiveDate\": \"\u003cstring>\",\n \"changedFields\": [],\n \"startDate\": \"\u003cstring>\",\n \"lastDay\": \"\u003cstring>\",\n \"hireId\": \"\u003cstring>\",\n \"jobChangeId\": \"\u003cstring>\",\n \"payChangeId\": \"\u003cstring>\",\n \"leaveRequestId\": \"\u003cstring>\",\n \"leaveTypeId\": \"\u003cstring>\",\n \"cycleId\": \"\u003cstring>\",\n \"documentId\": \"\u003cstring>\",\n \"documentType\": \"\u003cstring>\",\n \"status\": \"\u003cstring>\",\n \"changeType\": \"\u003cstring>\",\n \"kind\": \"\u003cstring>\",\n \"endDate\": \"\u003cstring>\",\n \"decidedAt\": \"2023-11-07T05:31:56Z\",\n \"externalRef\": {\n \"system\": \"\u003cstring>\",\n \"id\": \"\u003cstring>\"\n },\n \"requestedVia\": {\n \"keyId\": \"\u003cstring>\"\n }\n },\n \"links\": {\n \"employee\": \"\u003cstring>\"\n },\n \"details\": {}\n}"}],"requestExampleType":"webhook","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.id":"\u003cstring>","body.occurredAt":"2023-11-07T05:31:56Z","body.sequence.oneOf.0":4503599627370495,"body.data.employeeId":"\u003cstring>","body.data.employeeNumber.oneOf.0":"\u003cstring>","body.data.companyId":"\u003cstring>","body.data.effectiveDate.oneOf.0":"\u003cstring>","body.data.startDate.oneOf.0":"\u003cstring>","body.data.lastDay.oneOf.0":"\u003cstring>","body.data.hireId":"\u003cstring>","body.data.jobChangeId":"\u003cstring>","body.data.payChangeId":"\u003cstring>","body.data.leaveRequestId":"\u003cstring>","body.data.leaveTypeId":"\u003cstring>","body.data.cycleId":"\u003cstring>","body.data.documentId":"\u003cstring>","body.data.documentType":"\u003cstring>","body.data.status":"\u003cstring>","body.data.changeType":"\u003cstring>","body.data.kind":"\u003cstring>","body.data.endDate.oneOf.0":"\u003cstring>","body.data.decidedAt.oneOf.0":"2023-11-07T05:31:56Z","body.data.externalRef.oneOf.0.system":"\u003cstring>","body.data.externalRef.oneOf.0.id":"\u003cstring>","body.data.requestedVia.oneOf.0.keyId":"\u003cstring>","body.links.employee":"\u003cstring>"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The event id. The same on every attempt and on a resend: use it to ignore a duplicate.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","enum":["employee.hired","employee.started","employee.changed","employee.leaving","employee.left","employee.hire_withdrawn","employee.termination_cancelled","hire.status_changed","job_change.requested","job_change.decided","pay_change.requested","pay_change.decided","leave_request.submitted","leave_request.decided","performance.rating_released","document.added"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"When the change was recorded.","isRequired":true,"uniqueKey":"occurredAt","typeLabel":"string\u003cdate-time>"},"sequence":{"oneOf":[{"type":"integer","description":"Per person, in the order the changes took effect. Drop an event older than the last one seen for that person.","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"sequence.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Per person, in the order the changes took effect. Drop an event older than the last one seen for that person.","isRequired":true,"uniqueKey":"sequence.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sequence","typeLabel":"integer | null"},"data":{"type":"object","properties":{"employeeId":{"type":"string","isRequired":true,"uniqueKey":"data.employeeId","typeLabel":"string"},"employeeNumber":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.employeeNumber.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.employeeNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.employeeNumber","typeLabel":"string | null"},"companyId":{"type":"string","isRequired":true,"uniqueKey":"data.companyId","typeLabel":"string"},"effectiveDate":{"oneOf":[{"type":"string","description":"The day the change takes effect, in the company's time zone. Null for an undated change.","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":true,"uniqueKey":"data.effectiveDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The day the change takes effect, in the company's time zone. Null for an undated change.","isRequired":true,"uniqueKey":"data.effectiveDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.effectiveDate","typeLabel":"string | null"},"changedFields":{"description":"employee.changed: the names of the fields that changed, cut to the endpoint's field groups. Never values.","type":"array","items":{"type":"string","enum":["employeeNumber","firstName","preferredName","lastName","workEmail","workPhone","jobTitle","department","orgUnits","location","companyId","managerId","employmentType","costCentre","grade","startDate","lastDay","personalEmail","mobile","homeAddress","dateOfBirth","nationality","pay"],"uniqueKey":"data.changedFields.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"data.changedFields","typeLabel":"enum\u003cstring>[]"},"startDate":{"oneOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","uniqueKey":"data.startDate.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.startDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.startDate","typeLabel":"string | null"},"lastDay":{"oneOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","uniqueKey":"data.lastDay.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastDay.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastDay","typeLabel":"string | null"},"hireId":{"description":"hire.status_changed: the hire.","type":"string","uniqueKey":"data.hireId","typeLabel":"string"},"jobChangeId":{"description":"job_change.*: the job change.","type":"string","uniqueKey":"data.jobChangeId","typeLabel":"string"},"payChangeId":{"description":"pay_change.*: the pay change.","type":"string","uniqueKey":"data.payChangeId","typeLabel":"string"},"leaveRequestId":{"description":"leave_request.*: the leave request.","type":"string","uniqueKey":"data.leaveRequestId","typeLabel":"string"},"leaveTypeId":{"description":"leave_request.*: the leave type. Never a sick type: sick leave is not sent as a leave request.","type":"string","uniqueKey":"data.leaveTypeId","typeLabel":"string"},"cycleId":{"description":"performance.rating_released: the cycle whose rating was released.","type":"string","uniqueKey":"data.cycleId","typeLabel":"string"},"documentId":{"description":"document.added: the document.","type":"string","uniqueKey":"data.documentId","typeLabel":"string"},"documentType":{"description":"document.added: its type.","type":"string","uniqueKey":"data.documentType","typeLabel":"string"},"status":{"description":"The request's or hire's status after the change.","type":"string","uniqueKey":"data.status","typeLabel":"string"},"changeType":{"description":"job_change.requested: promotion, transfer or regrade.","type":"string","uniqueKey":"data.changeType","typeLabel":"string"},"kind":{"description":"pay_change.requested: increase, promotion or adjustment.","type":"string","uniqueKey":"data.kind","typeLabel":"string"},"endDate":{"oneOf":[{"type":"string","description":"leave_request.*: the last day.","pattern":"^\\d{4}-\\d{2}-\\d{2}$","uniqueKey":"data.endDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"leave_request.*: the last day.","uniqueKey":"data.endDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.endDate","typeLabel":"string | null"},"decidedAt":{"oneOf":[{"type":"string","description":"*.decided: when the chain ended or the request was withdrawn.","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","uniqueKey":"data.decidedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"*.decided: when the chain ended or the request was withdrawn.","uniqueKey":"data.decidedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.decidedAt","typeLabel":"string\u003cdate-time> | null"},"externalRef":{"oneOf":[{"type":"object","description":"hire.status_changed: the reference the ATS sent.","required":["system","id"],"properties":{"system":{"type":"string","isRequired":true,"uniqueKey":"data.externalRef.oneOf.0.system","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"data.externalRef.oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.externalRef.oneOf.0","typeLabel":"object"},{"type":"null","description":"hire.status_changed: the reference the ATS sent.","uniqueKey":"data.externalRef.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.externalRef","typeLabel":"object | null"},"requestedVia":{"oneOf":[{"type":"object","description":"Set when an API key filed the request: match a decision to your own call.","required":["keyId"],"properties":{"keyId":{"type":"string","isRequired":true,"uniqueKey":"data.requestedVia.oneOf.0.keyId","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.requestedVia.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set when an API key filed the request: match a decision to your own call.","uniqueKey":"data.requestedVia.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.requestedVia","typeLabel":"object | null"}},"required":["employeeId","employeeNumber","companyId","effectiveDate"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"links":{"type":"object","properties":{"employee":{"type":"string","description":"The employee resource: https://api.v3.andteam.com/v1/employees/{id}.","isRequired":true,"uniqueKey":"links.employee","typeLabel":"string"}},"required":["employee"],"additionalProperties":false,"isRequired":true,"uniqueKey":"links","typeLabel":"object"},"details":{"description":"Present only with Include details: the employee resource, limited to the endpoint's field groups.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.additionalProperties","typeLabel":"any"},"uniqueKey":"details","typeLabel":"object"}},"required":["id","type","occurredAt","sequence","data","links"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","occurredAt":"2023-11-07T05:31:56Z","sequence":4503599627370495,"data":{"employeeId":"\u003cstring>","employeeNumber":"\u003cstring>","companyId":"\u003cstring>","effectiveDate":"\u003cstring>","changedFields":[],"startDate":"\u003cstring>","lastDay":"\u003cstring>","hireId":"\u003cstring>","jobChangeId":"\u003cstring>","payChangeId":"\u003cstring>","leaveRequestId":"\u003cstring>","leaveTypeId":"\u003cstring>","cycleId":"\u003cstring>","documentId":"\u003cstring>","documentType":"\u003cstring>","status":"\u003cstring>","changeType":"\u003cstring>","kind":"\u003cstring>","endDate":"\u003cstring>","decidedAt":"2023-11-07T05:31:56Z","externalRef":{"system":"\u003cstring>","id":"\u003cstring>"},"requestedVia":{"keyId":"\u003cstring>"}},"links":{"employee":"\u003cstring>"},"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2bfc4c46-fcff-47b0-9caa-0daf623f89ca":{"description":"Received. Any 2xx counts; anything else, a timeout after 15 seconds or a redirect is retried.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"305a2789-044b-468b-9284-7c69a481b630":{"description":"Gone: the endpoint is retired. andteam disables it at once and stops sending.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"53173e53-73ef-4ae2-87b8-83a71010e39d":{"url":"https://api.v3.andteam.com/v1"}}},"originalFileLocation":"openapi.json"},"subdomain":"andteam","siteName":"andteam","title":"Leave requestsubmitted - andteam","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T08:45:03.688Z","originalFileLocation":"api-reference/webhooks/leave_requestsubmitted.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=\"Needs Leave. A leave request was made, in the portal, the console or the API. data.leaveRequestId, data.leaveTypeId, data.startDate, data.endDate, data.status. Never sent for sick leave, which reaches you only as an approved absence on /time-off. Signed with Standard Webhooks: webhook-id, webhook-timestamp and webhook-signature headers. Answer with any 2xx. At least once and not ordered: de-duplicate on id, order by occurredAt and sequence.\">\u003cmeta data-mint-head name=\"application-name\" content=\"andteam\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/andteam/D1YWVRbXj0UYh9MI/_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/andteam/D1YWVRbXj0UYh9MI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/andteam/D1YWVRbXj0UYh9MI/_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/andteam/D1YWVRbXj0UYh9MI/_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/andteam/D1YWVRbXj0UYh9MI/_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/andteam/D1YWVRbXj0UYh9MI/_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/andteam/D1YWVRbXj0UYh9MI/_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/andteam/D1YWVRbXj0UYh9MI/_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/andteam/D1YWVRbXj0UYh9MI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Leave requestsubmitted - andteam\">\u003cmeta data-mint-head property=\"og:description\" content=\"Needs Leave. A leave request was made, in the portal, the console or the API. data.leaveRequestId, data.leaveTypeId, data.startDate, data.endDate, data.status. Never sent for sick leave, which reaches you only as an approved absence on /time-off. Signed with Standard Webhooks: webhook-id, webhook-timestamp and webhook-signature headers. Answer with any 2xx. At least once and not ordered: de-duplicate on id, order by occurredAt and sequence.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"andteam\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://andteam.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Leave+requestsubmitted\u0026amp;description=Needs+Leave.+A+leave+request+was+made%2C+in+the+portal%2C+the+console+or+the+API.+%60data.leaveRequestId%60%2C+%60data.leaveTypeId%60%2C+%60data.startDate%60%2C+%60data.endDate%60%2C+%60data\u0026amp;theme=823a7c0489dceecba2e0c789\u0026amp;signature=65cdf72afddcc5da6bcb15684597b4121e3b9dd45f21d29b3f0c98b09370d528\">\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=\"Leave requestsubmitted - andteam\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Needs Leave. A leave request was made, in the portal, the console or the API. data.leaveRequestId, data.leaveTypeId, data.startDate, data.endDate, data.status. Never sent for sick leave, which reaches you only as an approved absence on /time-off. Signed with Standard Webhooks: webhook-id, webhook-timestamp and webhook-signature headers. Answer with any 2xx. At least once and not ordered: de-duplicate on id, order by occurredAt and sequence.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://andteam.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Leave+requestsubmitted\u0026amp;description=Needs+Leave.+A+leave+request+was+made%2C+in+the+portal%2C+the+console+or+the+API.+%60data.leaveRequestId%60%2C+%60data.leaveTypeId%60%2C+%60data.startDate%60%2C+%60data.endDate%60%2C+%60data\u0026amp;theme=823a7c0489dceecba2e0c789\u0026amp;signature=65cdf72afddcc5da6bcb15684597b4121e3b9dd45f21d29b3f0c98b09370d528\">\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/andteam/D1YWVRbXj0UYh9MI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"andteam\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00827B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/webhooks/leave_requestsubmitted.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.andteam.com/#organization\",\"name\":\"andteam\",\"url\":\"https://docs.andteam.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/andteam/MVfTtzphnPhhxPa9/logo/andteam.svg?fit=max\u0026auto=format\u0026n=MVfTtzphnPhhxPa9\u0026q=85\u0026s=b11d93ffad90324a82a8c0d5d1a0c404\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.andteam.com#website\",\"name\":\"andteam\",\"url\":\"https://docs.andteam.com\",\"publisher\":{\"@id\":\"https://docs.andteam.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted#webpage\",\"url\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted\",\"name\":\"Leave requestsubmitted\",\"description\":\"Needs Leave. A leave request was made, in the portal, the console or the API. data.leaveRequestId, data.leaveTypeId, data.startDate, data.endDate, data.status. Never sent for sick leave, which reaches you only as an approved absence on /time-off. Signed with Standard Webhooks: webhook-id, webhook-timestamp and webhook-signature headers. Answer with any 2xx. At least once and not ordered: de-duplicate on id, order by occurredAt and sequence.\",\"dateModified\":\"2026-11-11T08:45:03.688Z\",\"isPartOf\":{\"@id\":\"https://docs.andteam.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.andteam.com/api-reference/webhooks/employeehired\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Leave requestsubmitted\",\"item\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted#apireference\",\"headline\":\"Leave requestsubmitted\",\"name\":\"Leave requestsubmitted\",\"description\":\"Needs Leave. A leave request was made, in the portal, the console or the API. data.leaveRequestId, data.leaveTypeId, data.startDate, data.endDate, data.status. Never sent for sick leave, which reaches you only as an approved absence on /time-off. Signed with Standard Webhooks: webhook-id, webhook-timestamp and webhook-signature headers. Answer with any 2xx. At least once and not ordered: de-duplicate on id, order by occurredAt and sequence.\",\"url\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted\",\"mainEntityOfPage\":{\"@id\":\"https://docs.andteam.com/api-reference/webhooks/leave_requestsubmitted#webpage\"},\"dateModified\":\"2026-11-11T08:45:03.688Z\",\"publisher\":{\"@id\":\"https://docs.andteam.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.andteam.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"andteam\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"andteam\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/webhooks/leave_requestsubmitted.md","siteName":"andteam","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Directory","pages":[{"title":"List employees","deprecated":null,"version":null,"openapi":"/openapi.json get /employees","href":"/api-reference/directory/list-employees"},{"title":"Get one employee","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}","href":"/api-reference/directory/get-one-employee"},{"title":"Change an employee's personal and contact details","deprecated":null,"version":null,"openapi":"/openapi.json patch /employees/{id}","href":"/api-reference/directory/change-an-employees-personal-and-contact-details"},{"title":"List published employee events","deprecated":null,"version":null,"openapi":"/openapi.json get /events","href":"/api-reference/directory/list-published-employee-events"}]},{"group":"Organisation","pages":[{"title":"List the key's companies","deprecated":null,"version":null,"openapi":"/openapi.json get /companies","href":"/api-reference/organisation/list-the-keys-companies"},{"title":"List the structure's units below Company","deprecated":null,"version":null,"openapi":"/openapi.json get /org-units","href":"/api-reference/organisation/list-the-structures-units-below-company"},{"title":"List locations","deprecated":null,"version":null,"openapi":"/openapi.json get /locations","href":"/api-reference/organisation/list-locations"},{"title":"List a lookup's values","deprecated":null,"version":null,"openapi":"/openapi.json get /lookups/{type}","href":"/api-reference/organisation/list-a-lookups-values"}]},{"group":"Positions","pages":[{"title":"List positions","deprecated":null,"version":null,"openapi":"/openapi.json get /positions","href":"/api-reference/positions/list-positions"}]},{"group":"Time off","pages":[{"title":"List absences that were approved: approved, or cancelled once withdrawn (dates only, never the leave type)","deprecated":null,"version":null,"openapi":"/openapi.json get /time-off","href":"/api-reference/time-off/list-absences-that-were-approved:-approved-or-cancelled-once-withdrawn-dates-only-never-the-leave-type"}]},{"group":"Job history","pages":[{"title":"A person's job history, newest first","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}/job-history","href":"/api-reference/job-history/a-persons-job-history-newest-first"},{"title":"List job-history entries across the key's companies","deprecated":null,"version":null,"openapi":"/openapi.json get /job-history","href":"/api-reference/job-history/list-job-history-entries-across-the-keys-companies"},{"title":"File a promotion, transfer or re-grade","deprecated":null,"version":null,"openapi":"/openapi.json post /employees/{id}/job-changes","href":"/api-reference/job-history/file-a-promotion-transfer-or-re-grade"},{"title":"Get a job change","deprecated":null,"version":null,"openapi":"/openapi.json get /job-changes/{id}","href":"/api-reference/job-history/get-a-job-change"},{"title":"Withdraw a pending job change","deprecated":null,"version":null,"openapi":"/openapi.json post /job-changes/{id}/withdraw","href":"/api-reference/job-history/withdraw-a-pending-job-change"}]},{"group":"Leave","pages":[{"title":"List the leave types","deprecated":null,"version":null,"openapi":"/openapi.json get /leave-types","href":"/api-reference/leave/list-the-leave-types"},{"title":"A person's leave balances","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}/leave-balances","href":"/api-reference/leave/a-persons-leave-balances"},{"title":"List leave requests (never a sick request)","deprecated":null,"version":null,"openapi":"/openapi.json get /leave-requests","href":"/api-reference/leave/list-leave-requests-never-a-sick-request"},{"title":"Get one leave request","deprecated":null,"version":null,"openapi":"/openapi.json get /leave-requests/{id}","href":"/api-reference/leave/get-one-leave-request"},{"title":"Request leave for an employee","deprecated":null,"version":null,"openapi":"/openapi.json post /employees/{id}/leave-requests","href":"/api-reference/leave/request-leave-for-an-employee"},{"title":"Withdraw a leave request this key made","deprecated":null,"version":null,"openapi":"/openapi.json post /leave-requests/{id}/withdraw","href":"/api-reference/leave/withdraw-a-leave-request-this-key-made"}]},{"group":"Certifications","pages":[{"title":"A person's current certifications","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}/certifications","href":"/api-reference/certifications/a-persons-current-certifications"}]},{"group":"Pay","pages":[{"title":"Get an employee's current pay package","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}/pay","href":"/api-reference/pay/get-an-employees-current-pay-package"},{"title":"List an employee's pay packages, newest first","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}/pay-history","href":"/api-reference/pay/list-an-employees-pay-packages-newest-first"},{"title":"File an increase, promotion or adjustment of pay","deprecated":null,"version":null,"openapi":"/openapi.json post /employees/{id}/pay-changes","href":"/api-reference/pay/file-an-increase-promotion-or-adjustment-of-pay"},{"title":"Get a pay change","deprecated":null,"version":null,"openapi":"/openapi.json get /pay-changes/{id}","href":"/api-reference/pay/get-a-pay-change"},{"title":"Withdraw a pending pay change","deprecated":null,"version":null,"openapi":"/openapi.json post /pay-changes/{id}/withdraw","href":"/api-reference/pay/withdraw-a-pending-pay-change"}]},{"group":"Performance","pages":[{"title":"List an employee's released final performance ratings","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}/performance-ratings","href":"/api-reference/performance/list-an-employees-released-final-performance-ratings"}]},{"group":"Documents","pages":[{"title":"List an employee's documents, newest first","deprecated":null,"version":null,"openapi":"/openapi.json get /employees/{id}/documents","href":"/api-reference/documents/list-an-employees-documents-newest-first"},{"title":"Download a document","deprecated":null,"version":null,"openapi":"/openapi.json get /documents/{id}/download","href":"/api-reference/documents/download-a-document"}]},{"group":"Hires","pages":[{"title":"File a new hire: a prefilled draft offer HR completes","deprecated":null,"version":null,"openapi":"/openapi.json post /hires","href":"/api-reference/hires/file-a-new-hire:-a-prefilled-draft-offer-hr-completes"},{"title":"Get one hire and its status","deprecated":null,"version":null,"openapi":"/openapi.json get /hires/{id}","href":"/api-reference/hires/get-one-hire-and-its-status"}]},{"group":"Authentication","pages":[{"title":"Get an access token (OAuth client credentials)","deprecated":null,"version":null,"openapi":"/openapi.json post /oauth/token","href":"/api-reference/authentication/get-an-access-token-oauth-client-credentials"}]},{"group":"Reference","pages":[{"title":"This document","deprecated":null,"version":null,"openapi":"/openapi.json get /openapi.json","href":"/api-reference/reference/this-document"}]},{"group":"Webhooks","pages":[{"title":"Employeehired","version":null,"deprecated":null,"openapi":"/openapi.json webhook employee.hired","href":"/api-reference/webhooks/employeehired"},{"title":"Employeestarted","version":null,"deprecated":null,"openapi":"/openapi.json webhook employee.started","href":"/api-reference/webhooks/employeestarted"},{"title":"Employeechanged","version":null,"deprecated":null,"openapi":"/openapi.json webhook employee.changed","href":"/api-reference/webhooks/employeechanged"},{"title":"Employeeleaving","version":null,"deprecated":null,"openapi":"/openapi.json webhook employee.leaving","href":"/api-reference/webhooks/employeeleaving"},{"title":"Employeeleft","version":null,"deprecated":null,"openapi":"/openapi.json webhook employee.left","href":"/api-reference/webhooks/employeeleft"},{"title":"Employeehire withdrawn","version":null,"deprecated":null,"openapi":"/openapi.json webhook employee.hire_withdrawn","href":"/api-reference/webhooks/employeehire_withdrawn"},{"title":"Employeetermination cancelled","version":null,"deprecated":null,"openapi":"/openapi.json webhook employee.termination_cancelled","href":"/api-reference/webhooks/employeetermination_cancelled"},{"title":"Hirestatus changed","version":null,"deprecated":null,"openapi":"/openapi.json webhook hire.status_changed","href":"/api-reference/webhooks/hirestatus_changed"},{"title":"Job changerequested","version":null,"deprecated":null,"openapi":"/openapi.json webhook job_change.requested","href":"/api-reference/webhooks/job_changerequested"},{"title":"Job changedecided","version":null,"deprecated":null,"openapi":"/openapi.json webhook job_change.decided","href":"/api-reference/webhooks/job_changedecided"},{"title":"Pay changerequested","version":null,"deprecated":null,"openapi":"/openapi.json webhook pay_change.requested","href":"/api-reference/webhooks/pay_changerequested"},{"title":"Pay changedecided","description":"Needs Pay. A pay change's chain ended, or it was withdrawn. `data.status`, `data.decidedAt`. On its date, `employee.changed` names `pay`.\n\nSigned with Standard Webhooks: `webhook-id`, `webhook-timestamp` and `webhook-signature` headers. Answer with any 2xx. At least once and not ordered: de-duplicate on `id`, order by `occurredAt` and `sequence`.","version":null,"deprecated":null,"openapi":"/openapi.json webhook pay_change.decided","href":"/api-reference/webhooks/pay_changedecided"},{"title":"Leave requestsubmitted","version":null,"deprecated":null,"openapi":"/openapi.json webhook leave_request.submitted","href":"/api-reference/webhooks/leave_requestsubmitted"},{"title":"Leave requestdecided","description":"Needs Leave. A leave request was approved, declined or withdrawn. `data.status`, `data.decidedAt`. Never sent for sick leave.\n\nSigned with Standard Webhooks: `webhook-id`, `webhook-timestamp` and `webhook-signature` headers. Answer with any 2xx. At least once and not ordered: de-duplicate on `id`, order by `occurredAt` and `sequence`.","version":null,"deprecated":null,"openapi":"/openapi.json webhook leave_request.decided","href":"/api-reference/webhooks/leave_requestdecided"},{"title":"Performancerating released","version":null,"deprecated":null,"openapi":"/openapi.json webhook performance.rating_released","href":"/api-reference/webhooks/performancerating_released"},{"title":"Documentadded","version":null,"deprecated":null,"openapi":"/openapi.json webhook document.added","href":"/api-reference/webhooks/documentadded"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/api/changelog"}]}]},"basePath":"","title":"Leave requestsubmitted - andteam","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}