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

Authorizations

Api-Key
string
header
required

Body

application/json
url
string
required
Maximum length: 2048

Response

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