Heroku Review App Configuration API
The Review App Configuration API from Heroku — 1 operation(s) for review app configuration.
The Review App Configuration API from Heroku — 1 operation(s) for review app configuration.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/heroku:heroku-review-app-configuration-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Heroku Platform Review App Configuration API
version: '3'
description: The platform API empowers developers to automate, extend and combine Heroku with other services. Converted mechanically from the provider-published JSON Hyper-Schema at https://api.heroku.com/schema.
contact:
name: Heroku
url: https://devcenter.heroku.com/articles/platform-api-reference
servers:
- url: https://api.heroku.com
security:
- bearerAuth: []
tags:
- name: Review App Configuration
paths:
/pipelines/{pipeline_id}/review-app-config:
post:
operationId: reviewAppConfigEnable
summary: Enable
description: Enable review apps for a pipeline
tags:
- Review App Configuration
parameters:
- name: pipeline_id
in: path
required: true
schema:
type: string
x-hyper-schema-rel: create
x-source: https://api.heroku.com/schema#/definitions/review-app-config/links
requestBody:
content:
application/json:
schema:
properties:
repo:
$ref: '#/components/schemas/review-app-config/definitions/repo'
description: The full_name of the repository that you want enable review-apps from.
automatic_review_apps:
$ref: '#/components/schemas/review-app-config/definitions/automatic_review_apps'
description: If true, this will trigger the creation of review apps when pull-requests are opened in the repo.
destroy_stale_apps:
$ref: '#/components/schemas/review-app-config/definitions/destroy_stale_apps'
description: If true, this will trigger automatic deletion of review apps when they're stale
stale_days:
$ref: '#/components/schemas/review-app-config/definitions/stale_days'
description: If destroy_stale_apps is true, then apps will be destroyed after this many days
deploy_target:
$ref: '#/components/schemas/review-app-config/definitions/deploy_target'
description: Provides a key/value pair to specify whether to use a common runtime or a private space
wait_for_ci:
$ref: '#/components/schemas/review-app-config/definitions/wait_for_ci'
description: If true, review apps will only be created when CI passes
base_name:
$ref: '#/components/schemas/review-app-config/definitions/base_name'
description: A unique prefix that will be used to create review app names
required:
- repo
type:
- object
responses:
'201':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/review-app-config'
get:
operationId: reviewAppConfigInfo
summary: Info
description: Get review apps configuration for a pipeline
tags:
- Review App Configuration
parameters:
- name: pipeline_id
in: path
required: true
schema:
type: string
x-hyper-schema-rel: self
x-source: https://api.heroku.com/schema#/definitions/review-app-config/links
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/review-app-config'
patch:
operationId: reviewAppConfigUpdate
summary: Update
description: Update review app configuration for a pipeline
tags:
- Review App Configuration
parameters:
- name: pipeline_id
in: path
required: true
schema:
type: string
x-hyper-schema-rel: update
x-source: https://api.heroku.com/schema#/definitions/review-app-config/links
requestBody:
content:
application/json:
schema:
properties:
automatic_review_apps:
$ref: '#/components/schemas/review-app-config/definitions/automatic_review_apps'
description: If true, this will trigger the creation of review apps when pull-requests are opened in the repo
destroy_stale_apps:
$ref: '#/components/schemas/review-app-config/definitions/destroy_stale_apps'
description: If true, this will trigger automatic deletion of review apps when they're stale
stale_days:
$ref: '#/components/schemas/review-app-config/definitions/stale_days'
description: If destroy_stale_apps is true, then apps will be destroyed after this many days
deploy_target:
$ref: '#/components/schemas/review-app-config/definitions/deploy_target'
description: Provides a key/value pair to specify whether to use a common runtime or a private space
wait_for_ci:
$ref: '#/components/schemas/review-app-config/definitions/wait_for_ci'
description: If true, review apps will only be created when CI passes
base_name:
$ref: '#/components/schemas/review-app-config/definitions/base_name'
description: A unique prefix that will be used to create review app names
type:
- object
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/review-app-config'
delete:
operationId: reviewAppConfigDelete
summary: Delete
description: Disable review apps for a pipeline
tags:
- Review App Configuration
parameters:
- name: pipeline_id
in: path
required: true
schema:
type: string
x-hyper-schema-rel: destroy
x-source: https://api.heroku.com/schema#/definitions/review-app-config/links
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/review-app-config'
components:
schemas:
review-app-config:
description: Review apps can be configured for pipelines.
$schema: http://json-schema.org/draft-04/hyper-schema
stability: production
strictProperties: false
title: Heroku Platform API - Review App Configuration
type:
- object
definitions:
id:
description: unique identifier of pipeline
example: 01234567-89ab-cdef-0123-456789abcdef
format: uuid
readOnly: true
type:
- string
repo:
description: repository name
example: heroku/homebrew-brew
readOnly: true
type:
- string
automatic_review_apps:
description: enable automatic review apps for pull requests
example: true
readOnly: true
type:
- boolean
repo_id:
description: repository id
example: '123456'
readOnly: true
type:
- integer
destroy_stale_apps:
description: automatically destroy review apps when they haven't been deployed for a number of days
example: true
readOnly: true
type:
- boolean
stale_days:
description: number of days without a deployment after which to consider a review app stale
example: '5'
readOnly: true
type:
- integer
wait_for_ci:
description: If true, review apps are created only when CI passes
example: true
readOnly: true
type:
- boolean
base_name:
description: A unique prefix that will be used to create review app names
example: singular-app
readOnly: true
type:
- 'null'
- string
deploy_target:
description: the deploy target for the review apps of a pipeline
definitions:
id:
description: unique identifier of deploy target
example: us
pattern: (^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$|^[a-z]{2}$)
readOnly: true
type:
- string
type:
description: type of deploy target
example: region
pattern: (^space$|^region$)
readOnly: true
type:
- string
links: []
properties:
id:
$ref: '#/components/schemas/review-app-config/definitions/deploy_target/definitions/id'
type:
$ref: '#/components/schemas/review-app-config/definitions/deploy_target/definitions/type'
required:
- id
- type
type:
- object
- 'null'
properties:
repo:
properties:
id:
$ref: '#/components/schemas/review-app-config/definitions/repo_id'
strictProperties: true
type:
- object
automatic_review_apps:
$ref: '#/components/schemas/review-app-config/definitions/automatic_review_apps'
deploy_target:
$ref: '#/components/schemas/review-app-config/definitions/deploy_target'
destroy_stale_apps:
$ref: '#/components/schemas/review-app-config/definitions/destroy_stale_apps'
stale_days:
$ref: '#/components/schemas/review-app-config/definitions/stale_days'
pipeline_id:
$ref: '#/components/schemas/review-app-config/definitions/id'
wait_for_ci:
$ref: '#/components/schemas/review-app-config/definitions/wait_for_ci'
base_name:
$ref: '#/components/schemas/review-app-config/definitions/base_name'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'OAuth access token or API key (see https://devcenter.heroku.com/articles/platform-api-reference#authentication). Requests must send Accept: application/vnd.heroku+json; version=3.'
x-generated-from: json-hyper-schema
x-source: https://api.heroku.com/schema
x-generated: '2026-11-25'