Get Settings
Retrieves the current system configuration settings including common application settings and email service configuration. This endpoint provides essential information about the platform's operational
Endpoint
GET/v2/messages/settings
Link
Request
Headers
Authorization
Bearer <JWT>
Yes
Accept
application/json
Yes
Response (200 OK)
Returns the system configuration settings organized into logical groups.
Response Fields
1. Common Settings (common)
enabled
boolean
Overall system status. true = operational, false = maintenance mode.
true
appHostname
string
Backend application hostname.
"api.paymentsystem.com"
frontHostname
string
Frontend application hostname.
"app.paymentsystem.com"
frontName
string
Frontend display name.
"Payment Portal"
companyName
string
Company legal name.
"Acme Payments Inc."
companyPhone
string
Company support phone number.
"+1-800-123-4567"
2. Email Settings (email)
enabled
boolean
Email service status. true = active, false = disabled.
true
emailPassword
string
SMTP account password (may be masked).
"********"
smtpHost
string
SMTP server hostname.
"smtp.gmail.com"
smtpPort
integer
SMTP server port.
587
Example Response:
json
Examples
Request
bash
Response in Maintenance Mode
json
Error Responses
Unauthorized:
json
Notes
Maintenance Mode: When
common.enabledisfalse, the system may be in maintenance mode with limited functionality.Email Service: If
email.enabledisfalse, email notifications will not be sent.Security: Passwords are typically masked or returned only in encrypted form.
Hostnames: Used for generating links in emails and notifications.
Common Use Cases:
Displaying company information in UI
Configuring email client connections
Checking system status before operations
Building dynamic URLs for notifications
Real request example
Real response example
Last updated

