Mail Settings Controller

get
Authorizations
ins_access_tokenstringRequired

Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.

X-SpacestringRequired

Required active space header

Responses
200

OK

*/*
get
/api/mail/settings
GET /api/mail/settings HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
  "creationDate": "2025-11-22T23:40:12.153Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-11-22T23:40:12.153Z",
  "id": "text",
  "username": "text",
  "smtpHost": "text",
  "smtpPort": 1,
  "password": "text",
  "transportStrategy": "SMTP",
  "fromAddress": "text"
}
put
Authorizations
ins_access_tokenstringRequired

Access token provided as a cookie named 'ins_access_token'. This token is obtained after successful login and is valid for x minutes. It can be refreshed using the ins_refresh_token cookie at the /refresh endpoint.

X-SpacestringRequired

Required active space header

Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
usernamestring · max: 50Required
smtpHoststring · max: 50Required
smtpPortinteger · int32Required
passwordstring · max: 60Required
transportStrategystring · enumRequiredPossible values:
fromAddressstring · max: 255Required
Responses
put
/api/mail/settings
PUT /api/mail/settings HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 128

{
  "id": "text",
  "username": "text",
  "smtpHost": "text",
  "smtpPort": 1,
  "password": "text",
  "transportStrategy": "SMTP",
  "fromAddress": "text"
}

No content

Last updated