Offboarding
Global Payroll

Create Direct Offboarding

Changed on

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.
  • 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.
  • Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.

Scopes

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

Token typeCategoryRead only ScopeWrite only Scope (read access implicit)
Company-scoped access tokenManage employments (employments)-Manage offboarding (offboarding:write)
Company-scoped access token (assertion)Manage employments (employments)-Manage offboarding (offboarding:write)
Customer API tokenManage employments (employments)-Manage offboarding (offboarding:write)
post/v1/direct-offboardings

Request

  • Base URL
    https://gateway.remote.com
  • Auth
    • OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
      Scopeshttps://gateway.remote.com/company.manage
    • or OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
      Scopesoffboarding:write
    • or OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
      Scopesall:write
    • or OAuth 2
      Client credentials
      Token URL/auth/oauth2/token
      Scopesoffboarding:write
    • or OAuth 2
      Client credentials
      Token URL/auth/oauth2/token
      Scopesall:write
    • or HTTP bearer

Request body

CreateDirectOffboardingParams required

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.

Example request

{
  "employment_id": "5e55386e-4f4f-4def-92f4-bdc19a5ce77d",
  "last_working_day": "2026-12-30",
  "notification_date": "2026-12-01",
  "pay_through_date": "2026-12-31",
  "regrettable_termination": "non_regrettable",
  "termination_date": "2026-12-31",
  "termination_reason": "termination_by_customer_reason_performance",
  "type": "termination"
}

Response

Created

DirectOffboardingResponse required

Response containing one offboarding of a global payroll employment.

data, object required

Example response

{
  "data": {
    "direct_offboarding": {
      "employment_id": "emp-xyz789",
      "id": "offb-abc123",
      "is_confidential_termination": true,
      "last_working_day": "2026-08-30",
      "status": "pending_payment",
      "termination_date": "2026-08-31",
      "type": "termination"
    }
  }
}

Changes

    • info

      the security scope https://gateway.remote.com/company.manage was added to the endpoint's security scheme OAuth2AuthorizationCode

    • info

      the security scope offboarding:write was added to the endpoint's security scheme OAuth2CompanyManagerAssertion

    • info

      the security scope all:write was removed from the endpoint's security scheme OAuth2AuthorizationCode

    1 more change in this revision