---
title: "Creates a Queue resource"
method: POST
path: "/api/v1/queues/"
tags: ["Queues"]
---

# Creates a Queue resource

`POST /api/v1/queues/`

## Headers

- `X-Fields` string, mask

## Request body

- QueueLoad
  - `group` integer, required — ID of the Group that will own the Queue resource.
  - `name` string, required — Name of the Queue resource.
  - `description` string — Description of the Queue resource.

## Response `200`

Success

- QueueDump
  - `id` integer — ID for the Queue resource.
  - `snapshot` integer — ID for the underlying Queue snapshot.
  - `group` GroupRef
    - `id` integer — ID for the Group resource.
    - `name` string — Name of the Group resource.
    - `url` string — URL for accessing the full Group resource.
  - `user` UserRefDump
    - `id` integer — ID for the User resource.
    - `username` string — Username of the User resource.
    - `url` string — URL for accessing the full User resource.
  - `createdOn` string, date-time — Timestamp when the Queue resource was created.
  - `snapshotCreatedOn` string, date-time — Timestamp when the Queue resource snapshot was created.
  - `lastModifiedOn` string, date-time — Timestamp when the Queue resource was last modified.
  - `latestSnapshot` boolean — Whether or not the Queue resource is the latest version.
  - `hasDraft` boolean — Whether a draft exists for the Queue resource.
  - `tags` TagRefDump[]
    - `id` integer — ID for the Tag.
    - `name` string — Name of the Tag.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Tag.
  - `name` string, required — Name of the Queue resource.
  - `description` string — Description of the Queue resource.

---

[API](https://skmtc.net/usnistgov/apis/dioptra-rest-api.md) · [All operations](https://skmtc.net/usnistgov/apis/dioptra-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usnistgov/dioptra-rest-api/versions/a73101579c5c/schema)
