{ "default": { "allow_decline": true, "attachments": [ { "name": "Attachment1", "signer_index": 1, "instructions": "Upload your Driver's License", "required": true } ], "cc_email_addresses": [ "lawyer@dropboxsign.com", "lawyer@example.com" ], "custom_fields": [ { "name": "Cost", "value": "$20,000", "editor": "Client", "required": true } ], "field_options": { "date_format": "DD - MM - YYYY" }, "file_urls": [ "https://app.hellosign.com/docs/example_signature_request.pdf" ], "form_field_groups": [ { "group_id": "RadioGroup1", "group_label": "Radio Group 1", "requirement": "require_0-1" } ], "form_field_rules": [ { "id": "rule_1", "trigger_operator": "AND", "triggers": [ { "id": "uniqueIdHere_1", "operator": "is", "value": "foo" } ], "actions": [ { "field_id": "uniqueIdHere_2", "hidden": true, "type": "change-field-visibility" } ] } ], "form_fields_per_document": [ { "document_index": 0, "api_id": "uniqueIdHere_1", "name": "", "type": "text", "x": 112, "y": 328, "width": 100, "height": 16, "required": true, "signer": "0", "page": 1, "validation_type": "numbers_only" }, { "document_index": 0, "api_id": "uniqueIdHere_2", "name": "", "type": "signature", "x": 530, "y": 415, "width": 120, "height": 30, "required": true, "signer": "0", "page": 1 } ], "hide_text_tags": true, "message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.", "metadata": { "custom_id": 1234, "custom_text": "NDA #9" }, "show_progress_stepper": true, "signers": [ { "email_address": "s1@example.com", "name": "Signer 1", "order": 0 }, { "email_address": "s2@example.com", "name": "Signer 2", "order": 1 } ], "signing_options": { "draw": true, "type": true, "upload": true, "phone": false, "default_type": "draw" }, "signing_redirect_url": "https://example.com/redirect", "subject": "The NDA we talked about", "test_mode": true, "type": "send_document", "use_preexisting_fields": true, "use_text_tags": true } }