Create Direct Offboarding

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)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Direct offboarding

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.

string

Anything else Remote's payroll team should know.

string
required

The unique identifier (UUID) of the Global Payroll employment to offboard.

date
required

The employee's last working day. Today or later.

date
required

The date the employee was told about the offboarding.

date
required

The last day the employee is paid for.

string
enum

Whether the company regrets losing the employee.

Allowed:
date
required

The date the employment ends. Today or later.

string
enum

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
string

Explains the reason. Required when termination_reason is one of the ..._other reasons.

string
enum
required

Why the employment ends.

Allowed:
Responses

Callback
Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json