Skip to content

Lists the detailed profile of the current user. Returns 401 if not logged in or 200 and the data.

GET
/api/user/current/details

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Responses

Authorization
api_key
cURL
curl -X GET \
'http://localhost/api/user/current/details'

Samples

cURL
curl -X GET http://localhost/api/user/current/details
JavaScript
fetch("http://localhost/api/user/current/details")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/current/details");
Python
import requests
response = requests.get("http://localhost/api/user/current/details")
print(response.json())