# Parameters for creating a queue

## name

- **type**: string
- **required**: Yes
- **description**: Human-readable name of the queue

## description

- **type**: string | null
- **description**: Optional description of the queue

# 201 Queue

An object that groups transaction monitoring cases for review.

## token

- **type**: uuid
- **required**: Yes
- **description**: Globally unique identifier for the queue

## name

- **type**: string
- **required**: Yes
- **description**: Human-readable name of the queue

## description

- **type**: string | null
- **required**: No
- **description**: Optional description of the queue

## created

- **type**: date-time
- **required**: Yes
- **description**: Date and time at which the queue was created

## updated

- **type**: date-time
- **required**: Yes
- **description**: Date and time at which the queue was last updated

## case_counts

- **type**: object
- **required**: Yes
- **description**: Number of cases in the queue, broken down by status.

### Statuses

- **OPEN**: int64 - Number of cases in the queue with status `OPEN`
- **ASSIGNED**: int64 - Number of cases in the queue with status `ASSIGNED`
- **IN_REVIEW**: int64 - Number of cases in the queue with status `IN_REVIEW`
- **ESCALATED**: int64 - Number of cases in the queue with status `ESCALATED`
- **RESOLVED**: int64 - Number of cases in the queue with status `RESOLVED`
- **CLOSED**: int64 - Number of cases in the queue with status `CLOSED`

# 400 Bad Request

## Example Curl Request

```bash
curl --request POST \
     --url https://sandbox.lithic.com/v1/transaction_monitoring/queues \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "name": "string",
  "description": "string"
}
'
```

## Example JSON Response

```json
{
  "token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "string",
  "description": "string",
  "created": "2026-07-18T00:25:56.301Z",
  "updated": "2026-07-18T00:25:56.301Z",
  "case_counts": {
    "OPEN": 0,
    "ASSIGNED": 0,
    "IN_REVIEW": 0,
    "ESCALATED": 0,
    "RESOLVED": 0,
    "CLOSED": 0
  }
}
```
