logo
AdminList DNS requests

List DNS requests

curl -X GET "https://mail.haltman.io/api/admin/dns-requests?limit=42&offset=42&target=example_string&type=UI&status=example_string" \
  -H "Content-Type: application/json"
{
  "items": [
    {
      "id": 123,
      "target": "example_string",
      "type": "UI",
      "status": "example_string",
      "created_at": "2024-12-25T10:00:00Z",
      "updated_at": "2024-12-25T10:00:00Z",
      "activated_at": "2024-12-25T10:00:00Z",
      "last_checked_at": "2024-12-25T10:00:00Z",
      "next_check_at": "2024-12-25T10:00:00Z",
      "last_check_result_json": {},
      "fail_reason": "example_string",
      "expires_at": "2024-12-25T10:00:00Z"
    }
  ],
  "pagination": {
    "total": 42,
    "limit": 42,
    "offset": 42
  }
}
GET
/api/admin/dns-requests
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.
query
limitinteger

Page size. Default 50, maximum 200.

Min: 1 • Max: 200
query
offsetinteger

Zero-based page offset.

Min: 0
query
typestring
Options: UI, EMAIL
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.

Query Parameters

limitinteger

Page size. Default 50, maximum 200.

offsetinteger

Zero-based page offset.

typestring
Allowed values:UIEMAIL

Responses

itemsarray
Required
paginationobject
Required