Phasio Manufacturer Thread File Controller API

API for managing files attached to threads

Operations 3

PUT /api/manufacturer/v1/thread-file/{threadId} Upload a file to a thread #
GET /api/manufacturer/v1/thread-file/{fileId} Download a thread file #
GET /api/manufacturer/v1/thread-file/thread/{threadId} Get files by thread ID #

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/phasio-manufacturer-thread-file-controller-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 email required.

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

OpenAPI Specification

phasio-manufacturer-thread-file-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Activity Internal Manufacturer Thread File Controller API
  description: This is the API documentation for the Phasio application.
  version: '1.0'
servers:
- url: https://m-api.eu.phas.io
  description: Generated server url
security:
- Phasio API Bearer Token: []
tags:
- name: Manufacturer Thread File Controller
  description: API for managing files attached to threads
paths:
  /api/manufacturer/v1/thread-file/{threadId}:
    put:
      tags:
      - Manufacturer Thread File Controller
      summary: Upload a file to a thread
      description: Uploads and attaches a file to a specified thread
      operationId: upload
      parameters:
      - name: threadId
        in: path
        description: ID of the thread to attach the file to
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      - name: requisitionId
        in: query
        description: RequisitionId to attach the file to
        required: false
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: File to upload
              required:
              - file
      responses:
        '200':
          description: File uploaded successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThreadFileDto'
        '400':
          description: Invalid request or file upload failed
        '401':
          description: Unauthorized - missing operator context
  /api/manufacturer/v1/thread-file/{fileId}:
    get:
      tags:
      - Manufacturer Thread File Controller
      summary: Download a thread file
      description: Downloads a file attached to a thread by its ID
      operationId: download
      parameters:
      - name: fileId
        in: path
        description: ID of the file to download
        required: true
        schema:
          type: string
          format: uuid
        example: 550e8400-e29b-41d4-a716-446655440000
      responses:
        '200':
          description: File downloaded successfully
          content:
            application/octet-stream: {}
        '400':
          description: Invalid request or file not found
        '401':
          description: Unauthorized - missing operator context
  /api/manufacturer/v1/thread-file/thread/{threadId}:
    get:
      tags:
      - Manufacturer Thread File Controller
      summary: Get files by thread ID
      description: Retrieves all files attached to the specified thread
      operationId: getFilesByThread_1
      parameters:
      - name: threadId
        in: path
        description: ID of the thread to get files for
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: Files retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ThreadFileDto'
        '400':
          description: Invalid request or thread not found
        '401':
          description: Unauthorized - missing operator context
components:
  schemas:
    ThreadFileDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        createdAt:
          type: string
          format: date-time
        size:
          type: integer
          format: int64
        uploader:
          type: string
        requisitionId:
          type: integer
          format: int64
      required:
      - createdAt
      - id
      - name
      - size
      - uploader
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT