Add Form to a Transaction

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/transactiondesk-api/mcp

Standard setup for AI tools providing an mcp.json file

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

Close
POST /v2/transactions/{transactionId}/forms

Adds a form to a transaction.

Request Fields:

Field Type Description
formLib string Form-library identifier of the form to add

Path parameters

  • transactionId string(uuid) Required

    Transaction identifier

application/json

Body Required

  • formLib string Required

    Form-library identifier of the form to add

Responses

  • 200 application/json

    Form added successfully. Returns the created transaction form instance ID.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array
    • data
POST /v2/transactions/{transactionId}/forms
curl \
 --request POST 'https://api.pre.transactiondesk.com/v2/transactions/{transactionId}/forms' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"formLib":"ABC123"}'
Request examples
{
  "formLib": "ABC123"
}
Response examples (200)
7f0f7fc1-8a2f-4e3d-b23f-3b6d2f1f9a11
Response examples (401)
{
  "code": 401,
  "message": "Unauthorized. The user is not authenticated.",
  "details": []
}