Artboard
Webhooks

Register Webhook

POST
/otto/api/webhooks

Request Body

POST /otto/api/webhooks Request body

application/json
  1. body
channel*string

Webhook Channel

filename*string

Filename

label*string

Label for the webhook

useFileReceiver?boolean

Use FileReceiver

Defaultfalse

Response Body

POST /otto/api/webhooks Positive response

application/json
  1. response
messages*array<>
response*
Example Request
curl -X POST 'https://your.server.net/otto/api/webhooks' \  -H 'Content-Type: application/json' \  -d '{  "channel": "string",  "filename": "string",  "label": "string"}'
Example Response
{  "messages": [    {      "code": 0,      "text": "ok"    }  ],  "response": {}}

Was this page helpful?