---
updatedAt: 2026-05-01T01:38:44.000Z
agentTools:
  projectIndex: https://developers.smarterdrafter.com/llms.txt
---

# Update a matter by ID.

Updates the specified matter with new data.
Returns 404 if the matter does not exist.
Returns 409 if a matter with the same external ID and data source already exists.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Smarter Drafter API",
    "description": "Used by Smarter Drafter clients",
    "version": "v1"
  },
  "paths": {
    "/v1/clients/Matters/{id}": {
      "put": {
        "tags": [
          "Matters"
        ],
        "summary": "Update a matter by ID.",
        "description": "Updates the specified matter with new data.\r\nReturns 404 if the matter does not exist.\r\nReturns 409 if a matter with the same external ID and data source already exists.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the matter to update.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "The updated matter data.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MatterUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MatterUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MatterUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Matter with the same external ID and data source already exists",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "ClientApiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "MatterUpdateRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "description": "Name of the matter."
          }
        },
        "additionalProperties": false,
        "description": "Request model for updating a matter."
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      }
    },
    "securitySchemes": {
      "ClientApiKey": {
        "type": "apiKey",
        "description": "Enter value of X-SmarterDrafter-Key header",
        "name": "X-SmarterDrafter-Key",
        "in": "header"
      }
    }
  },
  "servers": [
    {
      "url": "https://{server}"
    }
  ],
  "x-readme": {}
}
```