Tiro Note Document API

Template-based document generation from notes

GitHub OpenAPI

Operations 3

POST /v1/external/notes/{noteGuid}/documents Generate Note Document #
GET /v1/external/notes/{noteGuid}/documents List Note Documents #
GET /v1/external/notes/{noteGuid}/documents/{documentId} Get Note Document #

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-document-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-document-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tiro Ooo Note Document API
  version: 1.0.0
  contact:
    name: Tiro Support
    email: support@tiro.ooo
    url: https://tiro.ooo
  description: 'Operations tagged Note Document 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 Document
  description: Template-based document generation from notes
paths:
  /v1/external/notes/{noteGuid}/documents:
    post:
      summary: Generate Note Document
      description: 'Generate a note document based on a template.


        - Blocks until document generation is complete (synchronous)

        - Requires `UPDATE_CONTENT` permission on the note

        - User must own the template or have team access


        See Template Based Documents for more details.'
      operationId: generateNoteDocument
      tags:
      - Note Document
      parameters:
      - name: noteGuid
        in: path
        description: Note GUID
        required: true
        schema:
          type: string
        example: abc123xyz
      - name: format
        in: query
        description: Content format for generated sections
        required: false
        schema:
          type: string
          enum:
          - text/plain
          - text/markdown
          default: text/markdown
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateNoteDocumentRequest'
            example:
              templateId: 1
              locale: ko_KR
      responses:
        '200':
          description: Document generated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NoteDocument'
              example:
                id: 456
                noteGuid: note-abc123-def456
                note:
                  guid: note-abc123-def456
                  webUrl: https://tiro.ooo/n/xQ8YKnZUPGHNB
                template:
                  id: 1
                  title: 영업 보고서
                locale: ko_KR
                sections:
                - templateSectionId: 12
                  content:
                    type: text/plain
                    content: 회의는 신제품 출시 계획에 대해 논의했습니다...
                  createdAt: '2025-10-20T12:35:26Z'
                createdAt: '2025-10-20T12:35:26Z'
                updatedAt: '2025-10-20T12:35:26Z'
        '400':
          description: Invalid template or parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Note not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      summary: List Note Documents
      description: 'List all documents generated for a specific note.


        See Template Based Documents for more details.'
      operationId: listNoteDocuments
      tags:
      - Note Document
      parameters:
      - name: noteGuid
        in: path
        description: Note GUID
        required: true
        schema:
          type: string
        example: abc123xyz
      - name: templateId
        in: query
        description: Filter by template ID
        required: false
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: List of documents
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NoteDocumentListResponse'
              example:
                content:
                - id: 456
                  template:
                    id: 1
                    title: 영업 보고서
                  locale: ko_KR
                  createdAt: '2025-10-20T12:35:26Z'
                  updatedAt: '2025-10-20T13:45:30Z'
                - id: 457
                  template:
                    id: 1
                    title: 영업 보고서
                  locale: en_US
                  createdAt: '2025-10-20T11:20:15Z'
                  updatedAt: '2025-10-20T11:20:15Z'
                totalSize: 2
        '404':
          description: 'Not found. The note does not exist, or it 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. A note that

            used to be readable and now returns `404` may have moved into a private

            folder.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.tiro.ooo
      description: Production server
  /v1/external/notes/{noteGuid}/documents/{documentId}:
    get:
      summary: Get Note Document
      description: 'Retrieve a specific note document by ID.


        See Template Based Documents for more details.'
      operationId: getNoteDocument
      tags:
      - Note Document
      parameters:
      - name: noteGuid
        in: path
        description: Note GUID
        required: true
        schema:
          type: string
        example: abc123xyz
      - name: documentId
        in: path
        description: Document ID
        required: true
        schema:
          type: integer
          format: int64
        example: 456
      - name: format
        in: query
        description: Response format
        required: false
        schema:
          type: string
          enum:
          - text/plain
          - text/markdown
          default: text/markdown
      responses:
        '200':
          description: Document details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NoteDocument'
              example:
                id: 456
                noteGuid: note-abc123-def456
                note:
                  guid: note-abc123-def456
                  webUrl: https://tiro.ooo/n/xQ8YKnZUPGHNB
                template:
                  id: 1
                  title: 영업 보고서
                locale: ko_KR
                sections:
                - templateSectionId: 12
                  content:
                    type: text/plain
                    content: 회의는 신제품 출시 계획에 대해 논의했습니다...
                  createdAt: '2025-10-20T12:35:26Z'
                - templateSectionId: 13
                  content:
                    type: text/plain
                    content: '- 다음 주까지 견적서 발송

                      - 담당자 배정'
                  createdAt: '2025-10-20T12:35:26Z'
                createdAt: '2025-10-20T12:35:26Z'
                updatedAt: '2025-10-20T13:45:30Z'
            text/markdown:
              schema:
                type: string
              example: '# 영업 보고서


                회의는 신제품 출시 계획에 대해 논의했습니다...


                ## 액션 아이템

                - 다음 주까지 견적서 발송

                - 담당자 배정

                '
        '404':
          description: 'Not found. The note does not exist, or it 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. A note that

            used to be readable and now returns `404` may have moved into a private

            folder.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.tiro.ooo
      description: Production server
