ThoughtBox Shares API

The shares API from ThoughtBox — 20 operation(s) for shares.

GitHub OpenAPI

Operations 23

GET /api/shares/answer Answer Page #
POST /api/shares/answer Answer #
POST /api/shares/card/preview Card Preview #
POST /api/shares/picture Picture Upload #
POST /api/shares/picture/preview Picture Preview #
POST /api/shares/story/preview Story Preview #
POST /api/shares/card Card Send #
POST /api/shares/reply/preview Reply Preview #
POST /api/shares/reply Reply Send #
POST /api/shares/connection Share Connection #
POST /api/shares/{share_id}/connect Connect #
POST /api/shares/{share_id}/pass-on/note Pass On Note #
POST /api/shares/{share_id}/pass-on Pass On #
DELETE /api/shares/{share_id} Take Back #
GET /api/shares/sent Sent Of Reply #
GET /api/shares/contacts Contacts #
GET /api/shares List Shares #
GET /api/shares/settings Sharing Settings #
PUT /api/shares/settings Set Sharing #
PUT /api/shares/people/{sender_id} Set Person #
PUT /api/shares/{share_id}/hidden Hide #
DELETE /api/shares/{share_id}/hidden Show #
POST /api/shares/{share_id}/add Add #

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/thoughtbox-ai:thoughtbox-ai-shares-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

thoughtbox-ai-shares-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThoughtBox Shares API
  description: Document proxy and AI chat platform with MCP support
  version: 0.1.0
