API Reference
Reference · Validation
Reference
Validation
The documented schema requirements for request bodies, and how to validate before you send.
Documented schema requirements
SignatureRequestCreate
Required fields (everything else is optional, see Create Signature Request):
| Field | Type |
|---|---|
| templates | array |
Optional fields include mode (defaults to email), message (defaults to empty), sequential_signing, field_visibility, external_id, metadata, webhook and the legacy webhook_url.
TemplateRequest
Required fields (plus optional prefill array of {id, name, value} objects):
| Field | Type |
|---|---|
| template_id | string |
| signers | array |
Signer
Required fields:
| Field | Type |
|---|---|
| name | string |
| string |
Webhook
Required fields:
| Field | Type |
|---|---|
| url | string |
| events | array |
Validate before you send
Check the following on the client before submitting a request:
- Every required field is present with a non-empty value.
- Each
template_idexists for your account (retrieve them via List Templates). - Every signer has both
nameandemail. - The JSON body is valid and matches the documented field names.
- Headers are correct:
AuthorizationandContent-Type, plusIdempotency-Keyfor create operations.