Artboard
Webhooks

Register Webhook

POST
/otto/api/webhooks

Request Body

application/json

POST /otto/api/webhooks Request body

channel*string

Webhook Channel

filename*string

Filename

useFileReceiver?boolean

Use FileReceiver

label*string

Label for the webhook

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/webhooks" \  -H "Content-Type: application/json" \  -d '{    "channel": "string",    "filename": "string",    "label": "string"  }'
{
  "response": {},
  "messages": [
    {
      "code": 0,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}