AuthorizationGet current user

Get current user

Get profile of the authenticated user.

curl -X GET "https://api.gpuniq.com/v1/auth/me" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
{
  "exception": 42,
  "data": {},
  "message": "example_string"
}
GET
/v1/auth/me
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). Authentication token required.

Responses

exceptioninteger
dataobject
messagestring