logo
AdminGet a user by id

Get a user by id

curl -X GET "https://mail.haltman.io/api/admin/users/123" \
  -H "Content-Type: application/json"
{
  "item": {
    "id": 123,
    "username": "John Doe",
    "email": "user@example.com",
    "email_verified_at": "2024-12-25T10:00:00Z",
    "is_active": 42,
    "is_admin": true,
    "created_at": "2024-12-25T10:00:00Z",
    "updated_at": "2024-12-25T10:00:00Z",
    "last_login_at": "2024-12-25T10:00:00Z"
  }
}
GET
/api/admin/users/{id}
GET
API Key (cookie: __Host-access)
__Host-accessstring
Required

Access-session cookie used for user and admin authentication.

Access-session cookie used for user and admin authentication.
path
idinteger
Required

Resource identifier.

Request Preview
Response

Response will appear here after sending the request

Authentication

path
parameterstring
Required

API Key for authentication. Access-session cookie used for user and admin authentication.

Path Parameters

idinteger
Required

Resource identifier.

Responses

itemobject
Required