PandaDoc

documents_fields_assign

Assign, reassign, or unassign document fields to recipients. The document must be in draft status. Provide a list of field-to-recipient mappings. Set recipient_id to null to unassign a field. Use get document details to obtain field UUIDs (fields[].uuid) and recipient IDs (recipients[].id).

Remote svitlana-omelia/pandadoc

Remote (network-hosted)

Other tools also called documents_fields_assign? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "assignments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field_id",
          "recipient_id"
        ],
        "properties": {
          "field_id": {
            "type": "string",
            "description": "UUID of the document field to assign. Obtain from document details (fields[].uuid)."
          },
          "recipient_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "UUID of the recipient to assign the field to. Obtain from document details (recipients[].id). Set to null to unassign the field from its current recipient."
          }
        }
      },
      "minItems": 1,
      "description": "List of field-to-recipient assignments. Each item maps a field UUID to a recipient UUID (or null to unassign)."
    },
    "document_id": {
      "type": "string",
      "description": "Document ID"
    }
  }
}