DeepFellow DOCS

Me

GET
/auth/me

Return info about logged user.

Authorization

headerAuthorizationBearer <token>

Response Body

Successful Response

application/json
  1. response
user_id*string

The ID of the user who owns the token.

Match^[0-9a-fA-F]{24}$
email*string

User email.

token_expires_at*integer

The Unix timestamp (in seconds) for when the token will expire.

is_admin*boolean

Boolean indicating whether the user is admin.

default_organization_id*|

The ID of the user's default organization.

Example Request
curl -X GET 'https://deepfellow-server-host/auth/me'
Example Response
{  "user_id": "5eb7cf5a86d9755df3a6c593",  "email": "string",  "token_expires_at": 0,  "is_admin": true,  "default_organization_id": "5eb7cf5a86d9755df3a6c593"}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.