Authentication

Get current user information

GET
/auth/me
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Response Body

Examples

curl -X GET "https://v2.api.piktid.com/auth/me"
{
  "username": "string",
  "email": "string",
  "name": "string",
  "surname": "string",
  "verified": true,
  "credits": 0,
  "contract": "string",
  "affiliation": "string",
  "address": null,
  "country": null,
  "vat_num": null,
  "groups": [
    "string"
  ],
  "last_active": "string"
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty