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.

MethodPathOperationScope
GET/v1/settingsGet tenant settingsread
PATCH/v1/settingsUpdate tenant settingsadmin
GET/v1/settings/tracking-domainGet the workspace's tracking domainadmin
PUT/v1/settings/tracking-domainSet the workspace's tracking domainadmin
DELETE/v1/settings/tracking-domainRemove the workspace's tracking domainadmin
POST/v1/settings/tracking-domain/refreshCheck the workspace's tracking domain nowadmin
GET/v1/settings/connect-domainGet the workspace's connect domainadmin
PUT/v1/settings/connect-domainSet the workspace's connect domainadmin
DELETE/v1/settings/connect-domainRemove the workspace's connect domainadmin
POST/v1/settings/connect-domain/refreshCheck the workspace's connect domain nowadmin

Get tenant settings

GET
/v1/settings

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.

Response Body

OK

application/json
  1. response
bodyStorage*BodyStorage
Value in"none""cache""full"
syncWindowDays*|null
mailEnabled*boolean
calendarEnabled*boolean
contactsEnabled*boolean
undoSendSeconds*integer
Range0 <= value <= 60
trackOpens*boolean
trackClicks*boolean
trackingHoneypot*boolean
suppressionCheck*string
Value in"lists""always"
sendsPerMinute*|null
optOutHandling*OptOutHandling
Value in"off""review""suppress"
eventRetentionDays*integer
Range7 <= value <= 30
redirectUris*array<>
Itemsitems <= 50
aiReplyClassification*boolean
mcpSendPolicy*
Example Request
curl -X GET 'https://api.workwae.com/v1/settings'
Example Response
{  "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  }}

Update tenant settings

PATCH
/v1/settings

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.

Request Body

application/json
  1. body
bodyStorage?BodyStorage
Value in"none""cache""full"
syncWindowDays?|null
mailEnabled?boolean
calendarEnabled?boolean
contactsEnabled?boolean
undoSendSeconds?integer
Range0 <= value <= 60
trackOpens?boolean
trackClicks?boolean
trackingHoneypot?boolean
suppressionCheck?string
Value in"lists""always"
sendsPerMinute?|null
optOutHandling?OptOutHandling
Value in"off""review""suppress"
eventRetentionDays?integer
Range7 <= value <= 30
redirectUris?array<>
Itemsitems <= 50
aiReplyClassification?boolean
mcpSendPolicy?

Response Body

OK

application/json
  1. response
bodyStorage*BodyStorage
Value in"none""cache""full"
syncWindowDays*|null
mailEnabled*boolean
calendarEnabled*boolean
contactsEnabled*boolean
undoSendSeconds*integer
Range0 <= value <= 60
trackOpens*boolean
trackClicks*boolean
trackingHoneypot*boolean
suppressionCheck*string
Value in"lists""always"
sendsPerMinute*|null
optOutHandling*OptOutHandling
Value in"off""review""suppress"
eventRetentionDays*integer
Range7 <= value <= 30
redirectUris*array<>
Itemsitems <= 50
aiReplyClassification*boolean
mcpSendPolicy*
Example Request
curl -X PATCH 'https://api.workwae.com/v1/settings' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "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  }}
GET
/v1/settings/tracking-domain

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.

Response Body

OK

application/json
  1. response
hostname*TrackingDomainHostname
Match^(?=.{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
Value in"pending""active""failed"
records*array<>
ownership*
error*string|null
activatedAt*|null
createdAt*string
Formatdate-time
Example Request
curl -X GET 'https://api.workwae.com/v1/settings/tracking-domain'
Example Response
{  "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"}
DELETE
/v1/settings/tracking-domain

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.

Response Body

OK

application/json
  1. response
Example Request
curl -X DELETE 'https://api.workwae.com/v1/settings/tracking-domain'
Example Response
null
PUT
/v1/settings/tracking-domain

Runs 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.

Request Body

application/json
  1. body
hostname*TrackingDomainHostname
Match^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$

Response Body

OK

application/json
  1. response
hostname*TrackingDomainHostname
Match^(?=.{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
Value in"pending""active""failed"
records*array<>
ownership*
error*string|null
activatedAt*|null
createdAt*string
Formatdate-time
Example Request
curl -X PUT 'https://api.workwae.com/v1/settings/tracking-domain' \  -H 'Content-Type: application/json' \  -d '{  "hostname": "string"}'
Example Response
{  "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"}
POST
/v1/settings/tracking-domain/refresh

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.

Response Body

OK

application/json
  1. response
hostname*TrackingDomainHostname
Match^(?=.{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
Value in"pending""active""failed"
records*array<>
ownership*
error*string|null
activatedAt*|null
createdAt*string
Formatdate-time
Example Request
curl -X POST 'https://api.workwae.com/v1/settings/tracking-domain/refresh'
Example Response
{  "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"}
GET
/v1/settings/connect-domain

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.

Response Body

OK

application/json
  1. response
hostname*ConnectDomainHostname
Match^(?=.{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
Value in"pending""active""failed"
records*array<>
ownership*
error*string|null
activatedAt*|null
createdAt*string
Formatdate-time
Example Request
curl -X GET 'https://api.workwae.com/v1/settings/connect-domain'
Example Response
{  "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"}
DELETE
/v1/settings/connect-domain

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.

Response Body

OK

application/json
  1. response
Example Request
curl -X DELETE 'https://api.workwae.com/v1/settings/connect-domain'
Example Response
null
PUT
/v1/settings/connect-domain

Runs 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.

Request Body

application/json
  1. body
hostname*ConnectDomainHostname
Match^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.){2,}[a-z](?:[a-z0-9-]{0,61}[a-z0-9])$

Response Body

OK

application/json
  1. response
hostname*ConnectDomainHostname
Match^(?=.{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
Value in"pending""active""failed"
records*array<>
ownership*
error*string|null
activatedAt*|null
createdAt*string
Formatdate-time
Example Request
curl -X PUT 'https://api.workwae.com/v1/settings/connect-domain' \  -H 'Content-Type: application/json' \  -d '{  "hostname": "string"}'
Example Response
{  "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"}
POST
/v1/settings/connect-domain/refresh

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.

Response Body

OK

application/json
  1. response
hostname*ConnectDomainHostname
Match^(?=.{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
Value in"pending""active""failed"
records*array<>
ownership*
error*string|null
activatedAt*|null
createdAt*string
Formatdate-time
Example Request
curl -X POST 'https://api.workwae.com/v1/settings/connect-domain/refresh'
Example Response
{  "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"}