Skip to main content
GET
/
domains
Get list of domains by company ID
curl --request GET \
  --url https://api.kinsta.com/v2/domains \
  --header 'Authorization: Bearer <token>'
{
  "company": {
    "domains": [
      {
        "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
        "name": "mydomain.com",
        "site_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
        "is_active": true
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

company
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Response

Response object of domains requests

company
object
required