tags:
- name: Shares
paths:
  /api/shares/answer:
    get:
      tags:
      - Shares
      summary: Answer Page
      description: 'The email''s link. Only a button: mail scanners open links, and must not answer for anyone.'
      operationId: answer_page_api_shares_answer_get
      parameters:
      - name: s
        in: query
        required: true
        schema:
          type: string
          title: S
      - name: e
        in: query
        required: true
        schema:
          type: string
          title: E
      - name: a
        in: query
        required: true
        schema:
          type: string
          title: A
      - name: sig
        in: query
        required: true
        schema:
          type: string
          title: Sig
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Shares
      summary: Answer
      operationId: answer_api_shares_answer_post
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_answer_api_shares_answer_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/card/preview:
    post:
      tags:
      - Shares
      summary: Card Preview
      description: One card of the user's brief as the recipient will see it, sealed for /card (#681).
      operationId: card_preview_api_shares_card_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CardPreviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Card Preview Api Shares Card Preview Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/picture:
    post:
      tags:
      - Shares
      summary: Picture Upload
      description: 'A picture to share (#893): kept as the user''s own, with a title and description the house model wrote from

        it, for the user to change. {"image_id", "url", "title", "description"}.'
      operationId: picture_upload_api_shares_picture_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_picture_upload_api_shares_picture_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Picture Upload Api Shares Picture Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/picture/preview:
    post:
      tags:
      - Shares
      summary: Picture Preview
      description: The picture as the recipient will see it, with the user's title and description, sealed for /card.
      operationId: picture_preview_api_shares_picture_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PicturePreviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Picture Preview Api Shares Picture Preview Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/story/preview:
    post:
      tags:
      - Shares
      summary: Story Preview
      description: A story from the stream as the recipient will see it, sealed for /card like a brief's card.
      operationId: story_preview_api_shares_story_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoryPreviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Story Preview Api Shares Story Preview Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/card:
    post:
      tags:
      - Shares
      summary: Card Send
      description: 'Share the card the preview showed. Always just sent: what the recipient does is theirs (#462).'
      operationId: card_send_api_shares_card_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CardSendRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Card Send Api Shares Card Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/reply/preview:
    post:
      tags:
      - Shares
      summary: Reply Preview
      description: One of the user's ThoughtBox replies as the recipient will see it, sealed for /reply (#838).
      operationId: reply_preview_api_shares_reply_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplyPreviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Reply Preview Api Shares Reply Preview Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/reply:
    post:
      tags:
      - Shares
      summary: Reply Send
      description: Share the reply the preview showed. Always just sent (#462).
      operationId: reply_send_api_shares_reply_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplySendRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Reply Send Api Shares Reply Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/connection:
    post:
      tags:
      - Shares
      summary: Share Connection
      description: 'Share one of the user''s connections (#827): how to reach it, never their sign-in or key.'
      operationId: share_connection_api_shares_connection_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionShareRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Share Connection Api Shares Connection Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/{share_id}/connect:
    post:
      tags:
      - Shares
      summary: Connect
      description: 'Connect yours (#827): the user''s own connection from a shared one, then their own sign-in or key.'
      operationId: connect_api_shares__share_id__connect_post
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Connect Api Shares  Share Id  Connect Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/{share_id}/pass-on/note:
    post:
      tags:
      - Shares
      summary: Pass On Note
      description: What the one who made it will see if this goes on to this address (#834), said before Send.
      operationId: pass_on_note_api_shares__share_id__pass_on_note_post
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PassOnRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Pass On Note Api Shares  Share Id  Pass On Note Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/{share_id}/pass-on:
    post:
      tags:
      - Shares
      summary: Pass On
      description: Share on what was shared with the user (#834). Always just sent (#462).
      operationId: pass_on_api_shares__share_id__pass_on_post
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PassOnRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Pass On Api Shares  Share Id  Pass On Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/{share_id}:
    delete:
      tags:
      - Shares
      summary: Take Back
      description: 'Take back something the user shared (#834): gone from ThoughtBox for everyone it reached.'
      operationId: take_back_api_shares__share_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/sent:
    get:
      tags:
      - Shares
      summary: Sent Of Reply
      description: 'Who one of the user''s replies was shared with, and where it went from there: its Share menu (#838).'
      operationId: sent_of_reply_api_shares_sent_get
      security:
      - HTTPBearer: []
      parameters:
      - name: message_id
        in: query
        required: true
        schema:
          type: string
          title: Message Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response Sent Of Reply Api Shares Sent Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/contacts:
    get:
      tags:
      - Shares
      summary: Contacts
      description: Who to share with, from the user's contacts (#681).
      operationId: contacts_api_shares_contacts_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Contacts Api Shares Contacts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares:
    get:
      tags:
      - Shares
      summary: List Shares
      operationId: list_shares_api_shares_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                type: array
                title: Response List Shares Api Shares Get
      security:
      - HTTPBearer: []
  /api/shares/settings:
    get:
      tags:
      - Shares
      summary: Sharing Settings
      operationId: sharing_settings_api_shares_settings_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Sharing Settings Api Shares Settings Get
      security:
      - HTTPBearer: []
    put:
      tags:
      - Shares
      summary: Set Sharing
      operationId: set_sharing_api_shares_settings_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Set Sharing Api Shares Settings Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/shares/people/{sender_id}:
    put:
      tags:
      - Shares
      summary: Set Person
      operationId: set_person_api_shares_people__sender_id__put
      security:
      - HTTPBearer: []
      parameters:
      - name: sender_id
        in: path
        required: true
        schema:
          type: string
          title: Sender Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PersonUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Set Person Api Shares People  Sender Id  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/{share_id}/hidden:
    put:
      tags:
      - Shares
      summary: Hide
      operationId: hide_api_shares__share_id__hidden_put
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Shares
      summary: Show
      operationId: show_api_shares__share_id__hidden_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/shares/{share_id}/add:
    post:
      tags:
      - Shares
      summary: Add
      description: 'Add to my briefs (#567): the shared definition becomes the user''s own brief, on their own connections.'
      operationId: add_api_shares__share_id__add_post
      security:
      - HTTPBearer: []
      parameters:
      - name: share_id
        in: path
        required: true
        schema:
          type: string
          title: Share Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Add Api Shares  Share Id  Add Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PicturePreviewRequest:
      properties:
        image_id:
          type: string
          title: Image Id
        title:
          type: string
          maxLength: 120
          title: Title
          default: ''
        description:
          type: string
          maxLength: 600
          title: Description
          default: ''
      type: object
      required:
      - image_id
      title: PicturePreviewRequest
    ConnectionShareRequest:
      properties:
        source_id:
          type: string
          title: Source Id
        to:
          type: string
          title: To
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - source_id
      - to
      title: ConnectionShareRequest
    CardSendRequest:
      properties:
        to:
          type: string
          title: To
        sealed:
          type: string
          title: Sealed
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - to
      - sealed
      title: CardSendRequest
    Body_answer_api_shares_answer_post:
      properties:
        s:
          type: string
          title: S
        e:
          type: string
          title: E
        a:
          type: string
          title: A
        sig:
          type: string
          title: Sig
      type: object
      required:
      - s
      - e
      - a
      - sig
      title: Body_answer_api_shares_answer_post
    StoryPreviewRequest:
      properties:
        feed_id:
          type: string
          title: Feed Id
        item_id:
          type: string
          title: Item Id
      type: object
      required:
      - feed_id
      - item_id
      title: StoryPreviewRequest
    PersonUpdate:
      properties:
        allowed:
          type: boolean
          title: Allowed
      type: object
      required:
      - allowed
      title: PersonUpdate
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ReplySendRequest:
      properties:
        to:
          type: string
          title: To
        sealed:
          type: string
          title: Sealed
        with_question:
          type: boolean
          title: With Question
          default: true
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - to
      - sealed
      title: ReplySendRequest
    PassOnRequest:
      properties:
        to:
          type: string
          title: To
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - to
      title: PassOnRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CardPreviewRequest:
      properties:
        brief_id:
          type: string
          title: Brief Id
        card:
          additionalProperties: true
          type: object
          title: Card
        today:
          anyOf:
          - type: string
          - type: 'null'
          title: Today
      type: object
      required:
      - brief_id
      - card
      title: CardPreviewRequest
    Body_picture_upload_api_shares_picture_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_picture_upload_api_shares_picture_post
    OpenUpdate:
      properties:
        open:
          type: boolean
          title: Open
      type: object
      required:
      - open
      title: OpenUpdate
    ReplyPreviewRequest:
      properties:
        message_id:
          type: string
          title: Message Id
      type: object
      required:
      - message_id
      title: ReplyPreviewRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer