---
updatedAt: 2026-04-27T16:09:54.000Z
agentTools:
  projectIndex: https://developer.deputy.com/llms.txt
---

# Batch save contract configs

Batch save contract configs.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Deputy V2 API",
    "version": "1.0",
    "description": "\n\nFiltered to publicly-authenticated routes only (APIAuthenticator). Scoped-OAuth routes and internal JWT routes are excluded — see the separate \"Deputy V2 Scoped API\" spec for scoped endpoints."
  },
  "servers": [
    {
      "url": "https://{subdomain}.{region}.deputy.com/api",
      "description": "Deputy tenant",
      "variables": {
        "subdomain": {
          "default": "your-subdomain",
          "description": "Your Deputy tenant subdomain"
        },
        "region": {
          "default": "deputy",
          "enum": [
            "au",
            "eu",
            "na",
            "deputy"
          ],
          "description": "Deputy region: au, eu, na, or deputy (AU default)"
        }
      }
    }
  ],
  "components": {
    "schemas": {
      "ContractConfigBatchSaveRequest": {
        "type": "object",
        "properties": {
          "configs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/v2modelContractConfig"
            }
          },
          "confirmCustomisation": {
            "type": "boolean"
          }
        }
      },
      "ContractConfigBatchSaveResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "string"
          },
          "requiresConfirmation": {
            "type": "boolean"
          }
        }
      },
      "modelContractConfigCategory": {
        "type": "string",
        "enum": [
          "CONTRACT_CONFIG_CATEGORY_UNKNOWN",
          "CONTRACT_CONFIG_CATEGORY_GLOBAL_SETTINGS",
          "CONTRACT_CONFIG_CATEGORY_JUNIOR_RATE",
          "CONTRACT_CONFIG_CATEGORY_CONTRACT_DETAILS",
          "CONTRACT_CONFIG_CATEGORY_PAY_POLICY_CONTEXT",
          "CONTRACT_CONFIG_CATEGORY_SHARED_CONTEXT",
          "CONTRACT_CONFIG_CATEGORY_EXPORT_CODE_TEMPLATE"
        ],
        "default": "CONTRACT_CONFIG_CATEGORY_UNKNOWN"
      },
      "modelContractConfigStatus": {
        "type": "string",
        "enum": [
          "CONTRACT_CONFIG_STATUS_INACTIVE",
          "CONTRACT_CONFIG_STATUS_ACTIVE",
          "CONTRACT_CONFIG_STATUS_ARCHIVED"
        ],
        "default": "CONTRACT_CONFIG_STATUS_INACTIVE"
      },
      "v2modelContractConfig": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "contractId": {
            "type": "integer",
            "format": "int64"
          },
          "category": {
            "$ref": "#/components/schemas/modelContractConfigCategory"
          },
          "config": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/modelContractConfigStatus"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiToken": {
        "type": "apiKey",
        "in": "header",
        "name": "OAuth"
      }
    }
  },
  "paths": {
    "/management/v2/compliance/contract-config:batch-save": {
      "post": {
        "operationId": "ComplianceV2Controller_batchSaveContractConfigs",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractConfigBatchSaveResponse"
                }
              }
            }
          }
        },
        "tags": [
          "Compliance"
        ],
        "summary": "Batch save contract configs",
        "description": "Batch save contract configs.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContractConfigBatchSaveRequest"
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiToken": []
    }
  ]
}
```