Loading...

GET /api/settings

Before changing how a company is identified in Plaspy or how it sends email, an administrator can check the current account settings. For example, they can look up the outgoing sender address and see whether a password is already set for the email service.

The response includes the global message, branding options and messaging settings. Protected credentials are represented by indicators, and advancedAvailable shows whether the account can change advanced options. Use these details to decide which fields to update.

Request Details

HTTP method GET
Path /api/settings

Request Parameters

Send this request without parameters or a body.

Authentication Required

You need access to the settings page and must be an administrator of an account that is not licensed by another account.

Send a valid bearer token in the Authorization header. See Authentication.

Example Request

GET /api/settings HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

The Presence column describes an HTTP 200 response. Conditional fields are omitted when they have no value.

Fields appear at the top level of the object. For example, companyName, primaryColor, globalMessage, logoutPage, and domain are strings when configured. login, smtp, maps, push, whatsApp, and telegram group settings by service. Protected credentials are represented by flags such as smtp.passwordSet or telegram.tokenSet. advancedAvailable indicates whether the account’s licence capacity covers at least 100 devices and allows advanced settings to be changed. logoutPage, globalMessage, and smtp can also be changed below that threshold.

FieldTypePresenceDescription
companyNameStringConditionalStringConditionalCompany name.
primaryColorStringConditionalStringConditionalPrimary colour, for example #206080.
logoutPageStringConditionalStringConditionalHTTP or HTTPS address opened after sign-out.
globalMessageStringConditionalStringConditionalMessage displayed to subusers at the top of the application.
contactEmail
contactInfoStringConditional
StringConditionalContact email and contact information shown to users.
smartsuppKey
tawkKeyStringConditional
StringConditionalIdentifiers for the chat integrations.
googleAnalytics
googleTagManagerStringConditional
StringConditionalIdentifiers for Google Analytics and Google Tag Manager.
domainStringConditionalStringConditionalDomain configured for the account.
https
defaultStyles
darkModeBooleanAlways
BooleanAlwaysSettings for HTTPS, default styles and dark mode, respectively.
stylesheetDesktop
stylesheetMobileStringConditional
StringConditionalCustom styles for desktop and mobile.
loginHtmlStringConditionalStringConditionalSign-in HTML. {{LoginBox}} represents the sign-in form.
loginObjectAlwaysObjectAlwaysSign-in page text, background colour and store links.
smtpObjectAlwaysObjectAlwaysServer, sender and options for outgoing mail.
mapsObjectAlwaysObjectAlwaysMap provider settings.
pushObjectAlwaysObjectAlwaysPush notification settings.
whatsAppObjectAlwaysObjectAlwaysWhatsApp integration settings.
logo
iconStringConditional
StringConditionalAccount logo and icon, when configured.
telegramObjectAlwaysObjectAlwaysBot name and tokenSet indicator. Manage Telegram from the web.
advancedAvailableBooleanAlwaysBooleanAlwaysIndicates whether licence capacity reaches 100 devices and advanced settings can be changed.
successBooleanAlwaysBooleanAlwaysSet to true on success.
apiUsageIntegerAlwaysIntegerAlwaysUsage units for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysAccount usage for the day before this request is added.

Fields in login

FieldTypePresenceDescription
title
alertMessageStringConditional
StringConditionalTitle and alert on the sign-in page.
backgroundColorStringConditionalStringConditionalBackground colour.
upperMessage
lowerMessageStringConditional
StringConditionalUpper and lower messages.
playStoreLink
appStoreLinkStringConditional
StringConditionalApp store links.

Fields in smtp

FieldTypePresenceDescription
serverStringConditionalStringConditionalOutgoing mail server.
portIntegerConditionalIntegerConditionalServer port. When configuring the server, use a port other than 25.
tlsBooleanAlwaysBooleanAlwaysEnables STARTTLS.
userStringConditionalStringConditionalMail server user name.
fromStringConditionalStringConditionalValid sender email address.
maxDeviceNotificationsIntegerConditionalIntegerConditionalPer-device notification limit for the configured mail service.
passwordSetBooleanAlwaysBooleanAlwaysWhether a password is configured.

Fields in maps

FieldTypePresenceDescription
hereIdStringConditionalStringConditionalHERE ID.
yandexBooleanAlwaysBooleanAlwaysEnables Yandex maps.
googleKeySet
bingKeySet
hereKeySet
mapboxKeySet
appleTokenSetBooleanAlways
BooleanAlwaysEach flag indicates whether credentials for that provider are configured.

Fields in push

FieldTypePresenceDescription
firebaseKeySetBooleanAlwaysBooleanAlwaysWhether the Firebase key is configured.

Fields in whatsApp

FieldTypePresenceDescription
appId
accountId
phoneNumberIdStringConditional
StringConditionalApp, account and phone number IDs for WhatsApp Business.
templateNameStringConditionalStringConditionalWhatsApp template name.
tokenSet
appSecretSetBooleanAlways
BooleanAlwaysWhether the token and app secret are configured.

Fields in telegram

FieldTypePresenceDescription
botNameStringConditionalStringConditionalBot name.
tokenSetBooleanAlwaysBooleanAlwaysWhether the token is configured.

Example Successful Response

HTTP 200.

{ "success": true, "apiUsage": 1, "apiDailyUsage": 24, "https": false, "defaultStyles": false, "darkMode": true, "login": {}, "smtp": { "tls": false, "passwordSet": false }, "maps": { "googleKeySet": false, "bingKeySet": false, "hereKeySet": false, "mapboxKeySet": false, "appleTokenSet": false, "yandex": false }, "push": { "firebaseKeySet": false }, "whatsApp": { "tokenSet": false, "appSecretSet": false }, "telegram": { "tokenSet": false }, "advancedAvailable": false }

Errors

HTTP statusWhen it occurs
400If the request quota has been reached, error contains the reason.
401A valid bearer token is missing.
403If the user is not an administrator, lacks settings access, or the account is licensed by another account.
500An unexpected error occurred while processing the request.

In an error response that includes success, its value is false and error contains the message.

Example Error Response

{ "success": false, "error": "Your user does not have permission to do this." }
Index
Questions?

We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.

We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).

Last modification: 2026-11-30 11:53:44