Retrieve account

This method allows you to retrieve your account

GET

/account

Examples

HTTP
 httpCopyGET /account HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
        

Result Format

JSON
{
    "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": "33612345678",
      "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": "2025-03-29 10:36:18"
    }
}