Current User
Method for viewing the current user's account credentials
Request Parameters
GET /api/clients/v1/users/me/
Headers
- Content-Type: application/json
- Authorization: Bearer
$access_token
Response Parameters
JSON body
| Parameter | Type | Description |
|---|---|---|
| id | integer | User ID |
| string | Email address | |
| phone | string | Phone number |
Examples
200 OK
Current user object
{
"id": 22,
"email": "user1@example.com",
"phone": "+79998887766"
}
401 Unauthorized
Authentication credentials were missing or invalid
{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}