---
title: "Accepts an offer to work on a job and returns a 409/Conflict if another agent accepted the job already."
method: POST
path: "/routing/workers/{workerId}/offers/{offerId}:accept"
---

# Accepts an offer to work on a job and returns a 409/Conflict if another agent accepted the job already.

`POST /routing/workers/{workerId}/offers/{offerId}:accept`

Accepts an offer to work on a job and returns a 409/Conflict if another agent accepted the job already.

## Path parameters

- `workerId` string, required
- `offerId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- AcceptJobOfferResult — Response containing ids for the worker, job, and assignment from an accepted offer.
  - `assignmentId` string, required — Id of job assignment that assigns a worker that has accepted an offer to a job.
  - `jobId` string, required — Id of the job assigned.
  - `workerId` string, required — Id of the worker that has been assigned this job.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/communication-jobrouter.md) · [All operations](https://skmtc.net/azure/apis/communication-jobrouter/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/communication-jobrouter/revisions/c06e8f55d8b7/schema)
