---
title: "Create Device"
method: POST
path: "/devices"
tags: ["Devices"]
---

# Create Device

`POST /devices`

### Create Device

This endpoint allows you to create a new device.

#### Request Body

- `extension` (string, optional): The extension of the device.
    
- `name` (string, optional): The name of the device.
    

#### Response

Upon successful creation, the response will include an array of devices, each containing the following details:

- `id` (string): The unique identifier of the device.
    
- `name` (string): The name of the device.
    
- `extension` (string): The extension of the device.
    
- `password` (string): The password of the device.
    
- `created_at` (string): The date and time when the device was created.
    
- `updated_at` (string, nullable): The date and time when the device was last updated.
    
- `login_user_id` (string): The unique identifier of the user who last logged in to the device.
    
- `last_login` (string, nullable): The date and time of the last login to the device.

## Request body

- object
  - `extension` string
  - `name` string

## Response `201`

Success

- object
  - `devices` object[]
    - `created_at` string
    - `extension` string
    - `id` string
    - `last_login` unknown
    - `login_user_id` string
    - `name` string
    - `password` string
    - `updated_at` unknown

## Other responses

- `503` — Error

---

[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/revisions/eacecf960bb6/schema)
