Heroku Review App API

The Review App API from Heroku — 4 operation(s) for review app.

GitHub OpenAPI

Operations 5

POST /review-apps Create #
GET /review-apps/{review-app_id} Get review app #
DELETE /review-apps/{review-app_id} Delete #
GET /apps/{app_identity}/review-app Get review app by app_id #
GET /pipelines/{pipeline_id}/review-apps List #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/heroku:heroku-review-app-api"
All apis
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.

Get an API 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 Specification

heroku-review-app-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Review App 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
paths:
  /review-apps:
    post:
      operationId: reviewAppCreate
      summary: Create
      description: Create a new review app
      tags:
      - Review App
      parameters: []
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/review-app/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                branch:
                  $ref: '#/components/schemas/review-app/definitions/branch'
                pr_number:
                  $ref: '#/components/schemas/review-app/definitions/pr_number'
                pipeline:
                  $ref: '#/components/schemas/pipeline/definitions/id'
                source_blob:
                  $ref: '#/components/schemas/review-app/definitions/source_blob'
                environment:
                  $ref: '#/components/schemas/review-app/definitions/config_vars'
                  description: A set of key value pairs which will be put into the environment of the spawned review app process.
                fork_repo_id:
                  $ref: '#/components/schemas/review-app/definitions/fork_repo_id'
              required:
              - branch
              - pipeline
              - source_blob
              type:
              - object
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/review-app'
  /review-apps/{review-app_id}:
    get:
      operationId: reviewAppGetReviewApp
      summary: Get review app
      description: Gets an existing review app
      tags:
      - Review App
      parameters:
      - name: review-app_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: null
      x-source: https://api.heroku.com/schema#/definitions/review-app/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/review-app'
    delete:
      operationId: reviewAppDelete
      summary: Delete
      description: Delete an existing review app
      tags:
      - Review App
      parameters:
      - name: review-app_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: delete
      x-source: https://api.heroku.com/schema#/definitions/review-app/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/review-app'
  /apps/{app_identity}/review-app:
    get:
      operationId: reviewAppGetReviewAppByAppId
      summary: Get review app by app_id
      description: Get a review app using the associated app_id
      tags:
      - Review App
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: null
      x-source: https://api.heroku.com/schema#/definitions/review-app/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/review-app'
  /pipelines/{pipeline_id}/review-apps:
    get:
      operationId: reviewAppList
      summary: List
      description: List review apps for a pipeline
      tags:
      - Review App
      parameters:
      - name: pipeline_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/review-app/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/review-app'
                type:
                - array
