curl --request PATCH \
--url https://api.other.page/v1/webhooks/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"events": [
"account.created"
],
"callbackUrl": "<string>"
}'
{
"events": [
"account.created"
],
"callbackUrl": "<string>",
"id": "<string>",
"signingKey": "<string>"
}
Update an existing webhook.
curl --request PATCH \
--url https://api.other.page/v1/webhooks/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"events": [
"account.created"
],
"callbackUrl": "<string>"
}'
{
"events": [
"account.created"
],
"callbackUrl": "<string>",
"id": "<string>",
"signingKey": "<string>"
}
The response is of type object
.