Docs / API / List Domains

List All Domains

Retrieve a paginated list of all domains currently registered to your account, including their verification status.

Endpoint

GEThttps://api.alinflow.com/v1/domain/list

Headers

HeaderValueRequired
AuthorizationBearer <token>Yes
Content-Typeapplication/jsonYes

Parameters

No parameters are required for this endpoint.

Example Request

curl -X GET "https://api.alinflow.com/v1/domain/list" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json"

Success Response

{
  "success": true,
  "message": "Domains retrieved successfully",
  "data": [
    {
      "_id": "651a...",
      "domain": "example.com",
      "status": "active",
      "createdAt": "2023-11-25T10:00:00.000Z"
    },
    {
      "_id": "651b...",
      "domain": "my-app.io",
      "status": "pending",
      "createdAt": "2023-11-26T14:30:00.000Z"
    }
  ]
}