---
title: "Create desk"
method: POST
path: "/desks"
tags: ["User Desks"]
---

# Create desk

`POST /desks`

### Create a New Desk

This endpoint allows you to create a new desk.

#### Request Body

- `name` (string, required): The name of the desk.
    
- `userIds` (array, required): An array of user IDs associated with the desk.
    

#### Response Body

The response will contain a JSON object with the following properties:

- `userDesk`
    
    - `id` (string): The ID of the created desk.
        
    - `name` (string): The name of the desk.
        
    - `userIds` (array): An array of user IDs associated with the desk.

## Request body

- object
  - `name` string

## Response `201`

Successful operation

- object
  - `userDesk` object
    - `id` string
    - `name` string
    - `userIds` string[]

## Other responses

- `404` — Error 1 / Error 2

---

[API](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1.md) · [All operations](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/commpeak/dialer-api-v2-0-1/versions/eacecf960bb6/schema)
