Create a Transaction Type

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/types

Creates a new transaction type for the authenticated user.

application/json

Body Required

  • name string Required

Responses

  • 200 application/json

    Transaction type created successfully

    Hide response attribute Show response attribute object
    • id string(uuid)
  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array[string]
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • details array
    • data
POST /v2/transactions/types
curl \
 --request POST 'https://api.pre.transactiondesk.com/v2/transactions/types' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"Rental Property"}'
Request examples
{
  "name": "Rental Property"
}
Response examples (200)
{
  "id": "ee9d3620-9b2f-437d-b522-3c785dbbfacd"
}
Response examples (400)
{
  "code": 400,
  "message": "Request was not valid.",
  "details": [
    "string"
  ]
}
Response examples (401)
{
  "code": 401,
  "message": "Unauthorized. The user is not authenticated.",
  "details": []
}