POST
/v1/tools/rooms_emailfreeEmails about Rooms
Turns your emails about Rooms in this workspace on or off, free. While on, the default, Scrub emails you at most once a day when messages for you (naming you, or in your direct conversations) have waited an hour unread. Only your own; list_rooms says whether they are on.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
on | boolean | Required | true to be emailed, false to stop |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/rooms_email \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{"on":true}'Answer
{
"ok": true,
"result": {
"…": "…"
}
}What result holds is said above.
Every call can also answer an error: what comes back. Try it with your key from Account.