> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.kinsta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Domains

If you use [Kinsta’s DNS](https://kinsta.com/docs/wordpress-hosting/wordpress-domains/dns/), you can use the `domains` endpoint to:

* Get a list of domains.
* Get a list of DNS records for a domain.
* Create a DNS record.
* Update a DNS record.
* Delete a DNS record.

To get the list of domains, you need the `company ID`. You can obtain the company\_id from [MyKinsta](https://my.kinsta.com/) > **username** > **Company settings** > **Billing details**. The domains list will give you the `domain_id` to get the list of DNS records.
