Create Device

Use the Create device API method if you want to create a new device from scratch. You should send the following fields in the request body:

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.
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!