मुख्य सामग्री पर जाएं
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
आवश्यक