API Documentation

Use the SaaS Custom Domains API to programmatically access upstreams, custom domains, and other resources to seamlessly integrate custom domains into your product.

Getting started

To get started, create a new API token in your API settings, then read about how to make requests for the resources you need to access using our HTTP APIs.

Guides

Authentication

Learn how to authenticate your API requests.

Read more

Pagination

Understand how to work with paginated responses.

Read more

Handling Forwarded Requests

Read about how to handle forwarded requests from custom domains.

Read more

Custom Domain Types

Understand the different types of custom domains and how to use them.

Read more

Webhooks

Learn how to use webhooks to receive notifications about events in the API.

Read more

Rate Limits

Learn about the rate limits that apply to the API and how to handle them.

Read more

Errors

Read about the different types of errors returned by the API.

Read more

Resources

Upstreams

Learn about the upstream model and how to create, retrieve, update, delete, and list upstreams.

Custom domains

Learn about the custom domain model and how to create, retrieve, update, delete, and list custom domains.

Accounts

Learn about the account model and how to access accounts programmatically..