Devices
devices

Create Device

Add a new Device to an account.

post/devices

Request

  • Base URL: https://api.fonestorm.com/v2
  • URL: https://api.fonestorm.com/v2/devices
  • Auth: API key in header token

Request body

fonenumberstring

10-digit Caller ID for device. Leave it blank if device type is Trunk Device. Otherwise REQUIRED

namestring

Name/Label for device

typestring required

Device type

mac_addressstring

Macaddress of device. Leave it blank if device type is FracTELfone OR WebRTC Device. Otherwise REQUIRED

speed_dialstring

1 to 6 digit speed dial for device. Leave it blank if device type is Trunk Device. Otherwise REQUIRED

call_recording'default' | 'yes' | 'no' | 'inbound' | 'outbound' | 'ondemand'

Call recording setting for device

e911location_idstring

ID of E911Location object

areacodestring

3-digit local area code for device

timezonestring

Timezone for device. Default timezone is EST5EDT

ring_simultaneouslystring

10-digit Phone number to ring simultaneously with device

host_type'static' | 'dynamic'

Host type for Trunk Device. REQUIRED if Device type is Trunk Device

host_ipstring

Host IP for Trunk Device. REQUIRED if Host type is static

host_portnumber

Host Port for Trunk Device. REQUIRED if Host type is static

Response

Created

Example response

{
  "device": {
    "name": "My Device"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.