{
  "info": {
    "name": "Contractbook — mcp.ai",
    "description": "REST API for the Contractbook MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/contractbook",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "contractbook_create_document_from_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/document/from/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "document",
            "from",
            "template"
          ]
        },
        "description": "Create a draft document from a Contractbook template, optionally overriding its document fields; this does not send the draft for signature.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"title\": \"\",\n  \"message\": \"\",\n  \"parties\": \"\",\n  \"language\": \"\",\n  \"attachments\": \"\",\n  \"data_fields\": \"\",\n  \"template_id\": \"\",\n  \"dynamic_tables\": \"\",\n  \"to_be_signed_by\": \"\",\n  \"company_logo_url\": \"\",\n  \"signing_order_mode\": \"\",\n  \"attachments_signed_separately\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_delete_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "document"
          ]
        },
        "description": "Permanently destroy a Contractbook document with no restore option. Signed documents cannot be deleted through this API; Contractbook rejects signed or otherwise undeletable documents rather than repo",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"document_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_get_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "document"
          ]
        },
        "description": "Get the full current Contractbook document, including the version required for a safe update.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"document_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_get_document_pdf_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/document/pdf/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "document",
            "pdf",
            "link"
          ]
        },
        "description": "Get a short-lived PDF download URL for a document, or a not-ready message when Contractbook is still generating it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"document_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_get_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "template"
          ]
        },
        "description": "Get a template's full fields, parties, attachments, and signing configuration before creating a draft from it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"template_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_list_automations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/automations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "automations"
          ]
        },
        "description": "List Contractbook automations for one trigger type; this only discovers automations and does not run them.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"trigger_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_list_documents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/documents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "documents"
          ]
        },
        "description": "Search and filter documents visible to the connected Contractbook account, returning one page and a cursor for continuation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"full\": false,\n  \"tags\": \"\",\n  \"owned\": false,\n  \"title\": \"\",\n  \"cursor\": \"\",\n  \"states\": \"\",\n  \"contexts\": \"\",\n  \"page_size\": 0,\n  \"sort_column\": \"\",\n  \"workspace_id\": \"\",\n  \"signed_before\": \"\",\n  \"document_types\": \"\",\n  \"sort_direction\": \"\",\n  \"updated_before\": \"\",\n  \"signed_at_or_after\": \"\",\n  \"updated_at_or_after\": \"\",\n  \"integration_object_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_list_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "templates"
          ]
        },
        "description": "List all Contractbook templates visible to the connected account for choosing a template ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"exclude_spaces\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "contractbook_update_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "document"
          ]
        },
        "description": "Update selected fields of a draft or stored contract using its current version; supplied collection fields replace their complete existing collections.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"title\": \"\",\n  \"message\": \"\",\n  \"parties\": \"\",\n  \"version\": \"\",\n  \"language\": \"\",\n  \"attachments\": \"\",\n  \"data_fields\": \"\",\n  \"document_id\": \"\",\n  \"dynamic_tables\": \"\",\n  \"to_be_signed_by\": \"\",\n  \"company_logo_url\": \"\",\n  \"signing_order_mode\": \"\",\n  \"attachments_signed_separately\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}