GET
https://app.evoriqa.com/api/v1/reseller/mail-configGet the BYO email config
Returns the bring-your-own email delivery config. The SMTP password is never echoed — only a `smtpPasswordSet` flag. No plan check on reads. Reseller endpoints additionally require the key to live on the organization owner's own (primary) workspace — any other workspace returns 403.
Requires scope reseller:read
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
curl
curl "https://app.evoriqa.com/api/v1/reseller/mail-config" \
-H "x-api-key: $EVORIQA_API_KEY"Node.js
const res = await fetch("https://app.evoriqa.com/api/v1/reseller/mail-config", {
headers: {
Authorization: `Bearer ${process.env.EVORIQA_API_KEY}`,
},
});
const responseBody = await res.json();Python
import os
import requests
res = requests.get(
"https://app.evoriqa.com/api/v1/reseller/mail-config",
headers={"Authorization": f"Bearer {os.environ['EVORIQA_API_KEY']}"},
)
body = res.json()Response
200 OK
{
"success": true,
"data": {
"mode": "custom",
"smtpHost": "smtp.acme.com",
"smtpPort": 587,
"smtpSecure": false,
"smtpUsername": "mailer@acme.com",
"smtpPasswordSet": true,
"fromAddress": "support@acme.com",
"status": "pending"
}
}