Saltar para o conteúdo principal
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>"
}

Autorizações

Authorization
string
header
obrigatório

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

Resposta

200 - application/json

Authenticated account identity

userId
string
obrigatório
email
string<email>
obrigatório
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
apiKeyId
string
obrigatório