Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Heroku Domains API

Custom domain management

Heroku Domains API is one of 14 APIs that Heroku publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Domains. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a getting-started guide, and authentication docs.

This API exposes 4 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 3.

Requests are made against a single base URL, https://api.heroku.com.

4 operations 2 paths 1 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3
Base URL
https://api.heroku.com
Authentication
HTTP Bearer
Contact
Resource Areas
1

Authentication & Security 1

Heroku Domains API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — Heroku API key or OAuth token

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Domains 4

Custom domain management

GET
/apps/{app_id_or_name}/domains
List domains
listDomains 1 param → 200
POST
/apps/{app_id_or_name}/domains
Create a domain
createDomain 1 param body → 201
GET
/apps/{app_id_or_name}/domains/{domain_id_or_hostname}
Get domain info
getDomain 2 params → 200
DELETE
/apps/{app_id_or_name}/domains/{domain_id_or_hostname}
Delete a domain
deleteDomain 2 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Domain (11 properties). Each schema is shown below with its type and property counts.

Domain
object
11 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

heroku-domains-api-openapi.yml Raw ↑

Other APIs Heroku publishes across the network.

Heroku Account API
Heroku Add-ons API
Heroku Apps API
Heroku Builds API
Heroku Collaborators API
Heroku Config Vars API
Heroku Dynos API
Heroku Formation API
Heroku Log Sessions API
Heroku Pipelines API
Heroku Regions API
Heroku Releases API