POST /API/CLIENT
Create a client account associated with your account if you are a reseller. Upon creation, the client will receive an email containing directions on completing their sign-up.
REQUEST BODY
companyname | The company name |
---|---|
domainname | The domain name |
owneremail | The owner email address |
ownerfirstname | The owner first name |
ownerlastname | The owner last name |
ownerphonenumber | The owner phone number. Only digits are valid |
RESULT CODE
200 | OK |
---|---|
400 | Bad Request |
401 | Unauthorized |
404 | Not found |
406 | SSL must be used |
500 | Server Error |
EXAMPLE REQUEST
Example;- POST https://api.calln.com/client {"domainname":"voitekkclient","company":"voitekkclient","email":"[email protected]","firstname":"Test","lastname":"G","phonenumber":"565465"} Result;- 200 (OK)
USING CURL
curl "https://api.calln.com/api/client" -H "Authorization: Basic username:password | base64" -X POST -d "{'domainname':'voitekkclient','company':'voitekkclient','email':'[email protected]','firstname':'Test','lastname':'G','phonenumber':'565465'}"