---
title: "Upsert engagement agreement details"
method: POST
path: "/v1/employments/{employment_id}/engagement-agreement-details"
tags: ["Employments", "Engagement Agreement Details"]
---

# Upsert engagement agreement details

`POST /v1/employments/{employment_id}/engagement-agreement-details`

## Request

- Base URL: `https://gateway.remote.com`
- URL: `https://gateway.remote.com/v1/employments/{employment_id}/engagement-agreement-details`
- 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: `employment: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: `employment:write`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `all:write`
  - HTTP bearer

Creates or updates the engagement agreement details for an employment.

In some countries the details apply only to some contracts, depending on the contract's hiring
model. For a contract they don't apply to, this returns 404 "Engagement agreement details form not
found for this employment's contract."

This endpoint requires country-specific data. The exact required fields will vary depending on
which country the employment is in. To see the list of parameters for each country, see the
**Show form schema** endpoint under the [Countries](#tag/Countries) category.

Please note that compliance requirements for each country are subject to change according to local laws.
Using Remote's [json-schema-form](https://developer.remote.com/docs/how-json-schemas-work) is recommended
to avoid compliance issues and to have the latest version of a country's requirements.

## 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 employments (`employment:write`) |
| Company-scoped access token (assertion) | Manage employments (`employments`) | - | Manage employments (`employment:write`) |
| Customer API token | Manage employments (`employments`) | - | Manage employments (`employment:write`) |

## Path parameters

- `employment_id` string, required

## Request body

- EmploymentEngagementAgreementDetailsParams: Engagement agreement details schema compatible params.
  - `engagement_agreement_details` union, required: Engagement agreement details params. As its properties may vary depending on the country, you must query the [Show form schema](#tag/Countries/operation/get_v1_countries_country_code_form) endpoint passing the country code and the `engagement_agreement_details` form name.
    - object
      - `allowances_details` string[], nullable
      - `available_pto` integer, nullable
      - `break_time_per_day` integer, nullable
      - `business_expenses` string, nullable
      - `cba` string, nullable
      - `cba_document` EngagementAgreementDetailsFileParams[], nullable
        - `content` string: The file content, Base64 encoded. Required when uploading a new file. The decoded content must match the extension given in `name`. Requests are capped at 25MB in total, which leaves room for a file of roughly 18MB once Base64 encoded.
        - `id` string: ID of a file uploaded previously, as returned by the show endpoint. Send it to keep that file.
        - `name` string, required: The file name, including its extension.
        - `size` integer: The file size in bytes, before Base64 encoding.
        - `type` string: The file's media type.
      - `covenants` string[], nullable
      - `has_allowances` string, nullable
      - `has_bonus` string, nullable
      - `has_business_expenses` string, nullable
      - `has_business_presence` string
      - `has_cba` string, nullable
      - `has_commissions` string, nullable
      - `has_covenants` string, nullable
      - `has_illness_remuneration` string, nullable
      - `has_overtime_compensation` string, nullable
      - `has_pension_scheme` string, nullable
      - `has_signing_bonus` string, nullable
      - `has_similar_roles` string
      - `has_similar_work_conditions` string, nullable
      - `illness_remuneration_details` string, nullable
      - `max_annual_gross_salary` integer, nullable
      - `min_annual_gross_salary` integer, nullable
      - `overtime_compensation_begins` integer, nullable
      - `overtime_compensation_type` string, nullable
      - `overtime_pay_percentage` integer, nullable
      - `pension_scheme` string, nullable
      - `similar_roles` string, nullable
      - `similar_work_conditions_details` string, nullable
      - `work_hours_per_week` number, double, nullable
      - `working_days` string[], nullable
    - object
      - `arduous_work_premium_percentage` number, double, nullable
      - `available_pto` integer, nullable
      - `has_bonus` string, nullable
      - `has_commissions` string, nullable
      - `has_signing_bonus` string, nullable
      - `has_similar_roles` string
      - `has_similar_work_conditions` string, nullable
      - `max_annual_gross_salary` integer, nullable
      - `min_annual_gross_salary` integer, nullable
      - `night_work_premium_percentage` number, double, nullable
      - `obstacle_to_work_premium_percentage` number, double, nullable
      - `on_call_premium_percentage` number, double, nullable
      - `overtime_premium_percentage` number, double, nullable
      - `probation_period_months` integer, nullable
      - `provided_equipment` union
        - string[], nullable
        - ''
      - `provided_training` union
        - string[], nullable
        - ''
      - `public_holiday_work_premium_percentage` number, double, nullable
      - `similar_role_job_title` string, nullable
      - `similar_work_conditions_details` string, nullable
      - `weekend_work_premium_percentage` number, double, nullable
      - `work_hours_per_week` number, double, nullable
      - `working_days` string[], nullable

## Response `200`

Success

- SuccessResponse: A generic success response returned by operations that don't produce a specific resource (e.g., updates, deletes).
  - `data` object, required
    - `status` string: The result status. Always `"ok"` for successful operations.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `429`: Too Many Requests

## Changes

- **2026-12-01** `777f36f27c65`: 4 info
  - the security scope `employment:write` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - 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 `employment:write` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - 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/employments/:employment_id/engagement-agreement-details/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)
