Relationship Intelligence

Save mailbox policy

Save mailbox policy sends the sharing choices already on screen and leaves out the policy id, the mailbox account, and the current version. The stored policy keeps those choices and advances the version.

put/v1/revenue-workspaces/current/communication-policy/{sourceAccountId}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/revenue-workspaces/current/communication-policy/{sourceAccountId}
  • Auth: HTTP bearer

Path parameters

sourceAccountIdstring required

Mailbox account email.

Example:you@company.com

Request body

metadataVisibility'private' | 'workspace' required

Who can see mailbox metadata.

modelContactExtractionboolean required

Extract contacts from mail.

retentionDaysinteger required

Days mailbox content is kept.

shareAttachmentsboolean required

Share attachments by default.

shareBodyboolean required

Share bodies by default.

shareSubjectboolean required

Share subject lines by default.

signatureEnrichmentboolean required

Read email signatures.

Example request

{
  "metadataVisibility": "workspace",
  "modelContactExtraction": true,
  "retentionDays": 540,
  "shareSubject": true,
  "signatureEnrichment": true
}

Response

Saved mailbox policy.

idstring uuid required

Policy id.

metadataVisibility'private' | 'workspace' required

Who can see mailbox metadata.

modelContactExtractionboolean required

Extract contacts from mail.

retentionDaysinteger required

Days mailbox content is kept.

shareAttachmentsboolean required

Share attachments by default.

shareBodyboolean required

Share bodies by default.

shareSubjectboolean required

Share subject lines by default.

signatureEnrichmentboolean required

Read email signatures.

sourceAccountIdstring required

Mailbox account email.

versioninteger required

Policy version.

Example response

{
  "id": "db8dfa9b-a7b2-46ea-982c-622a914c00e5",
  "metadataVisibility": "workspace",
  "modelContactExtraction": true,
  "retentionDays": 540,
  "shareSubject": true,
  "signatureEnrichment": true,
  "sourceAccountId": "you@company.com",
  "version": 2
}

Changes

No operation changes recorded.