Skip to main content
Version: 1.0.1

Get SMTP Setting


Get the partner's shared SMTP setting, used to send mail for every linked company.

Endpoint​

PropertyValue
URLGET /white-label-partner/smtp-setting
MethodGET
AuthR-Auth: <partner-jwt>
Base URLStage Environment https://api-stage.docnova.ai/
Production Environment https://api.docnova.ai/

Example Request​

curl --location '{{baseUrl}}/white-label-partner/smtp-setting' \
--header 'accept: */*' \
--header 'R-Auth: {{partnerJwt}}'

Request fields​

This endpoint takes no parameters or request body.

Response​

{
"createdAt": "2026-01-15T12:00:00.000Z",
"fromEmail": "noreply@example.com",
"host": "smtp.example.com",
"id": "f5e6d7c8-1234-5678-9abc-def012345678",
"passwordMasked": "********",
"port": 587,
"securityProtocol": "TLS",
"username": "{{username}}"
}

Response fields​

FieldTypeDescription
idstring (UUID)Unique identifier of the SMTP setting
fromEmailstringSender address shown on outgoing emails
hoststringSMTP server host
portnumberSMTP server port
usernamestringSMTP authentication username
passwordMaskedstringMasked SMTP password; the actual password is never returned
securityProtocolstring (enum)Connection security protocol. See the reference table below.
createdAtstring (ISO 8601)Time the SMTP setting was created

Security protocol values​

ValueDescription
NONEUnencrypted connection
SSLSSL/TLS encrypted connection (typically port 465)
TLSConnection upgraded to TLS via STARTTLS (typically port 587)

Response Codes​

CodeDescription
200OK — Returns the partner's SMTP setting (see Response above for an example)
401Unauthorized — R-Auth header missing or invalid
403Forbidden — Partner is not authorized for this operation
404Not Found