Upload document file

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
POST /api-v1/document/upload

Uploads a document file. Supports optional conversion to image and marking as company logo or organization-specific. Returns 200 with the result on success, or 400 if the upload is not valid.

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

multipart/form-data

Body Required

  • file string(binary) Required

    Document file to upload

  • convertToImage boolean

    Whether to convert the uploaded PDF to an image

Responses

  • 200 application/json

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/document/upload
curl \
 --request POST 'https://wyzio.app/api-v1/document/upload' \
 --header "Content-Type: multipart/form-data" \
 --form "file=@file" \
 --form "convertToImage=true" \
 --form "isCompanyLogo=true"
Response examples (200)
{}