Heroku Add-on Webhook API

The Add-on Webhook API from Heroku — 2 operation(s) for add-on webhook.

GitHub OpenAPI

Operations 5

POST /addons/{add-on_identity}/webhooks Create #
GET /addons/{add-on_identity}/webhooks List #
DELETE /addons/{add-on_identity}/webhooks/{app-webhook_identity} Delete #
GET /addons/{add-on_identity}/webhooks/{app-webhook_identity} Info #
PATCH /addons/{add-on_identity}/webhooks/{app-webhook_identity} Update #

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-add-on-webhook-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-add-on-webhook-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Add-on Webhook 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: Add-on Webhook
paths:
  /addons/{add-on_identity}/webhooks:
    post:
      operationId: addOnWebhookCreate
      summary: Create
      description: Create an add-on webhook subscription. Can only be accessed by the add-on partner providing this add-on.
      tags:
      - Add-on Webhook
      parameters:
      - name: add-on_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/add-on-webhook/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                authorization:
                  $ref: '#/components/schemas/app-webhook/definitions/authorization'
                include:
                  $ref: '#/components/schemas/app-webhook/definitions/include'
                level:
                  $ref: '#/components/schemas/app-webhook/definitions/level'
                secret:
                  $ref: '#/components/schemas/app-webhook/definitions/secret'
                url:
                  $ref: '#/components/schemas/app-webhook/definitions/url'
              additionalProperties: false
              required:
              - include
              - level
              - url
              type:
              - object
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/add-on-webhook/definitions/addon_webhook'
    get:
      operationId: addOnWebhookList
      summary: List
      description: List all webhook subscriptions for a particular add-on. Can only be accessed by the add-on partner providing this add-on.
      tags:
      - Add-on Webhook
      parameters:
      - name: add-on_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/add-on-webhook/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/add-on-webhook/definitions/addon_webhook'
                type:
                - array
  /addons/{add-on_identity}/webhooks/{app-webhook_identity}:
    delete:
      operationId: addOnWebhookDelete
      summary: Delete
      description: Removes an add-on webhook subscription. Can only be accessed by the add-on partner providing this add-on.
      tags:
      - Add-on Webhook
      parameters:
      - name: add-on_identity
        in: path
        required: true
        schema:
          type: string
      - name: app-webhook_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: destroy
      x-source: https://api.heroku.com/schema#/definitions/add-on-webhook/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/add-on-webhook/definitions/addon_webhook'
    get:
      operationId: addOnWebhookInfo
      summary: Info
      description: Returns the info for an add-on webhook subscription. Can only be accessed by the add-on partner providing this add-on.
      tags:
      - Add-on Webhook
      parameters:
      - name: add-on_identity
        in: path
        required: true
        schema:
          type: string
      - name: app-webhook_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: self
      x-source: https://api.heroku.com/schema#/definitions/add-on-webhook/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/add-on-webhook/definitions/addon_webhook'
    patch:
      operationId: addOnWebhookUpdate
      summary: Update
      description: Updates the details of an add-on webhook subscription. Can only be accessed by the add-on partner providing this add-on.
      tags:
      - Add-on Webhook
      parameters:
      - name: add-on_identity
        in: path
        required: true
        schema:
          type: string
      - name: app-webhook_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: update
      x-source: https://api.heroku.com/schema#/definitions/add-on-webhook/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                authorization:
                  $ref: '#/components/schemas/app-webhook/definitions/authorization'
                include:
                  $ref: '#/components/schemas/app-webhook/definitions/include'
                level:
                  $ref: '#/components/schemas/app-webhook/definitions/level'
                secret:
                  $ref: '#/components/schemas/app-webhook/definitions/secret'
                url:
                  $ref: '#/components/schemas/app-webhook/definitions/url'
              strictProperties: false
              type:
              - object
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/add-on-webhook/definitions/addon_webhook'
components:
  schemas:
    add-on:
      description: Add-ons represent add-ons that have been provisioned and attached to one or more apps.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      title: Heroku Platform API - Add-on
      additionalProperties: false
      required:
      - actions
      - addon_service
      - billing_entity
      - app
      - billed_price
      - config_vars
      - created_at
      - id
      - name
      - plan
      - provider_id
      - state
      - updated_at
      - web_url
      type:
      - object
      definitions:
        actions:
          description: provider actions for this specific add-on
          type:
          - array
          items:
            type:
            - object
          readOnly: true
          properties:
            id:
              $ref: '#/components/schemas/add-on-plan-action/definitions/id'
            label:
              $ref: '#/components/schemas/add-on-plan-action/definitions/label'
            action:
              $ref: '#/components/schemas/add-on-plan-action/definitions/action'
            url:
              $ref: '#/components/schemas/add-on-plan-action/definitions/url'
            requires_owner:
              $ref: '#/components/schemas/add-on-plan-action/definitions/requires_owner'
        cents:
          description: price in cents per unit of add-on
          example: 0
          readOnly: true
          type:
          - integer
        config:
          additionalProperties: false
          description: custom add-on provisioning options
          example:
            db-version: 1.2.3
          patternProperties:
            ^\w+$:
              type:
              - string
          type:
          - object
        config_vars:
          description: config vars exposed to the owning app by this add-on
          example:
          - FOO
          - BAZ
          items:
            type:
            - string
          readOnly: true
          type:
          - array
        confirm:
          description: name of billing entity for confirmation
          example: example
          type:
          - string
        created_at:
          description: when add-on was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of add-on
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/add-on/definitions/id'
          - $ref: '#/components/schemas/add-on/definitions/name'
        name:
          description: globally unique name of the add-on
          example: acme-inc-primary-database
          pattern: ^[a-zA-Z][A-Za-z0-9_-]+$
          type:
          - string
        provider_id:
          description: id of this add-on with its provider
          example: abcd1234
          readOnly: true
          type:
          - string
        state:
          description: state in the add-on's lifecycle
          enum:
          - provisioning
          - provisioned
          - deprovisioned
          example: provisioned
          readOnly: true
          type:
          - string
        unit:
          description: unit of price for add-on
          example: month
          readOnly: true
          type:
          - string
        updated_at:
          description: when add-on was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        web_url:
          description: URL for logging into web interface of add-on (e.g. a dashboard)
          example: https://postgres.heroku.com/databases/01234567-89ab-cdef-0123-456789abcdef
          format: uri
          readOnly: true
          type:
          - 'null'
          - string
        addon_service:
          description: identity of add-on service
          identity:
            anyOf:
            - $ref: '#/components/schemas/add-on-service/definitions/id'
            - $ref: '#/components/schemas/add-on-service/definitions/name'
          properties:
            id:
              $ref: '#/components/schemas/add-on-service/definitions/id'
            name:
              $ref: '#/components/schemas/add-on-service/definitions/name'
          strictProperties: true
          type:
          - object
        plan:
          description: identity of add-on plan
          identity:
            anyOf:
            - $ref: '#/components/schemas/plan/definitions/id'
            - $ref: '#/components/schemas/plan/definitions/name'
          properties:
            id:
              $ref: '#/components/schemas/plan/definitions/id'
            name:
              $ref: '#/components/schemas/plan/definitions/name'
          strictProperties: true
          type:
          - object
        provision_message:
          description: A provision message
          readOnly: true
          type:
          - string
      properties:
        actions:
          $ref: '#/components/schemas/add-on/definitions/actions'
        addon_service:
          $ref: '#/components/schemas/add-on/definitions/addon_service'
        billing_entity:
          description: billing entity associated with this add-on
          type:
          - object
          properties:
            id:
              description: unique identifier of the billing entity
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
            name:
              description: name of the billing entity
              example: example
              readOnly: true
              type:
              - string
            type:
              description: type of Object of the billing entity; new types allowed at any time.
              enum:
              - app
              - team
              example: app
              readOnly: true
              type:
              - string
          strictProperties: true
        app:
          description: billing application associated with this add-on
          type:
          - object
          properties:
            id:
              $ref: '#/components/schemas/app/definitions/id'
            name:
              $ref: '#/components/schemas/app/definitions/name'
          strictProperties: true
        billed_price:
          description: billed price
          properties:
            cents:
              $ref: '#/components/schemas/plan/definitions/cents'
            contract:
              $ref: '#/components/schemas/plan/definitions/contract'
            unit:
              $ref: '#/components/schemas/plan/definitions/unit'
          strictProperties: true
          type:
          - object
          - 'null'
        config_vars:
          $ref: '#/components/schemas/add-on/definitions/config_vars'
        created_at:
          $ref: '#/components/schemas/add-on/definitions/created_at'
        id:
          $ref: '#/components/schemas/add-on/definitions/id'
        name:
          $ref: '#/components/schemas/add-on/definitions/name'
        plan:
          $ref: '#/components/schemas/add-on/definitions/plan'
        provider_id:
          $ref: '#/components/schemas/add-on/definitions/provider_id'
        provision_message:
          $ref: '#/components/schemas/add-on/definitions/provision_message'
        state:
          $ref: '#/components/schemas/add-on/definitions/state'
        updated_at:
          $ref: '#/components/schemas/add-on/definitions/updated_at'
        web_url:
          $ref: '#/components/schemas/add-on/definitions/web_url'
    app-webhook:
      $schema: http://json-schema.org/draft-04/hyper-schema
      title: Heroku Platform API - App Webhook
      description: Represents the details of a webhook subscription
      stability: production
      strictProperties: false
      additionalProperties: false
      required:
      - created_at
      - id
      - include
      - level
      - updated_at
      - url
      type:
      - object
      definitions:
        authorization:
          description: a custom `Authorization` header that Heroku will include with all webhook notifications
          example: Bearer 9266671b2767f804c9d5809c2d384ed57d8f8ce1abd1043e1fb3fbbcb8c3
          type:
          - 'null'
          - string
        created_at:
          description: when the webhook was created
          format: date-time
          type:
          - string
        id:
          description: the webhook's unique identifier
          readOnly: true
          format: uuid
          type:
          - string
        include:
          description: the entities that the subscription provides notifications for
          items:
            example: api:release
            type:
            - string
          type:
          - array
        level:
          description: if `notify`, Heroku makes a single, fire-and-forget delivery attempt. If `sync`, Heroku attempts multiple deliveries until the request is successful or a limit is reached
          enum:
          - notify
          - sync
          example: notify
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/app-webhook/definitions/id'
        secret:
          description: a value that Heroku will use to sign all webhook notification requests (the signature is included in the request’s `Heroku-Webhook-Hmac-SHA256` header)
          example: dcbff0c4430a2960a2552389d587bc58d30a37a8cf3f75f8fb77abe667ad
          type:
          - 'null'
          - string
        updated_at:
          description: when the webhook was updated
          format: date-time
          type:
          - string
        url:
          description: the URL where the webhook's notification requests are sent
          format: uri
          type:
          - string
        app_webhook:
          properties:
            app:
              description: identity of app. Only used for customer webhooks.
              properties:
                id:
                  $ref: '#/components/schemas/app/definitions/id'
                name:
                  $ref: '#/components/schemas/app/definitions/name'
              strictProperties: true
              type:
              - object
            created_at:
              $ref: '#/components/schemas/app-webhook/definitions/created_at'
            id:
              $ref: '#/components/schemas/app-webhook/definitions/id'
            include:
              $ref: '#/components/schemas/app-webhook/definitions/include'
            level:
              $ref: '#/components/schemas/app-webhook/definitions/level'
            updated_at:
              $ref: '#/components/schemas/app-webhook/definitions/updated_at'
            url:
              $ref: '#/components/schemas/app-webhook/definitions/url'
          description: app webhook
          type:
          - object
    add-on-webhook:
      $schema: http://json-schema.org/draft-04/hyper-schema
      title: Heroku Platform API - Add-on Webhook
      description: Represents the details of a webhook subscription
      stability: production
      strictProperties: false
      additionalProperties: false
      required:
      - created_at
      - id
      - include
      - level
      - updated_at
      - url
      type:
      - object
      definitions:
        addon_webhook:
          properties:
            addon:
              description: identity of add-on. Only used for add-on partner webhooks.
              properties:
                id:
                  $ref: '#/components/schemas/add-on/definitions/id'
                name:
                  $ref: '#/components/schemas/add-on/definitions/name'
              strictProperties: true
              type:
              - object
            created_at:
              $ref: '#/components/schemas/app-webhook/definitions/created_at'
            id:
              $ref: '#/components/schemas/app-webhook/definitions/id'
            include:
              $ref: '#/components/schemas/app-webhook/definitions/include'
            level:
              $ref: '#/components/schemas/app-webhook/definitions/level'
            updated_at:
              $ref: '#/components/schemas/app-webhook/definitions/updated_at'
            url:
              $ref: '#/components/schemas/app-webhook/definitions/url'
          description: add-on webhook
          type:
          - object
      properties:
        created_at:
          $ref: '#/components/schemas/app-webhook/definitions/created_at'
        id:
          $ref: '#/components/schemas/app-webhook/definitions/id'
        include:
          $ref: '#/components/schemas/app-webhook/definitions/include'
        level:
          $ref: '#/components/schemas/app-webhook/definitions/level'
        updated_at:
          $ref: '#/components/schemas/app-webhook/definitions/updated_at'
        url:
          $ref: '#/components/schemas/app-webhook/definitions/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'