Skip to content

HubSpot: Domains schemas

6 HubSpot schemas with complete fields and constraints.

← Domains operations · All schemas

Get a single domain — response body

FieldTypePresenceDescription and constraints
$objectRoot
correctCnamestringRequired within parentThe expected CNAME record for the domain.
createdstringRequired within parentThe date and time when the domain was created.
Format: date-time
domainstringRequired within parentThe actual domain or sub-domain. e.g. www.hubspot.com
idstringRequired within parentThe unique ID of this domain.
isResolvingbooleanRequired within parentWhether the DNS for this domain is optimally configured for use with HubSpot.
isSslEnabledbooleanRequired within parentIndicates whether SSL is enabled for the domain.
isSslOnlybooleanRequired within parentIndicates whether the domain is accessible only via SSL.
isUsedForBlogPostbooleanRequired within parentWhether the domain is used for CMS blog posts.
isUsedForEmailbooleanRequired within parentWhether the domain is used for CMS email web pages.
isUsedForKnowledgebooleanRequired within parentWhether the domain is used for CMS knowledge pages.
isUsedForLandingPagebooleanRequired within parentWhether the domain is used for CMS landing pages.
isUsedForSitePagebooleanRequired within parentWhether the domain is used for CMS site pages.
manuallyMarkedAsResolvingbooleanRequired within parentIndicates whether the domain has been manually marked as resolving.
primaryBlogPostbooleanRequired within parentIndicates whether the domain is the primary domain for blog posts.
primaryEmailbooleanRequired within parentIndicates whether the domain is the primary domain for email pages.
primaryKnowledgebooleanRequired within parentIndicates whether the domain is the primary domain for knowledge pages.
primaryLandingPagebooleanRequired within parentIndicates whether the domain is the primary domain for landing pages.
primarySitePagebooleanRequired within parentIndicates whether the domain is the primary domain for site pages.
secondaryToDomainstringRequired within parentSpecifies the domain to which this domain is secondary.
updatedstringRequired within parentThe date and time when the domain was last updated.
Format: date-time

List Domains — request body — query

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
afterstringOptional
archivedbooleanOptional
createdAfterstringOptionalFormat: date-time
createdAtstringOptionalFormat: date-time
createdBeforestringOptionalFormat: date-time
limitintegerOptionalFormat: int32
sortarrayOptional
sort[]stringEach item
updatedAfterstringOptionalFormat: date-time
updatedAtstringOptionalFormat: date-time
updatedBeforestringOptionalFormat: date-time

List Domains — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand List Domains — response body — paging
resultsarrayRequired within parentThe results of the query.
results[]ModelEach itemExpand Get a single domain — response body
totalJSONRequired within parent
total (anyOf 1)integerAlternativeThe number of available results.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Get a single domain — response body, List Domains — response body — paging

List Domains — response body — paging

FieldTypePresenceDescription and constraints
$objectRootRepresents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.
nextModelOptionalExpand List Domains — response body — paging next
prevModelOptionalExpand List Domains — response body — paging prev

Referenced models: List Domains — response body — paging next, List Domains — response body — paging prev

List Domains — response body — paging next

FieldTypePresenceDescription and constraints
$objectRootSpecifies the paging information needed to retrieve the next set of results in a paginated API response
afterstringRequired within parentThe cursor value indicating where to begin fetching the next page of results in a paginated collection
linkstringOptionalAn optional URL for directly accessing the next page of results.

List Domains — response body — paging prev

FieldTypePresenceDescription and constraints
$objectRootspecifies the paging information needed to retrieve the previous set of results in a paginated API response
beforestringRequired within parentA string token used as a cursor to identify the position before the current set of results in pagination.
linkstringOptionalA string containing the URL link to the previous page of results.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.