Getting account details

To get account details, you should perform an HTTP GET on the account endpoint https://api.rebrandly.com/v1/account, and a JSON object representing the Account will be returned.

GETting Account details
$ curl 'https://api.rebrandly.com/v1/account' \
-H 'apikey: YOUR_API_KEY'
JSON Response (Account details)
{
  "id": "3aehje9d536s46d59ba5bcf49b582ear",
  "fullName": "Stanford University",
  "username": "[email protected]",
  "email": "[email protected]",
  "avatarUrl": "https://d3e7f5z1blhqw4.cloudfront.net/avatars/364381e1-963e-460a-9a6b-a16e86d196a2",
  "createdAt": "2016-07-13T10:54:12.000Z",
  "subscription": {
    "createdAt": "2016-07-13T10:54:12.000Z",
    "limits": {
      "links": {
        "used": 7504,
        "max": 10000
      },
      "domains": {
        "used": 17,
        "max": 100
      },
      "teammates": {
        "used": 5,
        "max": 100
      },
      "tags": {
        "used": 0,
        "max": 50
      },
      "scripts": {
        "used": 0,
        "max": 50
      }
    }
  }
}