Otp Settings Controller
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.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
PUT /api/otp/settings/sms/twilio HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 123
{
"id": "text",
"isDefault": true,
"type": "text",
"provider": "text",
"authToken": "text",
"accountSid": "text",
"twilioNumber": "text"
}No content
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.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
PUT /api/otp/settings/sms/netgsm HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 132
{
"id": "text",
"isDefault": true,
"type": "text",
"provider": "text",
"username": "text",
"bayiCode": "text",
"password": "text",
"header": "text"
}No content
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.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
PUT /api/otp/settings/sms/dataport HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 180
{
"id": "text",
"isDefault": true,
"type": "text",
"provider": "text",
"originator": "text",
"shortNumber": "text",
"operator": "text",
"username": "text",
"accountNumber": "text",
"password": "text"
}No content
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.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
PUT /api/otp/settings/mail/default HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 156
{
"id": "text",
"isDefault": true,
"type": "text",
"provider": "text",
"username": "text",
"password": "text",
"smtpHost": "text",
"transportStrategy": "SMTP",
"smtpPort": 1
}No content
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.
Required active space header
No Content
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /api/otp/settings/test HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
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.
Required active space header
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
GET /api/otp/settings HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
[
{
"creationDate": "2025-11-22T23:40:38.543Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-11-22T23:40:38.543Z",
"id": "text",
"isDefault": true,
"type": "text",
"provider": "text"
}
]Last updated