Skip to content
PUThttps://app.evoriqa.com/api/v1/reseller/mail-config

Save the BYO email config

Sets or replaces the org BYO email delivery config (active reseller plan required). The body is one of two shapes chosen by `mode`: a hosted **preset**, or a **custom** SMTP relay. Any save resets the config to `pending` — it only becomes active after a successful test send via `POST /reseller/mail-config/test`. Secrets are write-only: a read never echoes them, only `smtpPasswordSet`. Reseller endpoints additionally require the key to live on the organization owner own (primary) workspace — any other workspace returns 403.

Requires scope reseller:write

Warning:

Access is gated — enable it before your first call

The API is off by default. A request succeeds only when all three switches are on: the platform master switch (off by default), your organisation’s API toggle, and your plan or client entitlement. Any one off returns 403 API access is not enabled for this workspace.

Request body

Content type: application/json

Request

Response

200 OK