Registration

GET /me

Endpoint

GET api/v2/me

Request

Route

GET api/v2/me

Headers

Accept: application/json
Content-Type: application/json
Access-Token: MWGkefvZ-tP20gB5dDEkFA
Client: HmbHuKTRAcTnPJL84SXs-w
Uid: test@example.com

Response

Status

200

Headers

Content-Type: application/json; charset=utf-8
Access-Token: MWGkefvZ-tP20gB5dDEkFA
Token-Type: Bearer
Client: HmbHuKTRAcTnPJL84SXs-w
Expiry: 1894737371
Uid: test@example.com

Body

{
  "success": true,
  "user": {
    "email": "test@example.com",
    "name": "John Doe",
    "uid": "dXdGNHnB",
    "teams": [
      {
        "name": "John Doe",
        "personal": true,
        "uid": "fZktRMLq",
        "creator_uid": "dXdGNHnB",
        "role": "admin"
      },
      {
        "name": "foo",
        "personal": false,
        "uid": "GoT1w5kr",
        "creator_uid": null,
        "role": "default"
      }
    ]
  }
}