Heroku
Apps, dynos, releases, add-ons and config vars
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Authorization tokenSecretRequired
Where to find them
- At dashboard.heroku.com → “Account settings” → “Applications” tab → “Authorizations” section → “Create authorization”.
- Give it a description (e.g. Maua.Culturewire) and, optionally, an expiration, and click “Create”.
- Copy the token: it is shown only once. It gives full access to your account; to limit it, create it with the CLI: heroku authorizations:create -d Maua.Culturewire -s identity,read (read-only, without config vars).
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Heroku, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- At dashboard.heroku.com/account/applications#api_clients (“Account settings” → “Applications” → “API Clients”) register a new client: name it “Maua.Culturewire” and, as “Callback URL”, use the redirect URI shown below.
- Copy the client's “ID” and “Secret”. The permissions (scopes) shown below are requested when connecting. If a team has disabled third-party OAuth access to the API, its apps will not be visible.
Default scopes
global
Tools (1)
Heroku API request
HEROKU_SEND_REQUESTAuthenticated call to the Heroku API (https://api.heroku.com). Any endpoint of the API is allowed. Examples: GET /apps, GET /apps/{app}, GET /apps/{app}/dynos, DELETE /apps/{app}/dynos (restarts all dynos), DELETE /apps/{app}/dynos/{dyno}, GET /apps/{app}/formation, PATCH /apps/{app}/formation/{type} {"quantity": 2} (scales; may raise the bill), GET /apps/{app}/releases (Range header: version ..; order=desc, max=10), GET /apps/{app}/builds, GET /apps/{app}/addons, GET /apps/{app}/config-vars, PATCH /apps/{app}/config-vars {"KEY": "value"}, GET /teams, GET /teams/{team}/apps.
Required scopes
No scopes required
Input
Heroku API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

