Create Direct Offboarding
Changed onStarts 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 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
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopeshttps://gateway.remote.com/company.manage
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesoffboarding:write
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesall:write
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesoffboarding:write
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:write
- or HTTP bearer
Request body
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.
Anything else Remote's payroll team should know.
The unique identifier (UUID) of the Global Payroll employment to offboard.
The employee's last working day. Today or later.
The date the employee was told about the offboarding.
The last day the employee is paid for.
Whether the company regrets losing the employee.
The date the employment ends. Today or later.
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
Explains the reason. Required when termination_reason is one of the ..._other reasons.
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
Response containing one offboarding of a global payroll employment.
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.managewas added to the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
offboarding:writewas added to the endpoint's security schemeOAuth2CompanyManagerAssertion - info
the security scope
all:writewas removed from the endpoint's security schemeOAuth2AuthorizationCode
1 more change in this revision
- info