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
Formaturl
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": "string"  }'
{
  "response": {
    "offsiteNotificationSettings": {
      "type": "slack",
      "channelUrl": "string",
      "label": "string",
      "sendSuccessNotifications": true
    }
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}