---
title: "Create Direct Offboarding"
method: POST
path: "/v1/direct-offboardings"
tags: ["Offboarding", "Global Payroll"]
---

# Create Direct Offboarding

`POST /v1/direct-offboardings`

## Request

- Base URL: `https://gateway.remote.com`
- URL: `https://gateway.remote.com/v1/direct-offboardings`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `https://gateway.remote.com/company.manage`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `offboarding:write`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `all:write`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `offboarding:write`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `all:write`
  - HTTP bearer

Starts the offboarding of an active Global Payroll employee, as the Offboarding form in Remote does. Remote's
payroll team is told, and the offboarding then follows the company's approval flow. It is never completed through
the API.

Answers 422 when the employment isn't an active Global Payroll employment, already has an open offboarding, or
when the request sends a field or a date that isn't supported yet. To offboard an Employer of Record employment,
use `POST /v1/offboardings`.

## Authentication

This endpoint accepts any one of the following token types:

- **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).
- **Company-scoped access token (assertion)** (`OAuth2CompanyManagerAssertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant for a company manager. See [OAuth Assertion](https://developer.remote.com/docs/authorization-method-oauth-assertion).
- **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page, with the scopes they choose there. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).

## Scopes

Any one of the scopes in a token type's row is enough. `all:write` works too.

| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Company-scoped access token | Manage employments (`employments`) | - | Manage offboarding (`offboarding:write`) |
| Company-scoped access token (assertion) | Manage employments (`employments`) | - | Manage offboarding (`offboarding:write`) |
| Customer API token | Manage employments (`employments`) | - | Manage offboarding (`offboarding:write`) |

## Request body

- CreateDirectOffboardingParams: Starts the offboarding of an active Global Payroll employee, as the Offboarding form in Remote does. Not supported yet, and answered with 422 when sent: `is_confidential_termination`, `country_specific_details`, `final_payment_details` and `offboarding_files`. A `termination_date` or `last_working_day` before today, in UTC, is not supported yet either.
  - `additional_notes` string: Anything else Remote's payroll team should know.
  - `employment_id` string, required: The unique identifier (UUID) of the Global Payroll employment to offboard.
  - `last_working_day` string, date, required: The employee's last working day. Today or later.
  - `notification_date` string, date, required: The date the employee was told about the offboarding.
  - `pay_through_date` string, date, required: The last day the employee is paid for.
  - `regrettable_termination` 'regrettable' | 'non_regrettable': Whether the company regrets losing the employee.
  - `termination_date` string, date, required: The date the employment ends. Today or later.
  - `termination_reason` 'resignation_reason_company_culture_or_values' | 'resignation_reason_company_dissatisfaction' | 'resignation_reason_compensation_and_recognition_dissatisfaction' | 'resignation_reason_dissatisfaction_with_remote_service' | 'resignation_reason_education_return_to_school' | 'resignation_reason_health_reasons' | 'resignation_reason_incapacity_to_perform_inherent_duties' | 'resignation_reason_infrastructure_challenges' | 'resignation_reason_job_dissatisfaction' | 'resignation_reason_lack_of_recognition' | 'resignation_reason_leadership' | 'resignation_reason_manager_dissatisfaction' | 'resignation_reason_mutual_agreement' | 'resignation_reason_other' | 'resignation_reason_other_job_opportunity' | 'resignation_reason_personal_reasons' | 'resignation_reason_position_does_not_meet_expectations' | 'resignation_reason_relationship_with_coworkers' | 'resignation_reason_relocation_leaving_remote' | 'resignation_reason_remuneration_and_benefits' | 'resignation_reason_retirement' | 'retirement' | 'termination_by_customer_death_or_disability' | 'termination_by_customer_disentanglement' | 'termination_by_customer_expiry_of_leave_of_absence' | 'termination_by_customer_reason_background_check' | 'termination_by_customer_reason_cancellation_before_start_date' | 'termination_by_customer_reason_compliance_issue' | 'termination_by_customer_reason_dissatisfaction_with_remote_service' | 'termination_by_customer_reason_end_of_contract' | 'termination_by_customer_reason_end_of_fixed_term_contract' | 'termination_by_customer_reason_end_of_fixed_term_contract_compliance_issue' | 'termination_by_customer_reason_end_of_fixed_term_contract_incapacity_to_perform_inherent_duties' | 'termination_by_customer_reason_end_of_fixed_term_contract_local_regulations_max_term_reached' | 'termination_by_customer_reason_end_of_fixed_term_contract_misconduct' | 'termination_by_customer_reason_end_of_fixed_term_contract_operational_reasons' | 'termination_by_customer_reason_end_of_fixed_term_contract_other' | 'termination_by_customer_reason_end_of_fixed_term_contract_performance' | 'termination_by_customer_reason_end_of_fixed_term_contract_redundancy' | 'termination_by_customer_reason_end_of_fixed_term_contract_values' | 'termination_by_customer_reason_gross_misconduct' | 'termination_by_customer_reason_incapacity_to_perform_inherent_duties' | 'termination_by_customer_reason_job_abandonment' | 'termination_by_customer_reason_mutual_agreement' | 'termination_by_customer_reason_other' | 'termination_by_customer_reason_performance' | 'termination_by_customer_reason_values' | 'termination_by_customer_reason_workforce_reduction': The reason for the offboarding. Required for every type except `mutual_agreement`, and it must belong to the type: - `end_of_contract`: `termination_by_customer_reason_end_of_contract` - `resignation`: `resignation_reason_company_culture_or_values`, `resignation_reason_dissatisfaction_with_remote_service`, `resignation_reason_incapacity_to_perform_inherent_duties`, `resignation_reason_infrastructure_challenges`, `resignation_reason_lack_of_recognition`, `resignation_reason_leadership`, `resignation_reason_mutual_agreement`, `resignation_reason_other_job_opportunity`, `resignation_reason_personal_reasons`, `resignation_reason_position_does_not_meet_expectations`, `resignation_reason_relationship_with_coworkers`, `resignation_reason_relocation_leaving_remote`, `resignation_reason_remuneration_and_benefits`, `resignation_reason_retirement`, `resignation_reason_other`, `resignation_reason_education_return_to_school`, `resignation_reason_health_reasons`, `resignation_reason_job_dissatisfaction`, `resignation_reason_manager_dissatisfaction`, `resignation_reason_compensation_and_recognition_dissatisfaction`, `resignation_reason_company_dissatisfaction`, `termination_by_customer_reason_job_abandonment` - `retirement`: `retirement` - `termination`: `termination_by_customer_reason_background_check`, `termination_by_customer_reason_cancellation_before_start_date`, `termination_by_customer_reason_compliance_issue`, `termination_by_customer_reason_dissatisfaction_with_remote_service`, `termination_by_customer_reason_gross_misconduct`, `termination_by_customer_reason_incapacity_to_perform_inherent_duties`, `termination_by_customer_reason_job_abandonment`, `termination_by_customer_reason_mutual_agreement`, `termination_by_customer_reason_performance`, `termination_by_customer_reason_values`, `termination_by_customer_reason_workforce_reduction`, `termination_by_customer_reason_other`, `termination_by_customer_death_or_disability`, `termination_by_customer_expiry_of_leave_of_absence`, `termination_by_customer_disentanglement`, `termination_by_customer_reason_end_of_fixed_term_contract`, `termination_by_customer_reason_end_of_fixed_term_contract_compliance_issue`, `termination_by_customer_reason_end_of_fixed_term_contract_incapacity_to_perform_inherent_duties`, `termination_by_customer_reason_end_of_fixed_term_contract_local_regulations_max_term_reached`, `termination_by_customer_reason_end_of_fixed_term_contract_misconduct`, `termination_by_customer_reason_end_of_fixed_term_contract_operational_reasons`, `termination_by_customer_reason_end_of_fixed_term_contract_other`, `termination_by_customer_reason_end_of_fixed_term_contract_performance`, `termination_by_customer_reason_end_of_fixed_term_contract_redundancy`, `termination_by_customer_reason_end_of_fixed_term_contract_values`, `termination_by_customer_reason_end_of_contract`
  - `termination_reason_description` string: Explains the reason. Required when `termination_reason` is one of the `..._other` reasons.
  - `type` 'termination' | 'resignation' | 'mutual_agreement' | 'retirement' | 'end_of_contract', required: Why the employment ends.

## Response `201`

Created

- DirectOffboardingResponse: Response containing one offboarding of a global payroll employment.
  - `data` object, required
    - `direct_offboarding` DirectOffboarding, required: A Global Payroll employment's offboarding record.
      - `employment_id` string, required: The unique identifier (UUID) of the employment being offboarded.
      - `id` string, required: The unique identifier (UUID) of the offboarding.
      - `is_confidential_termination` boolean, nullable, required: Whether the termination is confidential.
      - `last_working_day` string, date, nullable: Last working day of the employee.
      - `status` 'submitted' | 'in_review' | 'rejected' | 'pending_payment_details' | 'pending_payment' | 'completed', required: The current status of the offboarding.
      - `termination_date` string, date, nullable: Date when the employment terminates.
      - `type` 'termination' | 'resignation' | 'mutual_agreement' | 'retirement' | 'end_of_contract', required: The type of offboarding.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity

## Changes

- **2026-12-01** `777f36f27c65`: 4 info
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `offboarding:write` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2CompanyManagerAssertion`
- **2026-12-01** `a7797b614386`: 4 info
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `offboarding:write` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2CompanyManagerAssertion`
- …earlier changes not shown

[Operation history](https://skmtc.dev/remote-com/apis/remote-api/changes/v1/direct-offboardings/post.md)

---

[API](https://skmtc.dev/remote-com/apis/remote-api.md) - [All operations](https://skmtc.dev/remote-com/apis/remote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/remote-com/apis/remote-api/revisions/777f36f27c65?raw)
