Tiro Note Share Link API

Manage share links for notes

GitHub OpenAPI

Operations 3

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/tiro-ooo:tiro-ooo-note-share-link-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

tiro-ooo-note-share-link-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tiro Ooo Note Share Link API
  version: 1.0.0
  contact:
    name: Tiro Support
    email: support@tiro.ooo
    url: https://tiro.ooo
  description: 'Operations tagged Note Share Link across 2 of this provider''s published API definitions: openapi.yaml, tiro-ooo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.tiro.ooo
  description: Production server
security:
- BearerAuth: []
tags:
- name: Note Share Link
  description: Manage share links for notes
paths:
  /v1/external/notes/{noteGuid}/share-link:
    put:
      summary: Upsert Share Link
      description: 'Create or update a share link for a note.


        - If no link exists, creates a new one. If it already exists, updates password settings.

        - An empty body `{}` creates a link without a password.


        ### `usePassword` behavior


        | `usePassword` | No existing link | Existing link |

        |---|---|---|

        | `null` (omit) | Create without password | Keep current state |

        | `true` | Create with password | (Re)generate password |

        | `false` | Create without password | Remove password |


        > `sharePassword` is only included when `usePassword: true`. Store it immediately — it cannot be retrieved later.'
      operationId: upsertShareLink
      tags:
      - Note Share Link
      parameters:
      - name: noteGuid
        in: path
        description: Note GUID
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShareLinkRequest'
            examples:
              withPassword:
                summary: Create or regenerate password
                value:
                  usePassword: true
              withoutPassword:
                summary: Create without password or remove existing password
                value:
                  usePassword: false
              keepCurrent:
                summary: Keep current password state (update link only)
                value: {}
      responses:
        '200':
          description: Share link created or updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShareLinkResponse'
              example:
                shareId: LHr1bHvCCdVCG
                shareUrl: https://tiro.ooo/s/LHr1bHvCCdVCG
                sharePassword: a1b2c3d4
                hasPassword: true
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Link sharing not allowed for this team
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: 403003
                  errorType: forbidden
                  message: Link sharing is not allowed for this team
        '404':
          description: Note not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      summary: Get Share Link
      description: 'Retrieve the current share link for a note.


        - Returns 404 if no share link exists

        - `sharePassword` is always `null` for security'
      operationId: getShareLink
      tags:
      - Note Share Link
      parameters:
      - name: noteGuid
        in: path
        description: Note GUID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Share link details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShareLinkResponse'
              example:
                shareId: LHr1bHvCCdVCG
                shareUrl: https://tiro.ooo/s/LHr1bHvCCdVCG
                sharePassword: null
                hasPassword: true
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - insufficient permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'Not found. The note has no share link, the note does not exist, or the note is

            outside the read scope of the API key used. A system key reads only notes in a

            folder shared with all workspace members, and returns `404` (not `403`) for

            anything outside that scope so the response does not reveal whether the note

            exists.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      summary: Delete Share Link
      description: 'Delete the share link for a note.


        - Returns 204 even if already deleted (idempotent)'
      operationId: deleteShareLink
      tags:
      - Note Share Link
      parameters:
      - name: noteGuid
        in: path
        description: Note GUID
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Share link deleted
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - insufficient permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Note not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.tiro.ooo
      description: Production server
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - errorType
          - message
          properties:
            code:
              type: integer
              description: '6-digit error code in `AAABBB` form: first 3 digits match the HTTP status,

                last 3 digits are a per-status serial (e.g. `404018`). Use only when you need

                to distinguish specific error cases within the same HTTP status — values may be

                added or renumbered across releases. For general client branching, prefer `errorType`.

                '
              example: 404018
            errorType:
              type: string
              description: "Stable, coarse-grained error category. Recommended default for client-side\nbranching: the value-to-status mapping is part of the API contract and will not\nchange without a breaking-change notice. Typical use:\n  - `unauthorized` → trigger re-authentication\n  - `forbidden` → surface a permission error to the user\n  - `not_found` → treat as missing resource\n  - `too_many_requests` → back off and retry\n  - `internal_error` → retry with exponential backoff\n"
              enum:
              - bad_request
              - unauthorized
              - forbidden
              - not_found
              - not_acceptable
              - conflict
              - payload_too_large
              - unprocessable_entity
              - too_many_requests
              - internal_error
              example: not_found
            message:
              type: string
              description: Human-readable error message. Not stable; do not use for branching.
              example: 'No team found for user #217'
            detail:
              description: Additional error details. Authorization failures may include a reason and required scopes.
              oneOf:
              - type: string
                nullable: true
              - type: object
                additionalProperties: true
                properties:
                  reason:
                    type: string
                    example: insufficient_scope
                  required:
                    type: array
                    items:
                      type: string
                    example:
                    - folder:read
              example: null
    ShareLinkRequest:
      type: object
      properties:
        usePassword:
          type: boolean
          nullable: true
          description: 'Controls the share link password.

            - `true` — Generate password (regenerate if one exists)

            - `false` — Remove password (or create without one)

            - `null` / omitted — Keep current password state

            '
    ShareLinkResponse:
      type: object
      required:
      - shareId
      - shareUrl
      - hasPassword
      properties:
        shareId:
          type: string
          description: Unique share link identifier
          example: LHr1bHvCCdVCG
        shareUrl:
          type: string
          format: uri
          description: Full URL for accessing the shared note
          example: https://tiro.ooo/s/LHr1bHvCCdVCG
        sharePassword:
          type: string
          nullable: true
          description: 'Share link password.

            - Only returned on PUT with `usePassword: true`

            - Always `null` in GET responses

            '
          example: a1b2c3d4
        hasPassword:
          type: boolean
          description: Whether the share link has a password
          example: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key in format `{id}.{secret}`.


        The notes an endpoint returns depend on the key type. A **user key** reaches the

        notes that user can see in the app, including notes in their own private folders.

        A **system key** (workspace or organization, no user identity) reaches only notes

        that sit in a folder shared with all workspace members. Notes in a private folder,

        in a folder shared with only some members, or in no folder at all fall outside a

        system key''s read scope, and scopes do not widen that boundary.


        List and search endpoints drop out-of-scope notes from the response without an

        error. Single-note reads and their sub-resources return `404`, the same response

        as a deleted note. See [What notes a system key reads](https://docs.tiro.ooo/en/developers/fundamentals/system-key-note-scope).

        '
x-refined-from:
- openapi.yaml
- tiro-ooo-openapi.yml