Mail API reference

Mail API · Outbound-Messages

get/v1/workspaces/{workspace_id}/messages/settingsAuth

Read this workspace's outbound-message settings. Absent → defaults (redact_bodies: false).

Path parameters

workspace_id*string · uuid

Id of the workspace.

Response · 200

workspace_id*string · uuid

The workspace the settings belong to.

redact_bodies*boolean

When true, message bodies are not stored: `messages.body` returns nothing for new sends.

Example

Request

GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/messages/settings
Authorization: Bearer YOUR_TOKEN

Response

{
  "workspace_id": "00000000-0000-0000-0000-000000000000",
  "redact_bodies": false
}