Heroku Peering API

The Peering API from Heroku — 3 operation(s) for peering.

GitHub OpenAPI

Operations 4

GET /spaces/{space_identity}/peerings List #
POST /spaces/{space_identity}/peerings/{peering_pcx_id}/actions/accept Accept #
DELETE /spaces/{space_identity}/peerings/{peering_pcx_id} Destroy #
GET /spaces/{space_identity}/peerings/{peering_pcx_id} Info #

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-peering-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-peering-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Peering 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: Peering
paths:
  /spaces/{space_identity}/peerings:
    get:
      operationId: peeringList
      summary: List
      description: List peering connections of a private space.
      tags:
      - Peering
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/peering/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/peering'
                type:
                - array
  /spaces/{space_identity}/peerings/{peering_pcx_id}/actions/accept:
    post:
      operationId: peeringAccept
      summary: Accept
      description: Accept a pending peering connection with a private space.
      tags:
      - Peering
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      - name: peering_pcx_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: empty
      x-source: https://api.heroku.com/schema#/definitions/peering/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/peering'
  /spaces/{space_identity}/peerings/{peering_pcx_id}:
    delete:
      operationId: peeringDestroy
      summary: Destroy
      description: Destroy an active peering connection with a private space.
      tags:
      - Peering
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      - name: peering_pcx_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: empty
      x-source: https://api.heroku.com/schema#/definitions/peering/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/peering'
    get:
      operationId: peeringInfo
      summary: Info
      description: Fetch information for existing peering connection
      tags:
      - Peering
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      - name: peering_pcx_id
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: self
      x-source: https://api.heroku.com/schema#/definitions/peering/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/peering'
components:
  schemas:
    peering:
      description: '[Peering](https://devcenter.heroku.com/articles/private-space-peering) provides a way to peer your Private Space VPC to another AWS VPC.'
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: prototype
      strictProperties: true
      title: Heroku Platform API - Peering
      type:
      - object
      definitions:
        aws_account_id:
          description: The AWS account ID of your Private Space.
          example: '123456789012'
          readOnly: true
          type:
          - string
        aws_region:
          description: The AWS region of the peer connection.
          example: us-east-1
          readOnly: true
          type:
          - string
        vpc_id:
          description: The AWS VPC ID of the peer.
          example: vpc-1234567890
          readOnly: true
          type:
          - string
        type:
          description: The type of peering connection.
          example: heroku-managed
          type:
          - string
          enum:
          - heroku-managed
          - customer-managed
          - unknown
        status:
          description: The status of the peering connection.
          example: pending-acceptance
          enum:
          - initiating-request
          - pending-acceptance
          - provisioning
          - active
          - failed
          - expired
          - rejected
          - deleted
          type:
          - string
          readOnly: true
        pcx_id:
          description: The AWS VPC Peering Connection ID of the peering.
          example: pcx-123456789012
          readOnly: true
          type:
          - string
        cidr:
          description: An IP address and the number of significant bits that make up the routing or networking portion.
          example: 10.0.0.0/16
          type:
          - string
        expires:
          description: When a peering connection will expire.
          example: '2020-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
      properties:
        type:
          $ref: '#/components/schemas/peering/definitions/type'
        pcx_id:
          $ref: '#/components/schemas/peering/definitions/pcx_id'
        cidr_blocks:
          description: The CIDR blocks of the peer.
          type:
          - array
          items:
            $ref: '#/components/schemas/peering/definitions/cidr'
        status:
          $ref: '#/components/schemas/peering/definitions/status'
        aws_vpc_id:
          $ref: '#/components/schemas/peering/definitions/vpc_id'
        aws_region:
          $ref: '#/components/schemas/peering/definitions/aws_region'
        aws_account_id:
          $ref: '#/components/schemas/peering/definitions/aws_account_id'
        expires:
          $ref: '#/components/schemas/peering/definitions/expires'
  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'