Domains API

Manage your domains and domain settings

List Domains

GET /api/domains

Retrieve all domains associated with your account.

Response

{
  "domains": [
    {
      "id": "domain-1",
      "name": "example.com",
      "status": "active",
      "created_at": "2025-01-07T00:00:00Z"
    }
  ]
}

Get Domain

GET /api/domains/:domain

Retrieve details for a specific domain.

Parameters

  • domain - The domain name (required)

Create Domain

POST /api/domains

Create a new domain in your account.

Request Body

{
  "name": "example.com"
}