{"openapi":"3.1.0","info":{"title":"Platform Endpoints","version":"1.0.0"},"paths":{"/groups":{"get":{"operationId":"groups_getGroups","summary":"Return list of groups","description":"Lists the groups available to the caller, including archived ones by default; set the `include_archived_groups` query parameter to false to exclude them. Use it for full group details; use GET /teams when you only need a lightweight list, and GET /groups/{group_id} when you already know which group you want.\n\n **Token scopes**: `groups:read`","tags":["Groups"],"parameters":[{"name":"limit","in":"query","description":"The maximum number of groups to return (between 1 and 100)","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"sort_order","in":"query","description":"Sort the results in ascending (ASC) or descending (DESC) order based on the group name.","required":false,"schema":{"$ref":"#/components/schemas/GroupsGetParametersSortOrder","default":"ASC"}},{"name":"cursor","in":"query","description":"The encoded cursor for paginated results. This is an opaque string that allows fetching the next set of results.","required":false,"schema":{"type":"string"}},{"name":"include_archived_groups","in":"query","description":"Include archived groups (soft deleted records). Defaults to `true`.","required":false,"schema":{"type":"boolean","default":true}},{"name":"external_metadata","in":"query","description":"Extra information about the group.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of groups in the organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups_getGroups_Response_200"}}}},"400":{"description":"Invalid request parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetGroups-v2026-01-01RequestBadRequestError"}}}},"401":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"403":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"404":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"500":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}}},"security":[{"deelToken":[]}]},"post":{"operationId":"groups_createGroup","summary":"Create a group","description":"Creates a new group in the organization. Use it when the group does not exist yet and its name is not already taken by another group in the organization; to change an existing group use PATCH /groups/{group_id}, and to see which groups already exist use GET /groups.\n\n **Token scopes**: `groups:read`, `groups:write`","tags":["Groups"],"responses":{"200":{"description":"Group created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups_createGroup_Response_200"}}}},"400":{"description":"Invalid request payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroup-v2026-01-01RequestBadRequestError"}}}},"401":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"403":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"404":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"500":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GroupsPostRequestBodyContentApplicationJsonSchemaData"}},"required":["data"]}}}},"security":[{"deelToken":[]}]}},"/groups/{id}/clone":{"post":{"operationId":"groups_cloneGroup","summary":"Clone a Group","description":"Creates a new group by copying the structure and settings of an existing group. The cloned group is independent of the source after creation.\n\n **Token scopes**: `groups:write`","tags":["Groups"],"parameters":[{"name":"id","in":"path","description":"Unique identifier of the group to be cloned.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"201":{"description":"Group cloned successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups_cloneGroup_Response_201"}}}},"400":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloneAGroup-v2026-01-01RequestBadRequestError"}}}},"401":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"403":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"404":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"500":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GroupsIdClonePostRequestBodyContentApplicationJsonSchemaData"}},"required":["data"]}}}},"security":[{"deelToken":[]}]}},"/groups/{id}":{"delete":{"operationId":"groups_deleteGroup","summary":"Delete Group","tags":["Groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}}},"patch":{"operationId":"groups_updateGroup","summary":"Update Group","tags":["Groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}}}},"/people":{"get":{"operationId":"people_getPeople","summary":"List of People","description":"Returns a paginated list of people records in the organization. Supports filtering by search term, teams, custom fields, and other query parameters. Build people directories, sync HR data, or power search interfaces across your workforce records.\n\n **Token scopes**: `people:read`, `worker:read`\n\n **Beta version available**: version `2026-09-30` of this endpoint is in beta. Send `X-Beta: true` to call it.","tags":["People"],"parameters":[{"name":"offset","in":"query","description":"Return a page of results with given number of records.","required":false,"schema":{"type":"integer","minimum":0,"maximum":999999999,"default":0}},{"name":"limit","in":"query","description":"Return a page of results with given number of records.","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"search","in":"query","description":"Include a contract if by name or contractor name contains given search term.","required":false,"schema":{"type":"string"}},{"name":"teams","in":"query","description":"Filter the results based on the team(group) the users contract is associated with","required":false,"schema":{"type":"array","items":{"type":"string","format":"uuid"}}},{"name":"fields","in":"query","description":"Pick the fields you want to see in the response in order to avoid a bloated people list output. Supports dot notation (e.g., 'employments[0].contract_status') to access nested fields.","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PeopleGetParametersFieldsSchemaItems"}}},{"name":"sort_by","in":"query","description":"Sort people by given field name.","required":false,"schema":{"$ref":"#/components/schemas/PeopleGetParametersSortBy"}},{"name":"sort_order","in":"query","description":"Order direction of results; ascending or descending.","required":false,"schema":{"$ref":"#/components/schemas/PeopleGetParametersSortOrder"}},{"name":"hiring_statuses","in":"query","description":"Employee's current hiring status.","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PeopleGetParametersHiringStatusesSchemaItems"}}},{"name":"band_placements","in":"query","description":"Employee's current band placement.","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PeopleGetParametersBandPlacementsSchemaItems"}}},{"name":"comparative_ratios_from","in":"query","description":"Employee's minimum band placement","required":false,"schema":{"type":"string","title":"float"}},{"name":"comparative_ratios_to","in":"query","description":"Employee's maximum band placement","required":false,"schema":{"type":"string","title":"float"}},{"name":"hiring_types","in":"query","description":"Filter people by hiring types","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PeopleGetParametersHiringTypesSchemaItems"}}},{"name":"person_statuses","in":"query","description":"Filter people by person (worker profile) lifecycle status.","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PeopleGetParametersPersonStatusesSchemaItems"}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/people_getPeople_Response_200"}}}},"400":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"401":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"403":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"404":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOfPeople-v2026-01-01RequestInternalServerError"}}}}},"security":[{"deelToken":[]}]}},"/people/{hris_profile_id}":{"get":{"operationId":"people_getPersonById","summary":"Retrieve a single person","description":"Returns detailed information about a single person in the organization by their public ID. Returns personal details, employment information, organizational structure, person status, direct manager, custom fields, and related data.\n\n **Token scopes**: `people:read`\n\n **Beta version available**: version `2026-10-12` of this endpoint is in beta. Send `X-Beta: true` to call it.","tags":["People"],"parameters":[{"name":"hris_profile_id","in":"path","description":"Unique identifier for the person.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"include_custom_fields","in":"query","description":"Include custom fields in the response.","required":false,"schema":{"type":"boolean"}},{"name":"include_worker_relations","in":"query","description":"Include worker relations in the response.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/people_getPersonById_Response_200"}}}},"400":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"401":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"403":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"404":{"description":"Operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorContainer"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrieveASinglePerson-v2026-01-01RequestInternalServerError"}}}}},"security":[{"deelToken":[]}]}}},"tags":[{"name":"Groups","description":"API endpoints related to Groups."},{"name":"People","description":"API endpoints related to People."}],"components":{"schemas":{"GroupsGetParametersSortOrder":{"type":"string","enum":["ASC","DESC"],"default":"ASC","title":"GroupsGetParametersSortOrder"},"GroupsGetResponsesContentApplicationJsonSchemaDataItemsStatus":{"type":"string","enum":["active","archived"],"description":"The current status of the group (active or archived).","title":"GroupsGetResponsesContentApplicationJsonSchemaDataItemsStatus"},"GroupsGetResponsesContentApplicationJsonSchemaDataItemsExternalMetadata":{"type":"object","properties":{},"description":"Extra information about the group.","title":"GroupsGetResponsesContentApplicationJsonSchemaDataItemsExternalMetadata"},"GroupsGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the group."},"name":{"type":"string","description":"The name of the group."},"status":{"$ref":"#/components/schemas/GroupsGetResponsesContentApplicationJsonSchemaDataItemsStatus","description":"The current status of the group (active or archived)."},"managers":{"type":"number","format":"double","description":"The number of managers associated with the group."},"created_at":{"type":"string","format":"date-time","description":"The timestamp when the group was created."},"updated_at":{"type":"string","format":"date-time","description":"The timestamp when the group was last updated."},"archived_at":{"type":["string","null"],"format":"date-time","description":"The timestamp when the group was archived (if applicable)."},"external_metadata":{"oneOf":[{"$ref":"#/components/schemas/GroupsGetResponsesContentApplicationJsonSchemaDataItemsExternalMetadata"},{"type":"null"}],"description":"Extra information about the group."}},"title":"GroupsGetResponsesContentApplicationJsonSchemaDataItems"},"GroupsGetResponsesContentApplicationJsonSchemaPage":{"type":"object","properties":{"cursor":{"type":["string","null"],"description":"An opaque cursor to fetch the next set of results."},"total_rows":{"type":"integer","description":"The total number of groups available for the current query (including pagination)."}},"title":"GroupsGetResponsesContentApplicationJsonSchemaPage"},"groups_getGroups_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GroupsGetResponsesContentApplicationJsonSchemaDataItems"}},"page":{"$ref":"#/components/schemas/GroupsGetResponsesContentApplicationJsonSchemaPage"}},"title":"groups_getGroups_Response_200"},"GetGroups-v2026-01-01RequestBadRequestError":{"type":"object","properties":{"message":{"type":"string","description":"Error message explaining what went wrong."}},"title":"GetGroups-v2026-01-01RequestBadRequestError"},"ApiErrorRequest":{"type":"object","properties":{"method":{"type":"string","description":"The HTTP method of the failed request"},"url":{"type":"string","description":"The relative URL of the failed request"},"status":{"type":"number","format":"double","description":"The status code of the response"},"api_req_id":{"type":"string","description":"The request ID of the failed request"},"docs":{"type":"string","description":"A link to the official documentation for the requested endpoint resource"},"source":{"type":"string","description":"The source handler which produced the returned error"},"code":{"type":"number","format":"double","description":"The code of the source handler which produced the returned error"}},"title":"ApiErrorRequest"},"ApiError":{"type":"object","properties":{"message":{"type":"string","description":"A description of the returned error"},"path":{"type":"string","description":"The JSON path where input validation failed"}},"title":"ApiError"},"ApiErrorContainer":{"type":"object","properties":{"request":{"$ref":"#/components/schemas/ApiErrorRequest"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ApiError"}}},"title":"ApiErrorContainer"},"GroupsPostRequestBodyContentApplicationJsonSchemaDataExternalMetadata":{"type":"object","properties":{},"description":"The extra information of the group to be created.","title":"GroupsPostRequestBodyContentApplicationJsonSchemaDataExternalMetadata"},"GroupsPostRequestBodyContentApplicationJsonSchemaData":{"type":"object","properties":{"name":{"type":"string","maxLength":48,"description":"The name of the group to be created."},"external_metadata":{"oneOf":[{"$ref":"#/components/schemas/GroupsPostRequestBodyContentApplicationJsonSchemaDataExternalMetadata"},{"type":"null"}],"description":"The extra information of the group to be created."}},"required":["name"],"title":"GroupsPostRequestBodyContentApplicationJsonSchemaData"},"GroupsPostResponsesContentApplicationJsonSchemaDataExternalMetadata":{"type":"object","properties":{},"description":"Extra information of the group.","title":"GroupsPostResponsesContentApplicationJsonSchemaDataExternalMetadata"},"GroupsPostResponsesContentApplicationJsonSchemaData":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the created group."},"name":{"type":"string","description":"The name of the created group."},"created_at":{"type":"string","format":"date-time","description":"The timestamp when the group was created."},"updated_at":{"type":"string","format":"date-time","description":"The timestamp when the group was last updated."},"external_metadata":{"oneOf":[{"$ref":"#/components/schemas/GroupsPostResponsesContentApplicationJsonSchemaDataExternalMetadata"},{"type":"null"}],"description":"Extra information of the group."}},"title":"GroupsPostResponsesContentApplicationJsonSchemaData"},"groups_createGroup_Response_200":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GroupsPostResponsesContentApplicationJsonSchemaData"}},"title":"groups_createGroup_Response_200"},"GroupsPostResponsesContentApplicationJsonSchemaError":{"type":"object","properties":{"message":{"type":"string","description":"Description of the error."}},"title":"GroupsPostResponsesContentApplicationJsonSchemaError"},"CreateGroup-v2026-01-01RequestBadRequestError":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/GroupsPostResponsesContentApplicationJsonSchemaError"}},"title":"CreateGroup-v2026-01-01RequestBadRequestError"},"GroupsIdClonePostRequestBodyContentApplicationJsonSchemaDataExternalMetadata":{"type":"object","properties":{},"description":"The extra information of the group to be created.","title":"GroupsIdClonePostRequestBodyContentApplicationJsonSchemaDataExternalMetadata"},"GroupsIdClonePostRequestBodyContentApplicationJsonSchemaData":{"type":"object","properties":{"name":{"type":"string","maxLength":48,"description":"The name of the group to be created."},"external_metadata":{"$ref":"#/components/schemas/GroupsIdClonePostRequestBodyContentApplicationJsonSchemaDataExternalMetadata","description":"The extra information of the group to be created."}},"required":["name"],"title":"GroupsIdClonePostRequestBodyContentApplicationJsonSchemaData"},"GroupsIdClonePostResponsesContentApplicationJsonSchemaDataExternalMetadata":{"type":"object","properties":{},"description":"Extra information of the group.","title":"GroupsIdClonePostResponsesContentApplicationJsonSchemaDataExternalMetadata"},"GroupsIdClonePostResponsesContentApplicationJsonSchemaData":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the created group."},"name":{"type":"string","description":"The name of the created group."},"created_at":{"type":"string","format":"date-time","description":"The timestamp when the group was created."},"updated_at":{"type":"string","format":"date-time","description":"The timestamp when the group was last updated."},"external_metadata":{"$ref":"#/components/schemas/GroupsIdClonePostResponsesContentApplicationJsonSchemaDataExternalMetadata","description":"Extra information of the group."}},"title":"GroupsIdClonePostResponsesContentApplicationJsonSchemaData"},"groups_cloneGroup_Response_201":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GroupsIdClonePostResponsesContentApplicationJsonSchemaData"}},"title":"groups_cloneGroup_Response_201"},"GroupsIdClonePostResponsesContentApplicationJsonSchemaErrorsItems":{"type":"object","properties":{"message":{"type":"string","description":"A description of the returned error"}},"title":"GroupsIdClonePostResponsesContentApplicationJsonSchemaErrorsItems"},"CloneAGroup-v2026-01-01RequestBadRequestError":{"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/GroupsIdClonePostResponsesContentApplicationJsonSchemaErrorsItems"}}},"title":"CloneAGroup-v2026-01-01RequestBadRequestError"},"PeopleGetParametersFieldsSchemaItems":{"type":"string","enum":["id","created_at","first_name","last_name","full_name","preferred_first_name","preferred_last_name","worker_id","external_id","hris_organization_user_id","termination_last_day","worker_relations","custom_field_values","emails","birth_date","start_date","nationalities","client_legal_entity","state","seniority","completion_date","direct_manager","direct_reports","direct_reports_count","employments","employments[0].id","employments[0].name","employments[0].team","employments[0].custom_field_values","employments[0].email","employments[0].state","employments[0].country","employments[0].payment","employments[0].is_ended","employments[0].termination_last_day","employments[0].timezone","employments[0].job_title","employments[0].seniority","employments[0].start_date","employments[0].work_email","employments[0].hiring_type","employments[0].hiring_status","employments[0].completion_date","employments[0].contract_status","employments[0].voluntarily_left","employments[0].contract_coverage","employments[0].new_hiring_status","employments[0].client_legal_entity","employments[0].has_eor_termination","employments[0].contract_is_archived","employments[0].contract_has_contractor","employments[0].is_user_contract_deleted","employments[0].hris_direct_employee_invitation","employments[0].employee_number","hiring_status","new_hiring_status","is_pwac","hiring_type","job_title","country","timezone","department","work_location","updated_at","addresses","additional_details","profile_organizational_structures","worker_termination_last_date_of_work","active_worker_termination_status","last_day_of_work_local_date","person_status"],"title":"PeopleGetParametersFieldsSchemaItems"},"PeopleGetParametersSortBy":{"type":"string","enum":["id","first_name","last_name","full_name","email","country","birth_date","hiring_type","start_date","team","job_title","hiring_status","completion_date","direct_manager","direct_reports_count","band_placement","comparative_ratio"],"title":"PeopleGetParametersSortBy"},"PeopleGetParametersSortOrder":{"type":"string","enum":["asc","desc"],"title":"PeopleGetParametersSortOrder"},"PeopleGetParametersHiringStatusesSchemaItems":{"type":"string","enum":["pending_invite","draft","invited","onboarding","onboarding_at_risk","onboarding_overdue","onboarded","offboarding","active","inactive","in_review","quote_requires_changes"],"title":"PeopleGetParametersHiringStatusesSchemaItems"},"PeopleGetParametersBandPlacementsSchemaItems":{"type":"string","enum":["ABOVE","WITHIN","BELOW"],"title":"PeopleGetParametersBandPlacementsSchemaItems"},"PeopleGetParametersHiringTypesSchemaItems":{"type":"string","enum":["contractor","eor","peo","hris_direct_employee","hris_direct_contractor","direct_employee","contractor_outside_deel","person_without_contract"],"title":"PeopleGetParametersHiringTypesSchemaItems"},"PeopleGetParametersPersonStatusesSchemaItems":{"type":"string","enum":["ACTIVE","NOT_STARTED","INACTIVE"],"title":"PeopleGetParametersPersonStatusesSchemaItems"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmailsItems":{"type":"object","properties":{"type":{"type":["string","null"],"description":"The type of email."},"value":{"type":["string","null"],"description":"The email address."}},"title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmailsItems"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsAddressesItems":{"type":"object","properties":{"region":{"type":"string","description":"Region code."},"country":{"type":["string","null"],"pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2,"description":"Country code."},"lineTwo":{"type":"string","description":"Second address line."},"locality":{"type":"string","description":"Locality name."},"postalCode":{"type":"string","description":"Postal code."},"streetAddress":{"type":"string","description":"Street and number."}},"title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsAddressesItems"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsDepartment":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of this resource."},"name":{"type":"string","description":"The name of the department."},"parent":{"type":"string","description":"The parent department name."}},"description":"The department of the employee.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsDepartment"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsTeam":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Refers to Groups in the platform. Working groups that reflect the organization's structure."},"name":{"type":"string","description":"The team name."}},"description":"The team to which the employee belongs.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsTeam"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsPayment":{"type":"object","properties":{"rate":{"type":["string","null"],"title":"float","description":"The payment rate"},"scale":{"type":["string","null"],"description":"The payment scale (e.g., hourly, weekly, monthly, etc.)"},"currency":{"type":"string","description":"The currency code (ISO 4217) for the payment"},"contract_name":{"type":"string","description":"The name of the contract associated with the payment"}},"description":"Payment information for the employment, including rate, scale, currency, and associated contract name.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsPayment"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsBandPlacement":{"type":"string","enum":["ABOVE","WITHIN","BELOW"],"description":"Where the employee falls in their compensation band","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsBandPlacement"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsContractCoverage":{"type":"string","enum":["is_premium","is_shielded","no_coverage"],"description":"The coverage of the employment contract.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsContractCoverage"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsClientLegalEntity":{"type":"object","properties":{"id":{"type":["string","null"],"format":"uuid","description":"Unique identifier of this resource."},"name":{"type":["string","null"],"description":"The name of the client legal entity."}},"description":"The client legal entity associated with this employment contract.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsClientLegalEntity"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsHrisDirectEmployeeInvitation":{"type":"object","properties":{"oid":{"type":"string","description":"Unique identifier of this resource."},"status":{"type":["string","null"],"description":"The HRIS direct employee invitation status."},"send_at":{"type":["string","null"],"format":"date-time","description":"The HRIS direct employee invitation send date."},"timezone":{"type":["string","null"],"description":"The HRIS direct employee invitation timezone."}},"description":"The HRIS direct employee invitation status.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsHrisDirectEmployeeInvitation"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItems":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the employment."},"name":{"type":"string","description":"Name of the employee."},"team":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsTeam","description":"The team to which the employee belongs."},"email":{"type":"string","description":"The work email of the employee."},"state":{"type":["string","null"],"description":"The state of employment."},"country":{"type":["string","null"],"description":"The country of employment."},"payment":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsPayment","description":"Payment information for the employment, including rate, scale, currency, and associated contract name."},"is_ended":{"type":"boolean","description":"Whether the employment has ended."},"timezone":{"type":["string","null"],"description":"The timezone of the employment."},"job_title":{"type":["string","null"],"description":"The job title of the employment."},"seniority":{"type":["string","null"],"description":"The seniority level of the employment."},"start_date":{"type":["string","null"],"format":"date","description":"The start date of the employment."},"work_email":{"type":["string","null"],"description":"The work email of the employment."},"hiring_type":{"type":["string","null"],"description":"The type of hiring of the employment."},"hiring_status":{"type":"string","description":"The current hiring status of the employment."},"band_placement":{"oneOf":[{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsBandPlacement"},{"type":"null"}],"description":"Where the employee falls in their compensation band"},"completion_date":{"type":["string","null"],"description":"The completion date of the employment contract."},"contract_status":{"type":"string","description":"The status of the employment contract."},"employee_number":{"type":["string","null"],"description":"The employee number set for this employment. Null when the employment has no employee number."},"voluntarily_left":{"type":["boolean","null"],"description":"Whether the employee voluntarily left the employment."},"comparative_ratio":{"type":["number","null"],"format":"double","description":"Number comparing an employee's compensation to the band midpoint"},"contract_coverage":{"oneOf":[{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsContractCoverage"},{"type":"null"}],"description":"The coverage of the employment contract."},"new_hiring_status":{"type":["string","null"],"description":"The new hiring status of the employment."},"client_legal_entity":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsClientLegalEntity","description":"The client legal entity associated with this employment contract."},"has_eor_termination":{"type":["boolean","null"],"description":"Whether the employment has an EOR termination."},"compensation_band_id":{"type":["string","null"],"description":"The employee's assigned compensation band"},"contract_is_archived":{"type":"boolean","description":"Whether the employment contract is archived."},"termination_last_day":{"type":["string","null"],"format":"date-time","description":"The last day of work mentioned on the contract termination."},"contract_has_contractor":{"type":"boolean","description":"Whether the contract has a contractor."},"is_user_contract_deleted":{"type":"boolean","description":"Whether the user contract is deleted."},"hris_direct_employee_invitation":{"oneOf":[{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItemsHrisDirectEmployeeInvitation"},{"type":"null"}],"description":"The HRIS direct employee invitation status."}},"title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItems"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsPersonStatus":{"type":"string","enum":["ACTIVE","NOT_STARTED","INACTIVE"],"description":"Lifecycle status of the person (worker profile). Omitted or null without people_person_status.view; excluded from the response when using `fields` if not requested.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsPersonStatus"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsDirectManager":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the manager."},"last_name":{"type":"string","description":"The last name of the manager."},"worker_id":{"type":"number","format":"double","description":"The worker ID of the manager."},"first_name":{"type":"string","description":"The first name of the manager."},"work_email":{"type":["string","null"],"description":"The work email of the manager."}},"description":"The direct manager of the employee.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsDirectManager"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsDirectReportsItems":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the direct report."},"last_name":{"type":"string","description":"The last name of the direct report."},"first_name":{"type":"string","description":"The first name of the direct report."},"work_email":{"type":["string","null"],"description":"The work email of the direct report."}},"title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsDirectReportsItems"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsAdditionalDetailsItemsValue":{"oneOf":[{"type":"string"},{"type":"number","format":"double"},{"type":"boolean"},{"type":"object","additionalProperties":{"description":"Any type"}}],"description":"Raw value associated with the field. May be a string, number, boolean, or null.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsAdditionalDetailsItemsValue"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsAdditionalDetailsItems":{"type":"object","properties":{"type":{"type":"string","description":"Field name (the JSONB key from hris_employment_eligibility.eligibility_data, e.g. socialSecurity, idNumber, taxIdentificationNumber)."},"value":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsAdditionalDetailsItemsValue","description":"Raw value associated with the field. May be a string, number, boolean, or null."},"country":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2,"description":"ISO-2 country code that scopes this entry."}},"title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsAdditionalDetailsItems"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsClientLegalEntity":{"type":"object","properties":{"id":{"type":["string","null"],"format":"uuid","description":"Unique identifier of this resource."},"name":{"type":["string","null"],"description":"The name of the client legal entity."}},"description":"The primary client legal entity associated with the employee.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsClientLegalEntity"},"PeopleGetResponsesContentApplicationJsonSchemaDataItemsActiveWorkerTerminationStatus":{"type":"string","enum":["PENDING","CONTRACT_TERMINATION_DATA_COLLECTED","IN_PROGRESS","COMPLETED","FAILED","CANCELED"],"description":"The status of the active worker termination.","title":"PeopleGetResponsesContentApplicationJsonSchemaDataItemsActiveWorkerTerminationStatus"},"PeopleGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the employee."},"state":{"type":["string","null"],"description":"The state of the employee."},"emails":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmailsItems"},"description":"An array of the employee's email addresses."},"country":{"type":["string","null"],"description":"The country of the employee."},"is_pwac":{"type":"boolean","description":"Whether the worker is a Person Without a Contract (PWAC)"},"timezone":{"type":["string","null"],"description":"The timezone of the employee."},"addresses":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsAddressesItems"},"description":"An array of address objects containing the employee's physical addresses."},"full_name":{"type":"string","description":"The full name of the employee."},"job_title":{"type":["string","null"],"description":"The job title of the employee."},"last_name":{"type":["string","null"],"description":"The last name of the employee."},"seniority":{"type":["string","null"],"description":"The seniority level of the employee."},"worker_id":{"type":"string","description":"The worker ID of the employee."},"birth_date":{"type":["string","null"],"description":"The birth date of the employee."},"created_at":{"type":"string","format":"date-time","description":"The creation timestamp of the employee record."},"department":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsDepartment","description":"The department of the employee."},"first_name":{"type":"string","description":"The first name of the employee."},"start_date":{"type":["string","null"],"format":"date","description":"The date the employee started working."},"updated_at":{"type":["string","null"],"format":"date-time","description":"Long date-time format following ISO-8601"},"employments":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsEmploymentsItems"},"description":"An array of employment records associated with the employee, including contract details, team information, payment details, and employment status."},"external_id":{"type":["string","null"],"description":"The external ID of the employee."},"hiring_type":{"type":["string","null"],"description":"The type of hiring of the employee."},"middle_name":{"type":["string","null"],"description":"The middle name of the employee."},"hiring_status":{"type":"string","description":"The current hiring status of the employee."},"nationalities":{"type":"array","items":{"type":"string"},"description":"The nationality of the employee."},"person_status":{"oneOf":[{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsPersonStatus"},{"type":"null"}],"description":"Lifecycle status of the person (worker profile). Omitted or null without people_person_status.view; excluded from the response when using `fields` if not requested."},"work_location":{"type":["string","null"],"description":"The work location of the employee."},"direct_manager":{"oneOf":[{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsDirectManager"},{"type":"null"}],"description":"The direct manager of the employee."},"direct_reports":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsDirectReportsItems"},"description":"The direct reports to the employee."},"completion_date":{"type":["string","null"],"description":"The completion date of the task or project."},"new_hiring_status":{"type":["string","null"],"description":"The new hiring status of the employee."},"additional_details":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsAdditionalDetailsItems"},"description":"Country-scoped additional employment data points (national IDs, tax IDs, etc.) sourced from hris_employment_eligibility.eligibility_data. Returned only when the caller's organization has the feature flag enable and the request is not redacting PII."},"client_legal_entity":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsClientLegalEntity","description":"The primary client legal entity associated with the employee."},"preferred_last_name":{"type":["string","null"],"description":"The preferred last name of the employee."},"direct_reports_count":{"type":"integer","description":"The count of direct reports to the employee."},"preferred_first_name":{"type":["string","null"],"description":"The preferred first name of the employee."},"hris_organization_user_id":{"type":["string","null"],"format":"uuid","description":"HRIS Organization User ID of the employee. Used in products like Deel Engage."},"active_worker_termination_status":{"oneOf":[{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItemsActiveWorkerTerminationStatus"},{"type":"null"}],"description":"The status of the active worker termination."},"direct_employee_termination_last_day":{"type":"string","format":"date-time","description":"The last day of work mentioned on the primary contract termination."}},"title":"PeopleGetResponsesContentApplicationJsonSchemaDataItems"},"PeopleGetResponsesContentApplicationJsonSchemaPage":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":999999999},"total_rows":{"type":"number","format":"double"},"items_per_page":{"type":"number","format":"double","minimum":1,"maximum":200}},"required":["offset","total_rows","items_per_page"],"title":"PeopleGetResponsesContentApplicationJsonSchemaPage"},"people_getPeople_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaDataItems"}},"page":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaPage"}},"required":["data"],"title":"people_getPeople_Response_200"},"PeopleGetResponsesContentApplicationJsonSchemaError":{"type":"object","properties":{"code":{"type":"string","description":"Error code identifying the type of error."},"details":{"type":["string","null"],"description":"Additional details about the error."},"message":{"type":"string","description":"Error message describing what went wrong."}},"required":["code","message"],"title":"PeopleGetResponsesContentApplicationJsonSchemaError"},"ListOfPeople-v2026-01-01RequestInternalServerError":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/PeopleGetResponsesContentApplicationJsonSchemaError"}},"required":["error"],"title":"ListOfPeople-v2026-01-01RequestInternalServerError"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmailsItems":{"type":"object","properties":{"type":{"type":"string","description":"The type of email."},"value":{"type":["string","null"],"description":"The email address."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmailsItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAddressesItems":{"type":"object","properties":{"region":{"type":"string","description":"Region code."},"country":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2,"description":"Country code."},"locality":{"type":"string","description":"Locality name."},"postalCode":{"type":"string","description":"Postal code."},"streetAddress":{"type":"string","description":"Street and number."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAddressesItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDepartment":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of this resource."},"name":{"type":"string","description":"The name of the department."},"parent":{"type":"string","description":"The parent department."}},"description":"The department of the employee.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDepartment"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsTeam":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Refers to Groups in the platform. Working groups that reflect the organization's structure."},"name":{"type":"string","description":"The team name."}},"description":"The team to which the employee belongs.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsTeam"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsPaymentRate":{"oneOf":[{"type":"string"},{"type":"number","format":"double"}],"description":"The payment rate. Value is a string if contract type is PEO.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsPaymentRate"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsPayment":{"type":"object","properties":{"rate":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsPaymentRate","description":"The payment rate. Value is a string if contract type is PEO."},"scale":{"type":["string","null"],"description":"The payment scale (e.g., hourly, weekly, monthly, etc.)"},"currency":{"type":"string","description":"The currency code (ISO 4217) for the payment"},"contract_name":{"type":"string","description":"The name of the contract associated with the payment"}},"description":"Payment information for the employment, including rate, scale, currency, and associated contract name.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsPayment"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsContractCoverage":{"type":"string","enum":["is_shielded","is_premium"],"description":"The coverage type of the employment contract. 'is_shielded' = Contractor of Record, 'is_premium' = Premium, null = Standard (no coverage).","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsContractCoverage"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsClientLegalEntity":{"type":"object","properties":{"id":{"type":["string","null"],"format":"uuid","description":"Unique identifier of this resource."},"name":{"type":["string","null"],"description":"The name of the client legal entity."}},"description":"The client legal entity associated with this employment contract.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsClientLegalEntity"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsHrisDirectEmployeeInvitation":{"type":"object","properties":{"oid":{"type":"string","description":"Unique identifier of this resource."},"status":{"type":["string","null"],"description":"The HRIS direct employee invitation status."},"send_at":{"type":["string","null"],"format":"date-time","description":"The HRIS direct employee invitation send date."},"timezone":{"type":["string","null"],"description":"The HRIS direct employee invitation timezone."}},"description":"The HRIS direct employee invitation status.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsHrisDirectEmployeeInvitation"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItems":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the employment."},"name":{"type":"string","description":"Name of the employee."},"team":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsTeam","description":"The team to which the employee belongs."},"email":{"type":"string","description":"The work email of the employee."},"state":{"type":["string","null"],"description":"The state of employment."},"country":{"type":["string","null"],"description":"The country of employment."},"payment":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsPayment","description":"Payment information for the employment, including rate, scale, currency, and associated contract name."},"is_ended":{"type":"boolean","description":"Whether the employment has ended."},"timezone":{"type":["string","null"],"description":"The timezone of the employment."},"job_title":{"type":["string","null"],"description":"The job title of the employment."},"seniority":{"type":["string","null"],"description":"The seniority level of the employment."},"start_date":{"type":["string","null"],"format":"date","description":"The start date of the employment."},"work_email":{"type":["string","null"],"description":"The work email of the employment."},"hiring_type":{"type":"string","description":"The type of hiring of the employment."},"hiring_status":{"type":"string","description":"The current hiring status of the employment."},"completion_date":{"type":["string","null"],"description":"The completion date of the employment contract."},"contract_status":{"type":"string","description":"The status of the employment contract."},"voluntarily_left":{"type":["boolean","null"],"description":"Whether the employee voluntarily left the employment."},"contract_coverage":{"oneOf":[{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsContractCoverage"},{"type":"null"}],"description":"The coverage type of the employment contract. 'is_shielded' = Contractor of Record, 'is_premium' = Premium, null = Standard (no coverage)."},"new_hiring_status":{"type":"string","description":"The new hiring status of the employment."},"client_legal_entity":{"oneOf":[{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsClientLegalEntity"},{"type":"null"}],"description":"The client legal entity associated with this employment contract."},"has_eor_termination":{"type":["boolean","null"],"description":"Whether the employment has an EOR termination."},"contract_is_archived":{"type":"boolean","description":"Whether the employment contract is archived."},"termination_last_day":{"type":["string","null"],"format":"date-time","description":"The last day of work mentioned on the contract termination."},"contract_has_contractor":{"type":"boolean","description":"Whether the contract has a contractor."},"is_user_contract_deleted":{"type":"boolean","description":"Whether the user contract is deleted."},"hris_direct_employee_invitation":{"oneOf":[{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItemsHrisDirectEmployeeInvitation"},{"type":"null"}],"description":"The HRIS direct employee invitation status."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDirectManager":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the manager."},"last_name":{"type":"string","description":"The last name of the manager."},"worker_id":{"type":"number","format":"double","description":"The worker ID of the manager."},"first_name":{"type":"string","description":"The first name of the manager."},"work_email":{"type":["string","null"],"description":"The work email of the manager."}},"description":"The direct manager of the employee.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDirectManager"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDirectReportsItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the direct report."},"last_name":{"type":"string","description":"The last name of the direct report."},"first_name":{"type":"string","description":"The first name of the direct report."},"work_email":{"type":["string","null"],"description":"The work email of the direct report."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDirectReportsItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAdditionalDetailsItemsValue":{"oneOf":[{"type":"string"},{"type":"number","format":"double"},{"type":"boolean"},{"type":"object","additionalProperties":{"description":"Any type"}}],"description":"Raw value associated with the field. May be a string, number, boolean, or null.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAdditionalDetailsItemsValue"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAdditionalDetailsItems":{"type":"object","properties":{"type":{"type":"string","description":"Field name (the JSONB key from hris_employment_eligibility.eligibility_data, e.g. socialSecurity, idNumber, taxIdentificationNumber)."},"value":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAdditionalDetailsItemsValue","description":"Raw value associated with the field. May be a string, number, boolean, or null."},"country":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2,"description":"ISO-2 country code that scopes this entry."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAdditionalDetailsItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataClientLegalEntity":{"type":"object","properties":{"id":{"type":["string","null"],"format":"uuid","description":"Unique identifier of this resource."},"name":{"type":["string","null"],"description":"The name of the client legal entity."}},"description":"The primary client legal entity associated with the employee.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataClientLegalEntity"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataActiveWorkerTerminationStatus":{"type":"string","enum":["PENDING","CONTRACT_TERMINATION_DATA_COLLECTED","IN_PROGRESS","COMPLETED","FAILED","CANCELED"],"description":"The status of the active worker termination.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataActiveWorkerTerminationStatus"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItemsPositionsItemsRole":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Id of the role."},"name":{"type":"string","description":"Name of the role."}},"description":"The role associated with this position, including role ID and name.","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItemsPositionsItemsRole"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItemsPositionsItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Id of the position."},"role":{"oneOf":[{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItemsPositionsItemsRole"},{"type":"null"}],"description":"The role associated with this position, including role ID and name."},"is_supportive":{"type":"boolean","description":"Whether the position is supportive or not."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItemsPositionsItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Id of the team."},"name":{"type":"string","description":"Name of the team."},"positions":{"type":"array","items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItemsPositionsItems"},"description":"An array of positions held by the employee within this team."},"name_hierarchy":{"type":["string","null"],"description":"Hierarchy of the team."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Id of the Organizational structure."},"name":{"type":"string","description":"Name of the Organizational structure."},"teams":{"type":"array","items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItemsTeamsItems"},"description":"List of teams in the organizational structure."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataCustomFieldsItems":{"type":"object","properties":{"name":{"type":"string","description":"Custom field property name."},"value":{"type":["string","null"],"description":"Custom field property value."}},"description":"Customized attributes on people (Job title, Project code, etc).","title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataCustomFieldsItems"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaData":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the employee."},"state":{"type":["string","null"],"description":"The state of the employee."},"emails":{"type":"array","items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmailsItems"},"description":"An array of the employee's email addresses."},"country":{"type":["string","null"],"description":"The country of the employee."},"timezone":{"type":["string","null"],"description":"The timezone of the employee."},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAddressesItems"},"description":"An array of address objects containing the employee's physical addresses."},"full_name":{"type":"string","description":"The full name of the employee."},"job_title":{"type":["string","null"],"description":"The job title of the employee."},"last_name":{"type":"string","description":"The last name of the employee."},"seniority":{"type":["string","null"],"description":"The seniority level of the employee."},"worker_id":{"type":"string","description":"The worker ID of the employee."},"birth_date":{"type":["string","null"],"description":"The birth date of the employee."},"created_at":{"type":"string","format":"date-time","description":"The creation timestamp of the employee record."},"department":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDepartment","description":"The department of the employee."},"first_name":{"type":"string","description":"The first name of the employee."},"start_date":{"type":["string","null"],"format":"date","description":"The date the employee started working."},"updated_at":{"type":["string","null"],"format":"date-time","description":"Long date-time format following ISO-8601"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataEmploymentsItems"},"description":"An array of employment records associated with the employee, including contract details, team information, payment details, and employment status."},"external_id":{"type":["string","null"],"description":"The external ID of the employee."},"hiring_type":{"type":"string","description":"The type of hiring of the employee."},"hiring_status":{"type":"string","description":"The current hiring status of the employee."},"nationalities":{"type":"array","items":{"type":"string"},"description":"The nationality of the employee."},"work_location":{"type":["string","null"],"description":"The work location of the employee."},"direct_manager":{"oneOf":[{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDirectManager"},{"type":"null"}],"description":"The direct manager of the employee."},"direct_reports":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataDirectReportsItems"},"description":"The direct reports to the employee."},"completion_date":{"type":["string","null"],"description":"The completion date of the task or project."},"new_hiring_status":{"type":"string","description":"The new hiring status of the employee."},"additional_details":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataAdditionalDetailsItems"},"description":"Country-scoped additional employment data points (national IDs, tax IDs, etc.) sourced from hris_employment_eligibility.eligibility_data. Returned only when the caller's organization has the feature flag enabled and the request is not redacting PII."},"client_legal_entity":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataClientLegalEntity","description":"The primary client legal entity associated with the employee."},"preferred_last_name":{"type":["string","null"],"description":"The preferred last name of the employee."},"direct_reports_count":{"type":"integer","description":"The count of direct reports to the employee."},"preferred_first_name":{"type":["string","null"],"description":"The preferred first name of the employee."},"active_worker_termination_status":{"oneOf":[{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataActiveWorkerTerminationStatus"},{"type":"null"}],"description":"The status of the active worker termination."},"profile_organizational_structures":{"type":"array","items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataProfileOrganizationalStructuresItems"},"description":"An array of organizational structures associated with the employee profile."},"direct_employee_termination_last_day":{"type":"string","format":"date","description":"The last day of work mentioned on the primary contract termination."},"custom_fields":{"type":"array","items":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaDataCustomFieldsItems"},"description":"An array of custom field objects containing additional attributes associated with the employee (e.g., Job title, Project code, etc.)."}},"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaData"},"people_getPersonById_Response_200":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaData"}},"required":["data"],"title":"people_getPersonById_Response_200"},"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaError":{"type":"object","properties":{"code":{"type":"string","description":"Error code identifying the type of error."},"details":{"type":["string","null"],"description":"Additional details about the error."},"message":{"type":"string","description":"Error message describing what went wrong."}},"required":["code","message"],"title":"PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaError"},"RetrieveASinglePerson-v2026-01-01RequestInternalServerError":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/PeopleHrisProfileIdGetResponsesContentApplicationJsonSchemaError"}},"required":["error"],"title":"RetrieveASinglePerson-v2026-01-01RequestInternalServerError"}},"securitySchemes":{"deelToken":{"type":"http","scheme":"bearer","description":"## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)"},"oauth2":{"type":"http","scheme":"bearer","description":"Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/"}}}}