Retrieve 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",
      "email": "mr@robot.com",
      "firstname": "Elliot",
      "lastname": "Alderson",
      "city": "New York",
      "type": "private",
      "company": "Allsafe",
      "phone": "41781234567",
      "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>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>