Upload File Document

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://apidocs.lwolf.com/doc/zipform-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "ZipForm API MCP server": {
    "url": "https://apidocs.lwolf.com/doc/zipform-api/mcp"
  }
}

Close
POST /transactions/{transactionId}/documents/file

Uploads a file document to a transaction. If Id is omitted, a new document is created at version 1. If Id is provided and matches an existing document, a new version is added.

Supported MIME types: application/pdf, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/jpeg, image/png, image/bmp, image/gif

Path parameters

  • transactionId string(uuid) Required

    Transaction GUID

Query parameters

  • Name string Required

    Document name

  • Description string Required

    Document description

  • ContainerId string

    Optional folder ID to store the document in

  • Id string

    Optional document ID. If provided and found, adds a new version.

Body Required

string(binary) string(binary)

Body Required

string(binary) string(binary)

Body Required

string(binary) string(binary)

Responses

  • 201

    Document uploaded. Returns the endpoint URL for the uploaded document.

  • 401

    Unauthorized

  • 404

    Document ID provided but not found

  • 415

    Unsupported media type

POST /transactions/{transactionId}/documents/file
curl \
 --request POST 'https://api.pre.zipformplus.com/api/transactions/{transactionId}/documents/file?Name=string&Description=string' \
 --header "X-Auth-ContextId: $API_KEY" \
 --header "Content-Type: application/pdf" \
 --data-binary '@file'
curl \
 --request POST 'https://api.pre.zipformplus.com/api/transactions/{transactionId}/documents/file?Name=string&Description=string' \
 --header "X-Auth-ContextId: $API_KEY" \
 --header "Content-Type: application/msword" \
 --data-binary '@file'
curl \
 --request POST 'https://api.pre.zipformplus.com/api/transactions/{transactionId}/documents/file?Name=string&Description=string' \
 --header "X-Auth-ContextId: $API_KEY" \
 --header "Content-Type: image/jpeg" \
 --data-binary '@file'