Skip to main content
GET
/
cms
/
v3
/
domains
Get current domains
curl --request GET \
  --url https://api.hubapi.com/cms/v3/domains/ \
  --header 'Authorization: Bearer <token>'
{
  "total": 2,
  "results": [
    {
      "id": "1234",
      "createdAt": "2017-07-24T17:24:09.141Z",
      "updatedAt": "2017-07-25T18:20:00.000Z",
      "domain": "234.hs-sites.com",
      "isPrimaryLandingPage": false,
      "isPrimaryEmail": false,
      "isPrimaryBlogPost": true,
      "isPrimarySitePage": false,
      "isPrimaryKnowledge": false,
      "isResolving": true,
      "isManuallyMarkedAsResolving": false,
      "isHttpsEnabled": true,
      "isHttpsOnly": false,
      "isUsedForBlogPost": true,
      "isUsedForSitePage": false,
      "isUsedForLandingPage": false,
      "isUsedForEmail": false,
      "isUsedForKnowledge": false,
      "expectedCname": "234.group34.sites.hubspot.net",
      "redirectTo": ""
    },
    {
      "id": "4321",
      "createdAt": "2017-07-11T13:00:52.928Z",
      "updatedAt": "2019-10-08T16:54:57.165Z",
      "domain": "test.demo.com",
      "isPrimaryLandingPage": false,
      "isPrimaryEmail": false,
      "isPrimaryBlogPost": true,
      "isPrimarySitePage": false,
      "isPrimaryKnowledge": false,
      "isResolving": true,
      "isManuallyMarkedAsResolving": false,
      "isHttpsEnabled": true,
      "isHttpsOnly": false,
      "isUsedForBlogPost": true,
      "isUsedForSitePage": false,
      "isUsedForLandingPage": false,
      "isUsedForEmail": false,
      "isUsedForKnowledge": false,
      "expectedCname": "234.group34.sites.hubspot.net",
      "redirectTo": ""
    }
  ]
}

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Free
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Free
Data HubData Hub -Free

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

after
string

The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

archived
boolean

Whether to return only results that have been archived.

createdAfter
string<date-time>

Only return domains created after this date.

createdAt
string<date-time>

Only return domains created at this date.

createdBefore
string<date-time>

Only return domains created before this date.

limit
integer<int32>

Maximum number of results per page.

sort
string[]

Specifies the order in which the domains are returned.

updatedAfter
string<date-time>

Only return domains updated after this date.

updatedAt
string<date-time>

Only return domains updated at this date.

updatedBefore
string<date-time>

Only return domains updated before this date.

Response

successful operation

results
object[]
required
total
integer<int32>
required

The total number of domains returned in the response.

paging
object
Last modified on December 16, 2025