---
title: "Set call queue agent status"
method: POST
path: "/users/{id}/call_queues/{queue_id}/agent"
tags: ["User"]
---

# Set call queue agent status

`POST /users/{id}/call_queues/{queue_id}/agent`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/users/{id}/call_queues/{queue_id}/agent`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/users/:id/call_queues/:queue_id/agent/post.ts> (a function with typed inputs; its response is checked against the schema)

Set call queue agent status.

## Path parameters

- `id` string, required: The unique ID of the resource.
- `queue_id` string, required: The unique ID of the resource.

## Request body

- object
  - `status` 'READY' | 'NOT_READY' | 'WRAP_UP' | 'BREAK' | 'LUNCH' | 'LOGGED_IN' | 'LOGGED_OUT': Change call queue agent status to one of the following: - `READY`: - `NOT_READY`: - `WRAP_UP`: - `BREAK`: - `LUNCH`: - `LOGGED_IN`: - `LOGGED_OUT`:

## Response `200`

OK

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
