Domains
Domains endpoints from HubSpot
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Domains endpoints from HubSpot
Endpoints 2
Domains
- GETGet current domains
/cms/v3/domains/?createdAt=2024-01-01T00:00:00Z&createdAfter=2024-01-01T00:00:00Z&createdBefore=2024-01-01T00:00:00Z&updatedAt=2024-01-01T00:00:00Z&updatedAfter=2024-01-01T00:00:00Z&updatedBefore=2024-01-01T00:00:00Z&sort=string&after=string&limit=0&archived=trueReturns all existing domains that have been created. Results can be limited and filtered by creation or updated date. - GETGet a single domain
/cms/v3/domains/:domainIdReturns a single domains with the id specified.
API details
- Base URL
https://api.hubapi.com- Authentication
- An API key in the hapikey query parameter
OAuth 2.0 (authorization code flow) with 2 scopes
OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the private-app header
An API key in the private-app-legacy header - Operations
- 2 operations on 2 pathsGET 2
- Main resources
- Domains 2
- Response formats
application/json- Description format
- OpenAPI 3.0.1, API version
v3 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Domains in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Domains collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the hapikey query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get current domains” (GET /cms/v3/domains/?createdAt=2024-01-01T00:00:00Z&createdAfter=2024-01-01T00:00:00Z&createdBefore=2024-01-01T00:00:00Z&updatedAt=2024-01-01T00:00:00Z&updatedAfter=2024-01-01T00:00:00Z&updatedBefore=2024-01-01T00:00:00Z&sort=string&after=string&limit=0&archived=true), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Domains?
Domains endpoints from HubSpot It is listed under Other and has 2 endpoints.
Who publishes the Domains?
It is listed from HubSpot's public API description (an OpenAPI document), not published by HubSpot on Swastik Codes. Anyone who controls hubapi.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Domains?
Requests go to https://api.hubapi.com. Endpoint paths are added to this base URL.
How do I authenticate with the Domains?
It accepts 5 methods: an API key in the hapikey query parameter; OAuth 2.0 (authorization code flow) with 2 scopes; OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the private-app header; an API key in the private-app-legacy header.
How many endpoints does the Domains have?
2 operations on 2 paths (2 GET). The largest groups are Domains.
Is forking the Domains free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.