---
title: "Completes an assigned job."
method: POST
path: "/routing/jobs/{jobId}/assignments/{assignmentId}:complete"
---

# Completes an assigned job.

`POST /routing/jobs/{jobId}/assignments/{assignmentId}:complete`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/routing/jobs/{jobId}/assignments/{assignmentId}:complete`
- Auth: OAuth 2
  - Authorization code: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Token URL: `https://login.microsoftonline.com/common/oauth2/token` scopes: `https://communication.azure.com/.default`

Completes an assigned job.

## Path parameters

- `jobId` string, required
- `assignmentId` string, required

## Query parameters

- `api-version` string, required

## Request body

- CompleteJobOptions: Request payload for completing jobs.
  - `note` string: A note that will be appended to a job's Notes collection with the current timestamp.

## Response `200`

The request has succeeded.

- CompleteJobResult: Response payload from completing a job.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** `fe2019dcc5b0`: 1 info
  - endpoint added
- **2022-05-05** `8cbeaf5a7ce3`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/azure/apis/communication-jobrouter/changes/routing/jobs/:jobId/assignments/:assignmentId:complete/post.md)

---

[API](https://skmtc.dev/azure/apis/communication-jobrouter.md) - [All operations](https://skmtc.dev/azure/apis/communication-jobrouter/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/communication-jobrouter/revisions/c06e8f55d8b7?raw)
