Skip to content

View User

URL: /user and /user/lists

METHOD: GET

HEADERS:

KeyValueOptional
Acceptapplication/jsonNo
AuthorizationBearer <your-api-token>No

Body Data

None.

Example Responses

Success Response

Example response for the route /user

Code: HTTP 200 OK

Content:

{
"data": {
"name": "New Acc!",
"email": null,
"verified": false,
"admin": false,
"created": "2024-05-07T17:04:19.000000Z",
"updated": "2024-05-07T17:04:19.000000Z"
}
}

Example response for the route /user/lists

Code: HTTP 200 OK

Content:

{
"data": {
"name": "New Acc!",
"email": null,
"verified": false,
"admin": false,
"created": "2024-05-07T17:04:19.000000Z",
"updated": "2024-05-07T17:04:19.000000Z"
}
}

Error Responses

Code: HTTP 401 UNAUTHORIZED

Content:

{
"message": "Unauthenticated."
}