List Domains

Listing Your Domains: Retrieves a paginated list of all domains currently registered or managed in your UMVA account. Ordered by creation date descending (created_at DESC). This is essential for building dashboards to track domain health, statuses, and upcoming expiration dates.

Endpoint: GET /list

Parameters:

  • page (optional, integer): The page number for pagination. Returns a maximum of 50 items per page (per_page: 50).

Example Request:

curl -X GET "https://umva.net/api/domain/list" 
  -H "X-API-Key: your_api_key_here"

Success Response Example (HTTP 200):

{
  "success": true,
  "data": [
    {
      "id": 123,
      "domain": "example.com",
      "status": 1,
      "expiry_date": "2024-10-12",
      "auto_renew": false
    }
  ],
  "pagination": {
    "current_page": 1,
    "per_page": 50,
    "total": 1,
    "last_page": 1
  }
}