Heroku Source API

The Source API from Heroku — 2 operation(s) for source.

GitHub OpenAPI

Operations 2

POST /sources Create #
POST /apps/{app_identity}/sources Create - Deprecated #

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-source-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-source-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Source 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: Source
paths:
  /sources:
    post:
      operationId: sourceCreate
      summary: Create
      description: Create URLs for uploading and downloading source.
      tags:
      - Source
      parameters: []
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/source/links
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/source'
  /apps/{app_identity}/sources:
    post:
      operationId: sourceCreateDeprecated
      summary: Create - Deprecated
      description: Create URLs for uploading and downloading source. Deprecated in favor of `POST /sources`
      tags:
      - Source
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/source/links
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/source'
components:
  schemas:
    source:
      description: A source is a location for uploading and downloading an application's source code.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Platform API - Source
      type:
      - object
      definitions:
        get_url:
          description: URL to download the source
          example: https://api.heroku.com/sources/1234.tgz
          readOnly: true
          type:
          - string
        put_url:
          description: URL to upload the source
          example: https://api.heroku.com/sources/1234.tgz
          readOnly: true
          type:
          - string
      properties:
        source_blob:
          description: pointer to the URL where clients can fetch or store the source
          properties:
            get_url:
              $ref: '#/components/schemas/source/definitions/get_url'
            put_url:
              $ref: '#/components/schemas/source/definitions/put_url'
          strictProperties: true
          type:
          - object
  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'