الانتقال إلى المحتوى الرئيسي
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
مطلوب