curl --request POST \
--url https://api.other.page/v1/webhooks \
--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>"
}
Create a new webhook to receive event updates.
curl --request POST \
--url https://api.other.page/v1/webhooks \
--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
.