Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Update Mail Settings

Update one or more organization-level mail settings. This is a partial update — only the fields you include in the request body are changed, and any omitted fields are left untouched. Pass null for a field to clear it back to its default.

Body Parameters

FieldTypeDescription
default_postcard_sizestring | nullDefault postcard size: 4x6, 6x9, or 6x11.
default_sender_namestring | nullSender name pre-filled on new campaigns (max 255 chars).
contact_frequency_limit_daysnumber | nullMinimum days between mailings to the same contact (0–3650).
default_qr_code_urlstring | nullDefault QR code destination URL. Must be a valid URL.
default_signature_image_urlstring | nullDefault signature image URL. Must be a valid URL.
Request example
curl -X PATCH https://api.v2.dealmachine.com/v1/mail/settings \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "default_postcard_size": "6x9", "contact_frequency_limit_days": 30 }'
Response example
{ "data": { "default_postcard_size": "6x9", "default_sender_name": "Acme Real Estate", "contact_frequency_limit_days": 30, "default_qr_code_url": "https://acme.com/offer", "default_signature_image_url": "https://atlas.s3.amazonaws.com/signatures/abc.png" } }