---
title: "Approve EOR project assignment as client"
method: POST
path: "/eor/contracts/{contract_id}/project-assignment/accept"
tags: ["eorProjectAssignment"]
---

# Approve EOR project assignment as client

`POST /eor/contracts/{contract_id}/project-assignment/accept`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/eor/contracts/{contract_id}/project-assignment/accept`
- Auth: HTTP bearer

Records client approval of a project assignment for an EOR contract once the client has reviewed the document, which GET /eor/contracts/{contract_id}/project-assignment returns. This is the client-side approval; the worker acknowledges with POST /eor/workers/contracts/{contract_id}/project-assignment/acknowledge, which records acknowledgement, and check-ins are submitted with POST /eor/contracts/{contract_id}/project-assignment/checkin, which submits them.

 **Token scopes**: `contracts:write`

## Path parameters

- `contract_id` string, required

## Request body

- object
  - `data` EorContractsContractIdProjectAssignmentAcceptPostRequestBodyContentApplicationJsonSchemaData
    - `version` string: This field is to ensure that the latest version of the project assignment PDF matches the version received from the webhook. If it is not sent, the version validation is not performed and the endpoint returns the PDF. If it is sent, it is checked whether the current version is equal to the version sent; if not, a 409 error occurs, otherwise, the PDF is returned.

## Response `204`

The project assignment was accepted successfully.

- object

## Other responses

- `400`: Bad Request. The request could not be understood or was missing required parameters.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `409`: The requested version of the document mismatch the current version.
- `500`: Internal server error.

---

[API](https://skmtc.dev/deel/apis/eor-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/eor-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/eor-endpoints/revisions/7a55c7caa6dc?raw)
