Switch Inbox Insights on for the workspace's main sending domain
Switches Inbox Insights on for the workspace's main sending domain, so a workspace opening the product for the first time has something to read without having to pick a domain first.
The main sending domain is the one verified domain if there is only one, and otherwise the verified domain that has sent the most mail over the last 30 days. Where the main domain cannot be identified, nothing is switched on and the response says so. Which domain matters most is the customer's call, and not a guess worth making on their behalf.
Safe to repeat. A workspace that already has a domain switched on is left exactly as it is, and the response says nothing changed.
This chooses a starting point, not a permanent setting: the domain it picks is switched on the same way as one chosen by hand, and can be switched off or added to at any time.
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/email/inbox-insights/domain-monitoring
- Auth: one of:
- HTTP bearer
- API key in cookie bird_session
Headers
Client-supplied key. On operations supporting request deduplication, a retained response is replayed for duplicate requests with the same key within the idempotency window (3 hours by default). This protection requires a workspace, organization, or staff-account scope. User-only and unscoped unauthenticated operations, streams, and operations with a separate replay contract do not use this response replay.
On a supported operation, if idempotency protection is unavailable before execution, the API returns 503 IdempotencyUnavailable (E01033) without executing this attempt. Retry with backoff using the same key and request. An operation that takes effect before its response is retained can still execute again on retry.
Two distinct 409 errors signal misuse:
- request_in_progress (E01004): The same key is currently being processed by a concurrent request. Wait briefly and retry. The lock expires within 30 seconds.
- idempotency_key_reuse (E01005): The same key has already completed against a different request body or method. Generate a new key.
Recommended key format is <event-type>/<entity-id> (for example welcome-user/usr_abc123).
Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.
Response
What the call did: a domain switched on, nothing to change, or nothing this endpoint is willing to decide.
Example response
{
"outcome": "enabled",
"domain": "mail.acme.com"
}Changes
No recorded changes to this operation across all 3 revisions of this API.