Retrieve account
GET
/account
Esempi
GET /account HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
Formato della risposta
{
"status": 1,
"message": "OK",
"account": {
"client_id": "1010101",
"email": "mr@robot.com",
"firstname": "Elliot",
"lastname": "Alderson",
"city": "New York",
"type": "private",
"company": "Allsafe",
"phone": "33612345678",
"address1": "unknown address",
"address2": null,
"zip": "10040",
"country": "",
"country_code": "US",
"lang": "EN",
"credits": "0",
"unlimited": "1",
"description": "Fsociety",
"senderid": "",
"status": "1"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<account>
<client_id>1010101</client_id>
<email>mr@robot.com</email>
<firstname>Elliot</firstname>
<lastname>Alderson</lastname>
<city>New York</city>
<type>private</type>
<company>Allsafe</company>
<phone>33612345678</phone>
<address1>unknown address</address1>
<address2>null</address2>
<zip>10040</zip>
<country></country>
<country_code>US</country_code>
<lang>EN</lang>
<credits>0</credits>
<unlimited>1</unlimited>
<description>Fsociety</description>
<senderid></senderid>
<status>1</status>
</account>
</response>