How to create new reseller account using REST api

Here is an example call in PHP:
 
 
 
Here is example response in XML:
 
 
Notice field account_status in received response - it indicates status of newly created account. For more info about available statuses here check out full api info.
 
Now if you have URL notifications enabled and pointed to valid URL, you should receive XML notification like this:
 
 
 
 
Now you have to wait until account is created on our cloud. You can check account status by this PHP code (using account id obtained in previous answer):
 
 
 
 
and you must check the answer:
 
If account status is "a" - as active, then account is ready for use and should be accessible via its domain.
Another way is to wait until URL notification form us comes. When account become active, you'll receive this XML notification:
 
 
After this you can access your account through its domain name (mysupport.liveagent.com).
×