Handset POST

Handset POST
POST /api/handset

Create a new handset

 

REQUEST BODY

name

Handset name

ipaddress [optional]

Handset ipaddress

macaddress [optional]

The MAC address string

phonenumbers [optional]

Handset phonenumbers as string array

Notes [optional]

Handset notes

enabled [optional]

Handset enabled

recordinbound [optional]

Handset recordinbound boolean

recordoutbound [optional]

Handset recordoutbound boolean

recordinternal [optional]

Handset recordinternal boolean

handsetgroup [optional]

The name of any associated handset group.

minimumcalllengthseconds [optional]

Handset minimumcalllengthseconds integer

overlaytonewhilepaused [optional]

Handset notes

whendisabledrecordinternalwithenabledhandsets [optional]

Handset enabled boolean

transcriptionenabled [optional]

transcription enabled boolean

 

Result Code

200

OK

400

Bad Request

401

Unauthorized

404

Not found

406

SSL must be used

500

Internal Server Error


Example request

Example;-
POST
https://api.calln.com/handset

{"name":"Jane2","ipaddress":"10.16.1.69","macaddress":"0004F2BEA47D","phonenumbers":["0393196602","0393196619"],"useragent":"PolycomVVX-VVX_1500-UA/4.0.10.0689_0004f2bea57e","notes":"notes added","enabled":true,"recordinbound":false,"recordoutbound":false,"recordinternal":true,"minimumcalllengthseconds":35,"overlaytonewhilepaused":true,"whendisabledrecordinternalwithenabledhandsets":false}

Result;-

200 (OK)

Using Curl

curl "https://api.calln.com/api/handset" -H "Authorization: Token authtoken" -X POST -d "{'name':'Jane Doe','phonenumbers':['0393196602','0393196619']}"


Calculate your CallN Costs in 60 Seconds

  • Accurate details are needed in order to use the right pricing tier information.
  • The calculator will give you the total cost of the plan according to the total months you specify
  • Accurate details are needed in order to use the right pricing tier information.
  • The calculator will give you the total cost of the plan according to the total months you specify
  • After you sign up, this will be used for your Calln domain.
  • A Team member will contact you on this number.
  • A summary of your calculations will be sent to this email address.
  • You may review our terms and conditions and privacy policies by clicking on the links above.