Heroku SNI Endpoint API

The SNI Endpoint API from Heroku — 2 operation(s) for sni endpoint.

GitHub OpenAPI

Operations 5

POST /apps/{app_identity}/sni-endpoints Create #
GET /apps/{app_identity}/sni-endpoints List #
DELETE /apps/{app_identity}/sni-endpoints/{sni-endpoint_identity} Delete #
GET /apps/{app_identity}/sni-endpoints/{sni-endpoint_identity} Info #
PATCH /apps/{app_identity}/sni-endpoints/{sni-endpoint_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-sni-endpoint-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-sni-endpoint-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform SNI Endpoint 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: SNI Endpoint
paths:
  /apps/{app_identity}/sni-endpoints:
    post:
      operationId: sniEndpointCreate
      summary: Create
      description: Create a new SNI endpoint.
      tags:
      - SNI Endpoint
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/sni-endpoint/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                certificate_chain:
                  $ref: '#/components/schemas/sni-endpoint/definitions/certificate_chain'
                private_key:
                  $ref: '#/components/schemas/sni-endpoint/definitions/private_key'
              required:
              - certificate_chain
              - private_key
              type:
              - object
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sni-endpoint'
    get:
      operationId: sniEndpointList
      summary: List
      description: List existing SNI endpoints.
      tags:
      - SNI Endpoint
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/sni-endpoint/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/sni-endpoint'
                type:
                - array
  /apps/{app_identity}/sni-endpoints/{sni-endpoint_identity}:
    delete:
      operationId: sniEndpointDelete
      summary: Delete
      description: Delete existing SNI endpoint.
      tags:
      - SNI Endpoint
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      - name: sni-endpoint_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: destroy
      x-source: https://api.heroku.com/schema#/definitions/sni-endpoint/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sni-endpoint'
    get:
      operationId: sniEndpointInfo
      summary: Info
      description: Info for existing SNI endpoint.
      tags:
      - SNI Endpoint
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      - name: sni-endpoint_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: self
      x-source: https://api.heroku.com/schema#/definitions/sni-endpoint/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sni-endpoint'
    patch:
      operationId: sniEndpointUpdate
      summary: Update
      description: Update an existing SNI endpoint.
      tags:
      - SNI Endpoint
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      - name: sni-endpoint_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: update
      x-source: https://api.heroku.com/schema#/definitions/sni-endpoint/links
      requestBody:
        content:
          application/json:
            schema:
              properties:
                certificate_chain:
                  $ref: '#/components/schemas/sni-endpoint/definitions/certificate_chain'
                private_key:
                  $ref: '#/components/schemas/sni-endpoint/definitions/private_key'
              required:
              - certificate_chain
              - private_key
              type:
              - object
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/sni-endpoint'
components:
  schemas:
    sni-endpoint:
      description: SNI Endpoint is a public address serving a custom SSL cert for HTTPS traffic, using the SNI TLS extension, to a Heroku app.
      $schema: http://json-schema.org/draft-04/hyper-schema
      title: Heroku Platform API - SNI Endpoint
      stability: development
      strictProperties: true
      type:
      - object
      definitions:
        ca_signed?:
          readOnly: true
          type:
          - boolean
        cert_domains:
          readOnly: true
          type:
          - array
        certificate_chain:
          description: 'raw contents of the public certificate chain (eg: .crt or .pem file)'
          example: '-----BEGIN CERTIFICATE----- ...'
          readOnly: false
          type:
          - string
        created_at:
          description: when endpoint was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        domains:
          description: domains associated with this SSL certificate
          type:
          - array
          readOnly: true
          items:
            $ref: '#/components/schemas/domain/definitions/id'
        display_name:
          description: unique name for SSL certificate
          example: example
          pattern: ^[a-z][a-z0-9-]{2,29}$
          readOnly: false
          type:
          - string
          - 'null'
        expires_at:
          readOnly: true
          format: date-time
          type:
          - string
        id:
          description: unique identifier of this SNI endpoint
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/sni-endpoint/definitions/id'
          - $ref: '#/components/schemas/sni-endpoint/definitions/name'
        issuer:
          readOnly: true
          type:
          - string
        name:
          description: unique name for SNI endpoint
          example: example
          pattern: ^[a-z][a-z0-9-]{2,29}$
          readOnly: true
          type:
          - string
        private_key:
          description: contents of the private key (eg .key file)
          example: '-----BEGIN RSA PRIVATE KEY----- ...'
          readOnly: false
          type:
          - string
        self_signed?:
          readOnly: true
          type:
          - boolean
        starts_at:
          readOnly: true
          format: date-time
          type:
          - string
        subject:
          readOnly: true
          type:
          - string
        updated_at:
          description: when SNI endpoint was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
      properties:
        certificate_chain:
          $ref: '#/components/schemas/sni-endpoint/definitions/certificate_chain'
        created_at:
          $ref: '#/components/schemas/sni-endpoint/definitions/created_at'
        id:
          $ref: '#/components/schemas/sni-endpoint/definitions/id'
        name:
          $ref: '#/components/schemas/sni-endpoint/definitions/name'
        updated_at:
          $ref: '#/components/schemas/sni-endpoint/definitions/updated_at'
        display_name:
          $ref: '#/components/schemas/sni-endpoint/definitions/display_name'
        domains:
          $ref: '#/components/schemas/sni-endpoint/definitions/domains'
        app:
          description: application that this SSL certificate is on
          properties:
            id:
              $ref: '#/components/schemas/app/definitions/id'
            name:
              $ref: '#/components/schemas/app/definitions/name'
          strictProperties: true
          type:
          - object
        ssl_cert:
          description: certificate provided by this endpoint
          type:
          - object
          properties:
            ca_signed?:
              $ref: '#/components/schemas/sni-endpoint/definitions/ca_signed?'
            cert_domains:
              $ref: '#/components/schemas/sni-endpoint/definitions/cert_domains'
            expires_at:
              $ref: '#/components/schemas/sni-endpoint/definitions/expires_at'
            issuer:
              $ref: '#/components/schemas/sni-endpoint/definitions/issuer'
            self_signed?:
              $ref: '#/components/schemas/sni-endpoint/definitions/self_signed?'
            starts_at:
              $ref: '#/components/schemas/sni-endpoint/definitions/starts_at'
            subject:
              $ref: '#/components/schemas/sni-endpoint/definitions/subject'
            id:
              description: unique identifier of this SSL certificate
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
    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'
    domain:
      description: Domains define what web routes should be routed to an app on Heroku.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: production
      strictProperties: true
      title: Heroku Platform API - Domain
      type:
      - object
      definitions:
        acm_status:
          description: status of this record's ACM
          example: pending
          readOnly: true
          type:
          - 'null'
          - string
        acm_status_reason:
          description: reason for the status of this record's ACM
          example: Failing CCA check
          readOnly: true
          type:
          - 'null'
          - string
        created_at:
          description: when domain was created
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        cname:
          description: canonical name record, the address to point a domain at
          example: example.herokudns.com
          readOnly: true
          type:
          - 'null'
          - string
        status:
          description: status of this record's cname
          example: pending
          readOnly: true
          type:
          - string
        hostname:
          description: full hostname
          example: subdomain.example.com
          format: uri
          readOnly: true
          type:
          - string
        id:
          description: unique identifier of this domain
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/domain/definitions/id'
          - $ref: '#/components/schemas/domain/definitions/hostname'
        kind:
          description: type of domain name
          enum:
          - heroku
          - custom
          example: custom
          readOnly: true
          type:
          - string
        updated_at:
          description: when domain was updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        sni_endpoint:
          description: null or unique identifier or name for SNI endpoint
          type:
          - 'null'
          - string
      properties:
        acm_status:
          $ref: '#/components/schemas/domain/definitions/acm_status'
        acm_status_reason:
          $ref: '#/components/schemas/domain/definitions/acm_status_reason'
        app:
          description: app that owns the domain
          properties:
            name:
              $ref: '#/components/schemas/app/definitions/name'
            id:
              $ref: '#/components/schemas/app/definitions/id'
          type:
          - object
        cname:
          $ref: '#/components/schemas/domain/definitions/cname'
        created_at:
          $ref: '#/components/schemas/domain/definitions/created_at'
        hostname:
          $ref: '#/components/schemas/domain/definitions/hostname'
        id:
          $ref: '#/components/schemas/domain/definitions/id'
        kind:
          $ref: '#/components/schemas/domain/definitions/kind'
        updated_at:
          $ref: '#/components/schemas/domain/definitions/updated_at'
        status:
          $ref: '#/components/schemas/domain/definitions/status'
        sni_endpoint:
          description: sni endpoint the domain is associated with
          properties:
            name:
              $ref: '#/components/schemas/sni-endpoint/definitions/name'
            id:
              $ref: '#/components/schemas/sni-endpoint/definitions/id'
          type:
          - 'null'
          - 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'