API referenceWorkspace
Set Workspace Digest
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Body of PUT /workspace/digest.
recipients are plain strings and are NOT EmailStr, deliberately: the field
is a list a person types into a form, and pydantic's email validation would
reject the whole request for one typo in the fourth address - losing the
other three and the cadence with it. The route checks them itself and names
the one that is wrong.
Capped at 20. Not a policy about team size: this is a mail the workspace asks us to send on a timer, and an unbounded recipient list is how a scheduled send becomes something a spam filter has an opinion about.
Response Body
application/json
application/json
curl -X PUT "https://example.com/workspace/digest" \ -H "Content-Type: application/json" \ -d '{}'{ "enabled": false, "cadence": "weekly", "recipients": [ "string" ], "last_sent_at": "string"}