REST API to programmatically create apps, provision add-ons and perform other task on Heroku.
Heroku's Platform API is a REST API that lets developers programmatically create apps, provision add-ons, and perform other management tasks that would otherwise require the Heroku CLI or Dashboard. It covers resources such as apps, dynos, add-ons, builds, releases, pipelines, config vars, collaborators, domains, teams, and enterprise accounts.
Requests are made over HTTPS to api.heroku.com and require an Accept header specifying the API version (application/vnd.heroku+json; version=3). Authentication is via OAuth or HTTP bearer tokens, with OAuth recommended for third-party services and bearer tokens suited to personal scripts. The API supports response caching through ETag/If-None-Match headers, optimistic concurrency control via If-Match headers, and CORS for browser-based JavaScript requests. A machine-readable JSON schema describing all available resources, their URLs, representations, and supported operations is accessible at a dedicated schema endpoint.
This reference is intended for developers building integrations, automation, or tooling on top of Heroku, such as custom deployment workflows or third-party services that interact with Heroku apps and infrastructure.
It lets developers programmatically create apps, provision add-ons, and perform other management tasks that were previously only possible via the Heroku CLI or Dashboard.
OAuth is recommended for third-party services, while HTTP bearer authentication with a personal API token is suggested for personal scripts.
It's a JSON-based REST API accessed over HTTPS at api.heroku.com with a required Accept: application/vnd.heroku+json; version=3 header.
Yes, the Platform API supports CORS so requests can be made from browser-based JavaScript served from any domain.
Yes, responses include an ETag header that can be passed via If-None-Match to receive a 304 Not Modified response if unchanged.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
API to read, write, and format Google Slides presentations.
Online REST API for Testing and Prototyping.
GraphQL and REST API Engine with built in Authorization.
A lightweight, fast, and customizable app for testing and designing APIs. A free, fast, and beautiful.
Domains Data API for Developers.
Test endpoints for client and server HTTP/2 protocol support.