User

Get current user

Returns the profile of the user who owns the Token <jwt> in the Authorization header: id, username, email and plan. Password hashes, activation tokens, API keys and billing identifiers are never returned, which makes it a quick check that a session token is valid.

get/user/me

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/user/me
  • Auth: none declared. Required headers: Authorization

Headers

Authorizationstring required

JWT token in the form Token <jwt>

Response

Current user

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "email": "operator@example.com",
    "id": "user-1",
    "plan": "Pro",
    "username": "operator"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.