API keys overview

Overview

The DreamHost application programming interface (API) lets you manage parts of your DreamHost account with scripts, apps, or AI agents that support API connections, instead of using the panel. For example, a script or an AI agent can add DNS records or list your websites for you.

To use the API, you create an API key in the panel. The key works like a password. It identifies your account and controls what each tool is allowed to do.

This article explains what you can do on the API Keys page, how access levels and scopes work, and where to find technical API documentation.

What can I do with API keys?

On the API Keys page in the panel, you can manage every part of an API key's life:

  • The account owner can create an API key and give it a name that describes how it is used.

  • You can choose an access level for each scope, so each key can do only what its script, app, or AI agent needs.

  • You can filter and sort your keys to find the one you need.

  • You can modify a key's name and permissions at any time.

  • You can revoke a key at any time.

What are scopes and access levels?

A scope is an area of your account that an API key can use. You choose an access level for each scope when you create a key. The API Keys page includes the following scopes:

  • DNS

  • Servers

  • Websites

  • Website Traffic

  • Website Performance

  • Website Logs

  • Server Users

Each scope has one of three access levels: No Access, Read-Only, or Full Access. A key must have at least Read-Only access to one scope. For definitions of each access level, see Creating and managing API keys.

Where can I find technical API documentation?

All technical API documentation lives on developers.dreamhost.com. That site covers endpoints, commands, request examples, and error codes. This Knowledge Base focuses on working with API keys in the panel.

FAQs

Who can create an API key?

Only the account owner can create API keys at this time.

Can I use an API key with an AI agent?

Yes. An API key works with scripts, apps, and AI agents that support API connections. The key identifies your account and controls what the tool is allowed to do.

Do my existing API keys still work?

No. The previous DreamHost API is no longer available, so keys created with it don't work. Create a new key on the API Keys page and update your script, app, or AI agent to use it. Your previous keys are still listed in the panel for reference, so you can see which ones to recreate.

See also

This form is only for article feedback. If you require assistance, please contact support. Do not include passwords, account numbers, or other private account details.

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?