User Profile

HTTP Request

POST /user/me

Authorization

Include your TOKEN in HTTP Authorization header

Authorization: Bearer Token

Request Parameters

None

Parrot API

resp = parrot.get_user_profile()

Response

Returns the user's profile information.

{
  "data": {
    "username": "x",
    "name": "x",
    "full_name": "x",
    "email": "x",
    "phone_number": "x",
    "avatar": "x",
    "metadata": {},
    "type": "",
    "email_verified": false,
    "access_token": "x",
    "refresh_token": "x",
    "last_login_at": "2024-02-18 16:57:16.756969",
    "credits": 15,
    "expires_in": 604800
  },
  "errors": [],
  "error_description": "",
  "start_time": "2024-02-18 16:57:16.755343",
  "end_time": "2024-02-18 16:57:16.762463",
  "host_of_client_call_request": "14.186.111.231",
  "total_time_by_second": 0.007127,
  "status": "success"
}

Last updated

Was this helpful?