Retrieve account
This method allows you to retrieve your account
GET
/account
Examples
GET /account HTTP/1.1
Host: api.smsup.ch
Authorization: Bearer your.token
Accept: application/json
Result Format
{
"status": 1,
"message": "OK",
"account": {
"client_id": "1010101",
"parent_client_id": "0", //if subaccount
"email": "mr@robot.com",
"firstname": "Elliot",
"lastname": "Alderson",
"city": "New York",
"type": "company",
"company": "MyCompany",
"phone": "41781234567",
"address1": "123 real street",
"address2": null,
"zip": "10040",
"country": "",
"country_code": "FR",
"lang": "FR",
"credits": "10000",
"unlimited": "1",
"description": "My company description",
"senderid": "",
"status": "1",
"time_zone": "Europe/Paris",
"has_verified_email": true,
"whitelabel_id": "1",
"last_accept_gcs": "2024-11-21 06:58:08"
}
}
<?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>41781234567</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>