Hang Integrations API

The Integrations API from Hang — 3 operation(s) for integrations.

Operations 3

GET /v2/admin/integrations Get the current state of a program's integrations #
GET /v2/admin/integrations/square Get the URL to install the Square app #
POST /v2/admin/integrations/square/disconnect Revokes Square OAuth token #

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/hang:hang-integrations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hang-integrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hang Partner API (params in:formData) Integrations API
  description: 'The Partner API allows you to request various resources that can power your loyalty program.


    © Hang 2023'
  version: '1.0'
  x-copyright: '&copy Hang 2023'
servers:
- url: /partner-api
security:
- ApiKeyAuth: []
tags:
- name: Integrations
paths:
  /v2/admin/integrations:
    get:
      tags:
      - Integrations
      operationId: get_v2_admin_integrations
      summary: Get the current state of a program's integrations
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  integrations:
                    type: object
                    properties:
                      square_integration:
                        type: string
                        description: The status of program Square integration. Values are active or inactive.
                    additionalProperties: false
                    required:
                    - square_integration
                additionalProperties: false
                required:
                - integrations
      description: ''
  /v2/admin/integrations/square:
    get:
      tags:
      - Integrations
      operationId: get_v2_admin_integrations_square
      summary: Get the URL to install the Square app
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  square_app_installation_link:
                    type: string
                    description: The URL to install the Square app.
                additionalProperties: false
                required:
                - square_app_installation_link
      description: ''
  /v2/admin/integrations/square/disconnect:
    post:
      tags:
      - Integrations
      operationId: post_v2_admin_integrations_square_disconnect
      summary: Revokes Square OAuth token
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates if the Square app was successfully disconnected.
                additionalProperties: false
                required:
                - success
      description: ''
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
x-provenance:
  method: harvested
  publisher: Hang
  source: https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDjUJ7LXq2gMv9rmEsrI%2Fimports%2F9Jq6a7ptZ1zZpcbGXBNq%2Fschema_swagger_form_data.json?alt=media&token=f20a8d6c-a561-4ac2-8ede-0d9b6f694b19
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)