---
title: "Gets a job's position details."
method: GET
path: "/routing/jobs/{jobId}/position"
---

# Gets a job's position details.

`GET /routing/jobs/{jobId}/position`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/routing/jobs/{jobId}/position`
- 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`

Gets a job's position details.

## Path parameters

- `jobId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- RouterJobPositionDetails: Position and estimated wait time for a job.
  - `jobId` string, required: Id of the job these details are about.
  - `position` integer, required: Position of the job in question within that queue.
  - `queueId` string, required: Id of the queue this job is enqueued in.
  - `queueLength` integer, required: Length of the queue: total number of enqueued jobs.
  - `estimatedWaitTimeMinutes` number, double, required: Estimated wait time of the job rounded up to the nearest minute.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2022-05-05** `8cbeaf5a7ce3`: 1 warning, 2 info
  - the optional response header `x-ms-error-code` removed for the status `default`
  - api operation id `JobRouterOperations_GetInQueuePosition` removed and replaced with `JobRouter_GetInQueuePosition`
  - api tag `Jobs` added

[Operation history](https://skmtc.dev/azure/apis/communication-jobrouter/changes/routing/jobs/:jobId/position/get.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)
