Перейти к основному содержанию
GET
/
me
Get the authenticated account
curl --request GET \
  --url https://api.youka.io/api/v1/me \
  --header 'Authorization: Bearer <token>'
{
  "userId": "<string>",
  "email": "jsmith@example.com",
  "apiKeyId": "<string>"
}

Авторизации

Authorization
string
header
обязательно

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Ответ

200 - application/json

Authenticated account identity

userId
string
обязательно
email
string<email>
обязательно
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
apiKeyId
string
обязательно