Artboard
Webhooks

Update Webhook

PATCH
/otto/api/webhooks/{id}

Path Parameters

id*integer

Webhook ID (retrieve from GET /webhooks)

Range0 < value <= 9007199254740991

Request Body

PATCH /otto/api/webhooks/:id Request body

application/json
  1. body
label*string

Label for the webhook

Response Body

PATCH /otto/api/webhooks/:id Positive response

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

Was this page helpful?