components:
  schemas:
    NoteDocumentSection:
      type: object
      description: A section within a note document
      required:
      - templateSectionId
      - content
      - createdAt
      properties:
        templateSectionId:
          type: integer
          format: int64
          description: ID of the template section this content was generated from
          example: 12
        content:
          allOf:
          - $ref: '#/components/schemas/TextObject'
          - description: Generated section content
        createdAt:
          type: string
          format: date-time
          description: Section creation timestamp
          example: '2025-10-20T12:35:26Z'
    NoteDocumentListItem:
      type: object
      description: Summary information for document list
      required:
      - id
      - template
      - locale
      - createdAt
      - updatedAt
      properties:
        id:
          type: integer
          format: int64
          description: Document ID
          example: 456
        template:
          $ref: '#/components/schemas/NoteDocumentTemplateSummary'
        locale:
          $ref: '#/components/schemas/SupportedLocale'
        createdAt:
          type: string
          format: date-time
          description: Document creation timestamp
          example: '2025-10-20T12:35:26Z'
        updatedAt:
          type: string
          format: date-time
          description: Document last update timestamp
          example: '2025-10-20T13:45:30Z'
    NoteRef:
      type: object
      description: Note reference with minimal information
      required:
      - guid
      - webUrl
      properties:
        guid:
          type: string
          description: Note GUID
          example: note-abc123-def456
        webUrl:
          type: string
          format: uri
          description: Web URL to access the note
          example: https://tiro.ooo/n/xQ8YKnZUPGHNB
    NoteDocumentTemplateSummary:
      type: object
      description: Summary information of a note document template
      required:
      - id
      - title
      properties:
        id:
          type: integer
          format: int64
          description: Template ID
          example: 1
        title:
          type: string
          description: Template title
          example: 영업 보고서
    NoteDocumentListResponse:
      type: object
      description: Response containing list of note documents
      required:
      - content
      properties:
        content:
          type: array
          description: Array of document summaries
          items:
            $ref: '#/components/schemas/NoteDocumentListItem'
        totalSize:
          type: integer
          description: Total number of documents
          example: 5
    GenerateNoteDocumentRequest:
      type: object
      required:
      - templateId
      - locale
      properties:
        templateId:
          type: integer
          format: int64
          description: Template ID
          example: 1
        locale:
          allOf:
          - $ref: '#/components/schemas/SupportedLocale'
          - description: Language locale for document generation (AUTO is not supported)
    TextObject:
      type: object
      required:
      - type
      - content
      properties:
        type:
          type: string
          enum:
          - text/plain
          - text/markdown
          description: MIME type of the text content
          example: text/plain
        content:
          type: string
          description: The actual text content
          example: Hello everyone, welcome to today's meeting...
    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
    SupportedLocale:
      type: string
      enum:
      - ko_KR
      - en_US
      - de_DE
      - ja_JP
      - es_ES
      - fr_FR
      - id_ID
      - vi_VN
      - tr_TR
      - uk_UA
      - ru_RU
      - hi_IN
      - it_IT
      - zh_CN
      - ms_MY
      - th_TH
      - sv_SE
      description: Supported language locale
      example: ko_KR
    NoteDocument:
      type: object
      description: 'A structured multi-section document (e.g., meeting minutes, action items)

        generated from a NoteDocumentTemplate. Unlike NoteSummary, it is divided

        into predefined sections. See [Data Model](/fundamentals/note-data-model).

        '
      required:
      - id
      - noteGuid
      - note
      - template
      - locale
      - sections
      - createdAt
      - updatedAt
      properties:
        id:
          type: integer
          format: int64
          description: Document ID
          example: 456
        noteGuid:
          type: string
          description: The GUID of the note this document belongs to
          example: note-abc123-def456
        note:
          $ref: '#/components/schemas/NoteRef'
        template:
          $ref: '#/components/schemas/NoteDocumentTemplateSummary'
        locale:
          $ref: '#/components/schemas/SupportedLocale'
        sections:
          type: array
          description: Array of document sections
          items:
            $ref: '#/components/schemas/NoteDocumentSection'
        createdAt:
          type: string
          format: date-time
          description: Document creation timestamp
          example: '2025-10-20T12:35:26Z'
        updatedAt:
          type: string
          format: date-time
          description: Document last update timestamp
          example: '2025-10-20T13:45:30Z'
        truncated:
          type: boolean
          default: false
          description: '`true` when the document was emitted as part of a deep-search

            response and its combined section text exceeded the search budget

            (5,000 chars). Plain document fetches always emit `false`.

            '
  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