Hoshin Kanri Sharing API

The Sharing API from Hoshin Kanri — 2 operation(s) for sharing.

GitHub OpenAPI

Operations 3

GET /api/matrices/{id}/shares List the public links of a matrix #
POST /api/matrices/{id}/shares Publish a matrix on a public read-only link #
DELETE /api/matrices/{id}/shares/{shareId} Revoke a public link #

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/hoshin-app:hoshin-app-sharing-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

hoshin-app-sharing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hoshin Kanri Sharing API
  version: 0.9.0
  description: 'Beta: operations and fields may still change. Covers the operations the Hoshin MCP server uses. For an AI agent, prefer MCP at https://hoshin.app/mcp. An admin creates a token from the API tokens link in the app header. Error messages are in English; rely on the `error` code.'
servers:
- url: https://hoshin.app
tags:
- name: Sharing
paths:
  /api/matrices/{id}/shares:
    get:
      operationId: listShares
      tags:
      - Sharing
      summary: List the public links of a matrix
      description: Refused to a read-only token.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShareList'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      operationId: createShare
      tags:
      - Sharing
      summary: Publish a matrix on a public read-only link
      description: Anyone holding the link can read the matrix. At most 10 active links per matrix. Refused to a read-only token.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type:
                  - string
                  - 'null'
                  maxLength: 200
                expiresInDays:
                  type:
                  - integer
                  - 'null'
                  minimum: 1
                  maximum: 365
                hideFigures:
                  type: boolean
                  description: 'true: the page shows no value, target, unit or external link, only the structure. Internal elements are never shown either way.'
                fullSheets:
                  type: boolean
                  description: 'true: the initiative pages of this link show the full sheet (owner, sponsor, who does the next action, blockers, the sentence behind the health; resources only with figures). For a trusted audience. Default false.'
      security:
      - bearerAuth: []
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShareCreated'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/matrices/{id}/shares/{shareId}:
    delete:
      operationId: revokeShare
      tags:
      - Sharing
      summary: Revoke a public link
      description: Refused to a read-only token.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: shareId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShareRevoked'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Stable machine-readable code, among them UNAUTHORIZED, FORBIDDEN, MATRIX_EDIT_RESTRICTED, DEFAULT_MATRIX_ADMIN_ONLY, NOT_FOUND, INVALID_ID, VALIDATION_ERROR, EMPTY_UPDATE, NOT_ADJACENT, TOO_MANY_SHARES.
        message:
          type: string
        issues:
          type: array
          items:
            type: object
            additionalProperties: {}
          description: Invalid fields, on VALIDATION_ERROR.
      required:
      - error
    ShareList:
      type: object
      properties:
        shares:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              tokenPreview:
                type: string
              label:
                type:
                - string
                - 'null'
              active:
                type: boolean
              createdAt:
                type: string
                format: date-time
              expiresAt:
                type:
                - string
                - 'null'
                format: date-time
              revokedAt:
                type:
                - string
                - 'null'
                format: date-time
              lastAccessedAt:
                type:
                - string
                - 'null'
                format: date-time
              accessCount:
                type: integer
              createdBy:
                type:
                - string
                - 'null'
              hideFigures:
                type: boolean
              fullSheets:
                type: boolean
            required:
            - id
            - tokenPreview
            - label
            - active
            - createdAt
            - expiresAt
            - revokedAt
            - lastAccessedAt
            - accessCount
            - createdBy
            - hideFigures
            - fullSheets
      required:
      - shares
    ShareRevoked:
      type: object
      properties:
        revoked:
          type: boolean
          enum:
          - true
        id:
          type: string
          format: uuid
      required:
      - revoked
      - id
    ShareCreated:
      type: object
      properties:
        id:
          type: string
          format: uuid
        url:
          type: string
          description: Public read-only link, shown once.
        tokenPreview:
          type: string
        label:
          type:
          - string
          - 'null'
        expiresAt:
          type:
          - string
          - 'null'
          format: date-time
        hideFigures:
          type: boolean
        fullSheets:
          type: boolean
        hiddenElements:
          type: integer
          description: Internal elements left off the page.
        matrixName:
          type: string
        note:
          type: string
      required:
      - id
      - url
      - tokenPreview
      - label
      - expiresAt
      - hideFigures
      - fullSheets
      - hiddenElements
      - matrixName
      - note
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'An API token, hk_..., or an OAuth 2.1 access token. OAuth needs PKCE S256 and a registered client: https://hoshin.app/.well-known/oauth-authorization-server'