API reference / Document email settings
Document email settings API
2 endpoints. Scopes: Scalar360.document-email-settings.READ, .CREATE, .UPDATE, .DELETE or .ALL. All calls need Authorization: Scalar360-oauthtoken <access_token> — see Authentication.
GET
Settings
/api/v1/document-email-settings
Scope: Scalar360.document-email-settings.READ
curl -X GET "https://api.scalar360.com/api/v1/document-email-settings" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"PUT
Save settings
/api/v1/document-email-settings
Scope: Scalar360.document-email-settings.UPDATE
| Body field | Type | Required | Notes |
|---|---|---|---|
senderMode | string | ||
sharedMailbox | string | ||
mailConnected | boolean | ||
remindersEnabled | boolean | ||
reminderDaysBefore | integer | ||
reminderOnDue | boolean | ||
reminderDaysAfter | string | ||
recurringAutoEmail | boolean | ||
receiptEmail | boolean |
curl -X PUT "https://api.scalar360.com/api/v1/document-email-settings" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"senderMode":"string","sharedMailbox":"string","mailConnected":true,"remindersEnabled":true,"reminderDaysBefore":1,"reminderOnDue":true}'