components:
  schemas:
    review-app:
      $schema: http://json-schema.org/draft-04/hyper-schema
      title: Review App
      description: An ephemeral app to review a set of changes
      stability: production
      strictProperties: true
      type:
      - object
      definitions:
        app_setup:
          readOnly: true
          type:
          - 'null'
          - object
        branch:
          description: the branch of the repository which the review app is based on
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of the review app
          readOnly: true
          format: uuid
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/review-app/definitions/id'
        creator:
          description: The user who created the review app
          readOnly: true
          type:
          - object
          definitions:
            id:
              description: unique identifier of a review app owner
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: false
              type:
              - string
        created_at:
          description: when test run was created
          format: date-time
          readOnly: true
          type:
          - string
        source_blob:
          description: The download location for the review app's source code
          properties:
            url:
              description: URL where gzipped tar archive of source code for build was downloaded.
              example: https://example.com/source.tgz?token=xyz
              readOnly: true
              type:
              - string
            version:
              description: The version number (or SHA) of the code to build.
              example: v1.2.0
              type:
              - string
              - 'null'
          strictProperties: true
          type:
          - object
        status:
          description: current state of the review app
          enum:
          - pending
          - creating
          - created
          - deleting
          - deleted
          - errored
          readOnly: true
          type:
          - string
        updated_at:
          description: when review app was updated
          format: date-time
          readOnly: true
          type:
          - string
        wait_for_ci:
          description: wait for ci before building the app
          example: true
          readOnly: true
          type:
          - boolean
        error_status:
          description: error message from creating the review app if any
          readOnly: true
          type:
          - string
          - 'null'
        message:
          description: message from creating the review app if any
          readOnly: true
          type:
          - string
          - 'null'
        config_vars:
          additionalProperties: false
          description: hash of config vars
          example:
            FOO: bar
            BAZ: qux
          patternProperties:
            ^[\w\.\:\[\]]+$:
              type:
              - string
              - 'null'
          type:
          - object
          - 'null'
        fork_repo_id:
          description: repository id of the fork the branch resides in
          example: '123456'
          readOnly: true
          type:
          - integer
          - 'null'
        pr_number:
          description: pull request number the review app is built for
          example: 24
          readOnly: true
          type:
          - integer
          - 'null'
      properties:
        app:
          description: the Heroku app associated to this review app
          properties:
            id:
              $ref: '#/components/schemas/app/definitions/id'
          type:
          - 'null'
          - object
        app_setup:
          description: the app setup for this review app
          properties:
            id:
              $ref: '#/components/schemas/app-setup/definitions/id'
          type:
          - 'null'
          - object
        branch:
          $ref: '#/components/schemas/review-app/definitions/branch'
        created_at:
          $ref: '#/components/schemas/review-app/definitions/created_at'
        id:
          $ref: '#/components/schemas/review-app/definitions/id'
        pipeline:
          description: the pipeline which this review app belongs to
          properties:
            id:
              $ref: '#/components/schemas/pipeline/definitions/id'
          type:
          - object
        status:
          $ref: '#/components/schemas/review-app/definitions/status'
        updated_at:
          $ref: '#/components/schemas/review-app/definitions/updated_at'
        creator:
          $ref: '#/components/schemas/review-app/definitions/creator'
        wait_for_ci:
          $ref: '#/components/schemas/review-app/definitions/wait_for_ci'
        error_status:
          $ref: '#/components/schemas/review-app/definitions/error_status'
        message:
          $ref: '#/components/schemas/review-app/definitions/message'
        fork_repo:
          properties:
            id:
              $ref: '#/components/schemas/review-app/definitions/fork_repo_id'
          strictProperties: true
          type:
          - object
          - 'null'
        pr_number:
          $ref: '#/components/schemas/review-app/definitions/pr_number'
    app-setup:
      description: An app setup represents an app on Heroku that is setup using an environment, addons, and scripts described in an app.json manifest file.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Setup API - App Setup
      type:
      - object
      definitions:
        id:
          description: unique identifier of app setup
          example: 01234567-89ab-cdef-0123-456789abcdef
          readOnly: true
          type:
          - string
          format: uuid
        identity:
          anyOf:
          - $ref: '#/components/schemas/app-setup/definitions/id'
        buildpack_override:
          description: a buildpack override
          properties:
            url:
              description: location of the buildpack
              example: https://example.com/buildpack.tgz
              type:
              - string
          type:
          - object
        created_at:
          description: when app setup was created
          example: '2012-01-01T12:00:00Z'
          readOnly: true
          type:
          - string
          format: date-time
        updated_at:
          description: when app setup was updated
          example: '2012-01-01T12:00:00Z'
          readOnly: true
          type:
          - string
          format: date-time
        status:
          description: the overall status of app setup
          example: failed
          enum:
          - failed
          - pending
          - succeeded
          readOnly: true
          type:
          - string
        resolved_success_url:
          description: fully qualified success url
          example: https://example.herokuapp.com/welcome
          readOnly: true
          type:
          - string
          - 'null'
        failure_message:
          description: reason that app setup has failed
          example: invalid app.json
          readOnly: true
          type:
          - string
          - 'null'
        manifest_errors:
          description: errors associated with invalid app.json manifest file
          example:
          - config var FOO is required
          readOnly: true
          items:
            type:
            - string
          type:
          - array
        overrides:
          description: overrides of keys in the app.json manifest file
          example:
            buildpacks:
            - url: https://example.com/buildpack.tgz
            env:
              FOO: bar
              BAZ: qux
          properties:
            buildpacks:
              description: overrides the buildpacks specified in the app.json manifest file
              example:
              - url: https://example.com/buildpack.tgz
              items:
                $ref: '#/components/schemas/app-setup/definitions/buildpack_override'
              type:
              - array
            env:
              description: overrides of the env specified in the app.json manifest file
              example:
                FOO: bar
                BAZ: qux
              readOnly: true
              additionalProperties: false
              patternProperties:
                ^\w+$:
                  type:
                  - string
              type:
              - object
          type:
          - object
        postdeploy:
          description: result of postdeploy script
          type:
          - object
          - 'null'
          properties:
            output:
              description: output of the postdeploy script
              example: assets precompiled
              readOnly: true
              type:
              - string
            exit_code:
              description: The exit code of the postdeploy script
              example: 1
              readOnly: true
              type:
              - integer
          readOnly: true
      properties:
        id:
          $ref: '#/components/schemas/app-setup/definitions/id'
        created_at:
          $ref: '#/components/schemas/app-setup/definitions/created_at'
        updated_at:
          $ref: '#/components/schemas/app-setup/definitions/updated_at'
        status:
          $ref: '#/components/schemas/app-setup/definitions/status'
        failure_message:
          $ref: '#/components/schemas/app-setup/definitions/failure_message'
        app:
          description: identity of app
          strictProperties: true
          type:
          - object
          properties:
            id:
              $ref: '#/components/schemas/app/definitions/id'
            name:
              $ref: '#/components/schemas/app/definitions/name'
        build:
          description: identity and status of build
          strictProperties: true
          type:
          - 'null'
          - object
          properties:
            id:
              $ref: '#/components/schemas/build/definitions/id'
            status:
              $ref: '#/components/schemas/build/definitions/status'
            output_stream_url:
              $ref: '#/components/schemas/build/definitions/output_stream_url'
        manifest_errors:
          $ref: '#/components/schemas/app-setup/definitions/manifest_errors'
        postdeploy:
          $ref: '#/components/schemas/app-setup/definitions/postdeploy'
        resolved_success_url:
          $ref: '#/components/schemas/app-setup/definitions/resolved_success_url'
    pipeline:
      description: A pipeline allows grouping of apps into different stages.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: false
      title: Heroku Platform API - Pipeline
      type:
      - object
      definitions:
        created_at:
          description: when pipeline was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of pipeline
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/pipeline/definitions/id'
          - $ref: '#/components/schemas/pipeline/definitions/name'
        name:
          description: name of pipeline
          example: example
          pattern: ^[a-z][a-z0-9-]{2,29}$
          readOnly: false
          type:
          - string
        owner:
          description: Owner of a pipeline.
          definitions:
            id:
              description: unique identifier of a pipeline owner
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: false
              type:
              - string
            type:
              description: type of pipeline owner
              example: team
              pattern: (^team$|^user$)
              readOnly: false
              type:
              - string
          links: []
          properties:
            id:
              $ref: '#/components/schemas/pipeline/definitions/owner/definitions/id'
            type:
              $ref: '#/components/schemas/pipeline/definitions/owner/definitions/type'
          required:
          - id
          - type
          type:
          - object
          - 'null'
        updated_at:
          description: when pipeline was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        generation:
          description: the generation of the Heroku platform for this pipeline
          definitions:
            id:
              description: unique identifier of the generation of the Heroku platform for this pipeline
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
            identity:
              anyOf:
              - $ref: '#/components/schemas/pipeline/definitions/generation/definitions/id'
              - $ref: '#/components/schemas/pipeline/definitions/generation/definitions/name'
            name:
              description: unique name of the generation of the Heroku platform for this pipeline
              example: cedar
              readOnly: true
              type:
              - string
          properties:
            id:
              $ref: '#/components/schemas/pipeline/definitions/generation/definitions/id'
            name:
              $ref: '#/components/schemas/pipeline/definitions/generation/definitions/name'
          type:
          - object
      properties:
        created_at:
          $ref: '#/components/schemas/pipeline/definitions/created_at'
        id:
          $ref: '#/components/schemas/pipeline/definitions/id'
        name:
          $ref: '#/components/schemas/pipeline/definitions/name'
        owner:
          $ref: '#/components/schemas/pipeline/definitions/owner'
        updated_at:
          $ref: '#/components/schemas/pipeline/definitions/updated_at'
        generation:
          $ref: '#/components/schemas/pipeline/definitions/generation'
    app:
      description: An app represents the program that you would like to deploy and run on Heroku.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Platform API - App
      type:
      - object
      definitions:
        archived_at:
          description: when app was archived
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - 'null'
          - string
        buildpack_provided_description:
          description: description from buildpack of app
          example: Ruby/Rack
          readOnly: true
          type:
          - 'null'
          - string
        created_at:
          description: when app was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        generation:
          description: Generation of the Heroku platform for this app
          readOnly: true
          type:
          - object
          properties:
            id:
              description: unique identifier of the generation of the Heroku platform for this app
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
            name:
              description: unique name of the generation of the Heroku platform for this app
              example: cedar
              readOnly: true
              type:
              - string
        git_url:
          description: git repo URL of app
          example: https://git.heroku.com/example.git
          pattern: ^https://git\.heroku\.com/[a-z][a-z0-9-]{2,29}\.git$
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of app
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/app/definitions/id'
          - $ref: '#/components/schemas/app/definitions/name'
        maintenance:
          default: false
          description: maintenance status of app
          example: false
          readOnly: false
          type:
          - boolean
        name:
          description: unique name of app
          example: example
          pattern: ^[a-z][a-z0-9-]{1,28}[a-z0-9]$
          readOnly: false
          type:
          - string
        released_at:
          default: null
          description: when app was released
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - 'null'
          - string
        repo_size:
          default: null
          description: git repo size in bytes of app
          example: 0
          readOnly: true
          type:
          - integer
          - 'null'
        slug_size:
          default: null
          description: slug size in bytes of app
          example: 0
          readOnly: true
          type:
          - integer
          - 'null'
        updated_at:
          description: when app was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        web_url:
          description: web URL of app
          example: https://example.herokuapp.com/
          format: uri
          pattern: ^https?://[a-z][a-z0-9-]{3,43}\.herokuapp\.com/$
          readOnly: true
          type:
          - 'null'
          - string
        acm:
          description: ACM status of this app
          default: false
          example: false
          readOnly: true
          type:
          - boolean
      properties:
        acm:
          $ref: '#/components/schemas/app/definitions/acm'
        archived_at:
          $ref: '#/components/schemas/app/definitions/archived_at'
        buildpack_provided_description:
          $ref: '#/components/schemas/app/definitions/buildpack_provided_description'
        build_stack:
          description: identity of the stack that will be used for new builds
          properties:
            id:
              $ref: '#/components/schemas/stack/definitions/id'
            name:
              $ref: '#/components/schemas/stack/definitions/name'
          strictProperties: true
          type:
          - object
        created_at:
          $ref: '#/components/schemas/app/definitions/created_at'
        generation:
          $ref: '#/components/schemas/app/definitions/generation'
        git_url:
          $ref: '#/components/schemas/app/definitions/git_url'
        id:
          $ref: '#/components/schemas/app/definitions/id'
        internal_routing:
          $ref: '#/components/schemas/team-app/definitions/internal_routing'
        maintenance:
          $ref: '#/components/schemas/app/definitions/maintenance'
        name:
          $ref: '#/components/schemas/app/definitions/name'
        owner:
          description: identity of app owner
          properties:
            email:
              $ref: '#/components/schemas/account/definitions/email'
            id:
              $ref: '#/components/schemas/account/definitions/id'
          strictProperties: true
          type:
          - object
        organization:
          description: identity of team
          properties:
            id:
              $ref: '#/components/schemas/team/definitions/id'
            name:
              $ref: '#/components/schemas/team/definitions/name'
          type:
          - 'null'
          - object
        team:
          description: identity of team
          properties:
            id:
              $ref: '#/components/schemas/team/definitions/id'
            name:
              $ref: '#/components/schemas/team/definitions/name'
          type:
          - 'null'
          - object
        region:
          description: identity of app region
          properties:
            id:
              $ref: '#/components/schemas/region/definitions/id'
            name:
              $ref: '#/components/schemas/region/definitions/name'
          strictProperties: true
          type:
          - object
        released_at:
          $ref: '#/components/schemas/app/definitions/released_at'
        repo_size:
          $ref: '#/components/schemas/app/definitions/repo_size'
        slug_size:
          $ref: '#/components/schemas/app/definitions/slug_size'
        space:
          description: identity of space
          properties:
            id:
              $ref: '#/components/schemas/space/definitions/id'
            name:
              $ref: '#/components/schemas/space/definitions/name'
            shield:
              $ref: '#/components/schemas/space/definitions/shield'
          type:
          - 'null'
          - object
        stack:
          description: identity of app stack
          properties:
            id:
              $ref: '#/components/schemas/stack/definitions/id'
            name:
              $ref: '#/components/schemas/stack/definitions/name'
          strictProperties: true
          type:
          - object
        updated_at:
          $ref: '#/components/schemas/app/definitions/updated_at'
        web_url:
          $ref: '#/components/schemas/app/definitions/web_url'
  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'