PUT
/
v1
/
webhooks
/
{webhook_id}
curl --request PUT \
  --url https://api.supernotes.app/v1/webhooks/{webhook_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "enabled": true
}'
{
  "id": 123,
  "url": "<string>",
  "enabled": true,
  "last_response_code": 123,
  "last_response_body": "<any>"
}

Authorizations

Api-Key
string
headerrequired

Path Parameters

webhook_id
integer
required

Body

application/json
url
string
enabled
boolean

Response

200 - application/json
id
integer
required
url
string
required
enabled
boolean
required
last_response_code
integer | null
last_response_body
any