Skip to content
Docs
Open Escouade
Documentation contents

Docs › Mail › Tools

update_settings

View as .md

Adjust the space.

Changes the space’s settings; only the ones given change. The window is written as ranges of hours between 6 and 22, Paris time: “9-18”, “8-12,14-18”, or closed. Spacing and the duplicate rule can only be tightened, never below the service’s setting; quotas and warm-up cannot be adjusted. What is queued leaves according to the new window.

Access

  • Key: an Escouade Mail key with approve.
  • Space: any space, verified or not.
  • Changes nothing: no, it acts.
  • Safe to replay: yes.

Parameters

ParameterTypeRequiredDescription
namestringnoName of the space.
postal_addressstringnoThe sender’s postal address, on one line, written in the footer of first messages.
weekdaysstringnoRanges from Monday to Friday.
saturdaystringnoSaturday’s ranges, or closed.
sundaystringnoSunday’s ranges, or closed.
skip_holidaysbooleannotrue: nothing leaves on French public holidays.
no_send_dayslist of stringnoDays without sending (YYYY-MM-DD); the list replaces the previous one.
require_approvalbooleannotrue: every send stays a draft until it is approved.
spacing_minutesintegernoMinimum minutes between two sends from one inbox.
dedup_daysintegernoDays without a second first message to the same recipient.

Call it

Terminal
curl -s https://api.subagent.fr/v1/update_settings \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer sak_…' \
  -d '{}'

The full page in French, with the response fields and every refusal the tool can return: /mail/docs/reference/update_settings.