Storyden
Accounts

Account Get

Get the information for the currently authenticated account.

Get the information for the currently authenticated account.

GET/accounts
storyden-session<token>

In: cookie

Response Body

curl -X GET "https://loading/api/accounts"
{
  "id": "cc5lnd2s1s4652adtu50",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "deletedAt": "2019-08-24T14:15:22Z",
  "misc": {},
  "joined": "2019-08-24T14:15:22Z",
  "suspended": "2019-08-24T14:15:22Z",
  "handle": "Southclaws",
  "name": "Barnaby Keene",
  "roles": [
    {
      "id": "cc5lnd2s1s4652adtu50",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "deletedAt": "2019-08-24T14:15:22Z",
      "misc": {},
      "name": "string",
      "colour": "string",
      "permissions": [
        "CREATE_POST"
      ],
      "badge": true,
      "default": true
    }
  ],
  "bio": "<body><p>hi, my name is</p><p>southclaws</p></body>",
  "links": [
    {
      "text": "string",
      "url": "string"
    }
  ],
  "meta": {},
  "verified_status": "none",
  "email_addresses": [
    {
      "id": "cc5lnd2s1s4652adtu50",
      "email_address": "hello@storyden.org",
      "verified": true
    }
  ],
  "notifications": 0,
  "admin": true,
  "invited_by": {
    "id": "cc5lnd2s1s4652adtu50",
    "joined": "2019-08-24T14:15:22Z",
    "suspended": "2019-08-24T14:15:22Z",
    "handle": "Southclaws",
    "name": "Barnaby Keene"
  }
}
Empty
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}