Artboard
OttoFMS Settings

Update Offsite Notification Settings

POST
/otto/api/settings/offsite/notifications

Request Body

application/json

POST /otto/api/settings/offsite/notifications Request body

sendSuccessNotifications?boolean
Defaulttrue
type*string
channelUrl*string
Formaturi
label?string

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/settings/offsite/notifications" \  -H "Content-Type: application/json" \  -d '{    "type": "slack",    "channelUrl": "http://example.com"  }'
{
  "response": {},
  "messages": [
    {
      "code": 0,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}