Get a workspace's email
Everything Settings › Email and the Email tool start from: each domain of the workspace with its email state, mailbox and alias counts and the records email needs with what public DNS answers for them, the client settings for mail apps, the default sending domain, the spam filter, the dedicated IP and this month's sending against the free 3,000 (100 a day until a card is on file, then $0.40 per started 1,000, debited from the owner's usage balance). Runs DNS lookups for domains whose records are elsewhere.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/workspaces/string/mail"{ "role": "owner", "server": { "host": "string", "region": "string", "ip": "string", "status": "ok" }, "client": [ { "protocol": "imap", "host": "string", "port": -9007199254740991, "security": "ssl" } ], "domains": [ { "domain": "string", "state": "mailboxes", "dns": "cloady", "verified": true, "mailboxes": -9007199254740991, "aliases": -9007199254740991, "catchAll": "string", "subAddressing": true, "records": [ { "kind": "mx", "type": "MX", "name": "string", "value": "string", "prio": -9007199254740991, "state": "ok", "managed": true } ] } ], "mailboxes": -9007199254740991, "settings": { "capCents": -9007199254740991, "dedicatedIp": { "status": "off", "address": "string" }, "from": "string", "spam": { "folder": 2, "reject": 8, "greylisting": true, "requireTls": true, "blockExecutables": true, "digest": true, "allow": [ "string" ], "block": [ "string" ] }, "workspaceSpam": [ "folder" ] }, "usage": { "month": "string", "sent": -9007199254740991, "free": -9007199254740991, "billed": -9007199254740991, "costCents": -9007199254740991, "today": -9007199254740991, "dailyLimit": -9007199254740991, "card": true, "paused": "cap" }}List self-hosted model servers GET
The workspace's apps that serve models (Ollama, vLLM and the like), each with the models it serves, read from the running server.
Change a workspace's email settings PATCH
Sets the monthly spend cap for sending, requests or releases a dedicated sending IP ($20 a month, provisioned by hand), picks the default sending domain and changes the spam filter. Needs the admin role.