Last updated: September 23, 2026

Save SMTP preferences

Save SMTP preferences.

Request

POSThttps://superadminuser.miniorange.in/services/api/delivery/v1/admin/configure/smtp

Authentication headers (required on every request)

Customer-Key
Super Admin ID for the actor account.
Timestamp
Milliseconds since epoch (e.g. Date.now()).
Authorization
SHA-512 of superAdminId + timestamp + apiKey.
X-Target-Customer-Id
Customer tenant the Super Admin is acting on.

Parameters

NameTypeRequiredDescription
useDefaultStringOptional
senderEmailStringOptional
senderNameStringOptional
primaryStringOptional
secondaryStringOptional

Request body

{
    "useDefault": false,
    "senderEmail": "noreply@example.com",
    "senderName": "Example Org",
    "primary": {
        "hostName": "smtp.example.com",
        "portNo": 587,
        "username": "smtp-user",
        "password": "<smtp-password>",
        "encryptionType": "TLS",
        "authorizationType": "basicOAuth"
    },
    "secondary": {
        "hostName": "smtp-fallback.example.com",
        "portNo": 25,
        "username": "smtp-fallback-user",
        "password": "<fallback-password>",
        "encryptionType": "SSL",
        "authorizationType": "basicOAuth"
    }
}

No sample response is documented for this endpoint yet. Use Try it on the right to see the live response from your tenant.

Copied