Users

Endpoints for fetching user information.

Get current user

This endpoint allows you to fetch information about the current user.

GET /me

Response

200 OK

When successful, it returns a User resource.

{
  "id": "user_zWNY2gOL1xwrYuRqXQnjJZyP",
  // ...
}

401 Unauthorized

If the authorization token is not valid, it returns an unauthorized response.

{
  "error": "Unauthenticated"
}