GET /API/CLIENT
Retrieve information for all client accounts associated with your account
RESULT BODY
id | The unique client id. This will be needed when calling other api functions. |
---|---|
domainname | Domain name |
companyname | Company name |
owneremail | Owner email address |
ownerfirstname | Owner first name |
ownerlastname | owner last name |
ownerphonenumber | Owner phone number |
RESULT CODE
200 | OK |
---|---|
401 | Unauthorized |
404 | Not found |
406 | SSL must be used |
500 | Server Error |
EXAMPLE REQUEST
Example;- GET https://api.calln.com/client Result;- 200 (OK) [{"id":"1","domainname":"voitekkclient","company":"voitekkclient","email":"[email protected]","firstname":"Test","lastname":"G","phonenumber":"565465"},{"id":"2","domainname":"voitekkclient2","company":"voitekkclient2","email":"[email protected]","firstname":"Jack","lastname":"Mira","phonenumber":"12345"}]
USING CURL
curl "https://api.calln.com/api/client" -H "Authorization: Basic username:password | base64" -X GET