Settings
Tenant settings: redirect URIs, tracking defaults, retention, AI, the MCP send policy, and the tracking and connect domains.
Guides: Redirect URIs, Tracking domain, Connect domain, MCP send policy.
| Method | Path | Operation | Scope |
|---|---|---|---|
GET | /v1/settings | Get tenant settings | read |
PATCH | /v1/settings | Update tenant settings | admin |
GET | /v1/settings/tracking-domain | Get the workspace's tracking domain | admin |
PUT | /v1/settings/tracking-domain | Set the workspace's tracking domain | admin |
DELETE | /v1/settings/tracking-domain | Remove the workspace's tracking domain | admin |
POST | /v1/settings/tracking-domain/refresh | Check the workspace's tracking domain now | admin |
GET | /v1/settings/connect-domain | Get the workspace's connect domain | admin |
PUT | /v1/settings/connect-domain | Set the workspace's connect domain | admin |
DELETE | /v1/settings/connect-domain | Remove the workspace's connect domain | admin |
POST | /v1/settings/connect-domain/refresh | Check the workspace's connect domain now | admin |
Runs in your browser against api.workwae.com with the key you enter. Use a read-only key, limited to a test account if you can.
Required scope: read.
OK
application/json- response
bodyStorage*BodyStorage"none""cache""full"syncWindowDays*|nullmailEnabled*booleancalendarEnabled*booleancontactsEnabled*booleanundoSendSeconds*integer0 <= value <= 60trackOpens*booleantrackClicks*booleantrackingHoneypot*booleansuppressionCheck*string"lists""always"sendsPerMinute*|nulloptOutHandling*OptOutHandling"off""review""suppress"eventRetentionDays*integer7 <= value <= 30redirectUris*array<>items <= 50aiReplyClassification*booleanmcpSendPolicy*curl -X GET 'https://api.workwae.com/v1/settings'{ "bodyStorage": "none", "syncWindowDays": 1, "mailEnabled": true, "calendarEnabled": true, "contactsEnabled": true, "undoSendSeconds": 0, "trackOpens": true, "trackClicks": true, "trackingHoneypot": true, "suppressionCheck": "lists", "sendsPerMinute": 1, "optOutHandling": "off", "eventRetentionDays": 7, "redirectUris": [ "https://app.example.com/mail/connected" ], "aiReplyClassification": true, "mcpSendPolicy": { "mode": "allow", "allowedRecipientDomains": [ "string" ], "dailySendLimit": 1, "externalRecipientConfirmation": true }}Runs against the live API with the key you enter: this change really happens. Use a key limited to a test account.
bodyStorage applies to every account without its own override; changing it restarts their syncs (full stores and backfills every indexed message, none deletes stored content). mcpSendPolicy limits what agents send through the MCP server only (/v1 sends are not held to it); its keys present change, absent ones stay. Requires the admin scope.
Required scope: admin.
application/json- body
bodyStorage?BodyStorage"none""cache""full"syncWindowDays?|nullmailEnabled?booleancalendarEnabled?booleancontactsEnabled?booleanundoSendSeconds?integer0 <= value <= 60trackOpens?booleantrackClicks?booleantrackingHoneypot?booleansuppressionCheck?string"lists""always"sendsPerMinute?|nulloptOutHandling?OptOutHandling"off""review""suppress"eventRetentionDays?integer7 <= value <= 30redirectUris?array<>items <= 50aiReplyClassification?booleanmcpSendPolicy?OK
application/json- response
bodyStorage*BodyStorage"none""cache""full"syncWindowDays*|nullmailEnabled*booleancalendarEnabled*booleancontactsEnabled*booleanundoSendSeconds*integer0 <= value <= 60trackOpens*booleantrackClicks*booleantrackingHoneypot*booleansuppressionCheck*string"lists""always"sendsPerMinute*|nulloptOutHandling*OptOutHandling"off""review""suppress"eventRetentionDays*integer7 <= value <= 30redirectUris*array<>items <= 50aiReplyClassification*booleanmcpSendPolicy*curl -X PATCH 'https://api.workwae.com/v1/settings' \ -H 'Content-Type: application/json' \ -d '{}'{ "bodyStorage": "none", "syncWindowDays": 1, "mailEnabled": true, "calendarEnabled": true, "contactsEnabled": true, "undoSendSeconds": 0, "trackOpens": true, "trackClicks": true, "trackingHoneypot": true, "suppressionCheck": "lists", "sendsPerMinute": 1, "optOutHandling": "off", "eventRetentionDays": 7, "redirectUris": [ "https://app.example.com/mail/connected" ], "aiReplyClassification": true, "mcpSendPolicy": { "mode": "allow", "allowedRecipientDomains": [ "string" ], "dailySendLimit": 1, "externalRecipientConfirmation": true }}Runs in your browser against api.workwae.com with the key you enter. Use a read-only key, limited to a test account if you can.
The workspace's own host for tracking pixels, click links and unsubscribe URLs, with the DNS records to publish and where setting it up stands. Requires the admin scope.
Required scope: admin.
OK
application/json- response
hostname*TrackingDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$status*TrackingDomainStatus"pending""active""failed"records*array<>ownership*error*string|nullactivatedAt*|nullcreatedAt*stringdate-timecurl -X GET 'https://api.workwae.com/v1/settings/tracking-domain'{ "hostname": "string", "status": "pending", "records": [ { "type": "string", "name": "string", "value": "string" } ], "ownership": { "type": "string", "name": "string", "value": "string" }, "error": "string", "activatedAt": "2026-05-04T09:30:00.000Z", "createdAt": "2026-05-04T09:30:00.000Z"}Runs against the live API with the key you enter: this change really happens. Use a key limited to a test account.
Removes the hostname from the edge and the workspace. New tracked sends use the deployment's tracking host again; links already in sent mail on the removed domain stop working. Requires the admin scope.
Required scope: admin.
OK
application/json- response
curl -X DELETE 'https://api.workwae.com/v1/settings/tracking-domain'nullRuns against the live API with the key you enter: this change really happens. Use a key limited to a test account.
Registers the hostname with the edge and answers the DNS records to publish: a CNAME to the deployment's tracking host (records), any TXT records the edge asks for (records), and the ownership TXT record that is random to this claim (ownership). The domain is pending until the ownership record is published and the edge reports the hostname and its certificate active (checked every few minutes, or on POST /v1/settings/tracking-domain/refresh); only then do new tracked sends link to it. Replaces the workspace's current tracking domain once the new hostname is registered, so a refusal leaves the current one serving; the replaced one stops serving then, and mail already sent keeps the host it was sent with. Needs the plan's tracking module. Requires the admin scope.
Required scope: admin.
application/json- body
hostname*TrackingDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$OK
application/json- response
hostname*TrackingDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$status*TrackingDomainStatus"pending""active""failed"records*array<>ownership*error*string|nullactivatedAt*|nullcreatedAt*stringdate-timecurl -X PUT 'https://api.workwae.com/v1/settings/tracking-domain' \ -H 'Content-Type: application/json' \ -d '{ "hostname": "string"}'{ "hostname": "string", "status": "pending", "records": [ { "type": "string", "name": "string", "value": "string" } ], "ownership": { "type": "string", "name": "string", "value": "string" }, "error": "string", "activatedAt": "2026-05-04T09:30:00.000Z", "createdAt": "2026-05-04T09:30:00.000Z"}Runs against the live API with the key you enter: this change really happens. Use a key limited to a test account.
Reads the hostname's state from the edge now instead of waiting for the next check, and answers the updated domain. Requires the admin scope.
Required scope: admin.
OK
application/json- response
hostname*TrackingDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$status*TrackingDomainStatus"pending""active""failed"records*array<>ownership*error*string|nullactivatedAt*|nullcreatedAt*stringdate-timecurl -X POST 'https://api.workwae.com/v1/settings/tracking-domain/refresh'{ "hostname": "string", "status": "pending", "records": [ { "type": "string", "name": "string", "value": "string" } ], "ownership": { "type": "string", "name": "string", "value": "string" }, "error": "string", "activatedAt": "2026-05-04T09:30:00.000Z", "createdAt": "2026-05-04T09:30:00.000Z"}Runs in your browser against api.workwae.com with the key you enter. Use a read-only key, limited to a test account if you can.
The workspace's own host for the browser steps of connecting an account through its own provider apps (the redirect URI to register at Google, Microsoft, Zoom or Webex), with the DNS records to publish and where setting it up stands. Requires the admin scope.
Required scope: admin.
OK
application/json- response
hostname*ConnectDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$status*ConnectDomainStatus"pending""active""failed"records*array<>ownership*error*string|nullactivatedAt*|nullcreatedAt*stringdate-timecurl -X GET 'https://api.workwae.com/v1/settings/connect-domain'{ "hostname": "string", "status": "pending", "records": [ { "type": "string", "name": "string", "value": "string" } ], "ownership": { "type": "string", "name": "string", "value": "string" }, "error": "string", "activatedAt": "2026-05-04T09:30:00.000Z", "createdAt": "2026-05-04T09:30:00.000Z"}Runs against the live API with the key you enter: this change really happens. Use a key limited to a test account.
Removes the hostname from the edge and the workspace. Refused while an OAuth app, meeting app or organization connection uses it. Requires the admin scope.
Required scope: admin.
OK
application/json- response
curl -X DELETE 'https://api.workwae.com/v1/settings/connect-domain'nullRuns against the live API with the key you enter: this change really happens. Use a key limited to a test account.
Registers the hostname with the edge and answers the DNS records to publish: a CNAME to the deployment (records), any TXT records the edge asks for (records), and the ownership TXT record that is random to this claim (ownership). The domain is pending until the ownership record is published and the edge reports the hostname and its certificate active (checked every few minutes, or on POST /v1/settings/connect-domain/refresh); only then can an OAuth app, meeting app or organization connection be set to use it (useConnectDomain). The redirect URI such an app registers at its provider is then https://<hostname>/connect/callback/<provider>. Replaces the workspace's current connect domain once the new hostname is registered, so a refusal leaves the current one serving; the same hostname again changes nothing, unless it failed. Not available for a different hostname while an app uses the connect domain. Requires the admin scope.
Required scope: admin.
application/json- body
hostname*ConnectDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$OK
application/json- response
hostname*ConnectDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$status*ConnectDomainStatus"pending""active""failed"records*array<>ownership*error*string|nullactivatedAt*|nullcreatedAt*stringdate-timecurl -X PUT 'https://api.workwae.com/v1/settings/connect-domain' \ -H 'Content-Type: application/json' \ -d '{ "hostname": "string"}'{ "hostname": "string", "status": "pending", "records": [ { "type": "string", "name": "string", "value": "string" } ], "ownership": { "type": "string", "name": "string", "value": "string" }, "error": "string", "activatedAt": "2026-05-04T09:30:00.000Z", "createdAt": "2026-05-04T09:30:00.000Z"}Runs against the live API with the key you enter: this change really happens. Use a key limited to a test account.
Reads the hostname's state from the edge now instead of waiting for the next check, and answers the updated domain. Requires the admin scope.
Required scope: admin.
OK
application/json- response
hostname*ConnectDomainHostname^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$status*ConnectDomainStatus"pending""active""failed"records*array<>ownership*error*string|nullactivatedAt*|nullcreatedAt*stringdate-timecurl -X POST 'https://api.workwae.com/v1/settings/connect-domain/refresh'{ "hostname": "string", "status": "pending", "records": [ { "type": "string", "name": "string", "value": "string" } ], "ownership": { "type": "string", "name": "string", "value": "string" }, "error": "string", "activatedAt": "2026-05-04T09:30:00.000Z", "createdAt": "2026-05-04T09:30:00.000Z"}