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>"
}
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>"
}
Successful Response
The response is of type object
.