Authorization: Bearer ********************
x-api-key: ********************
curl --location --request PUT '/v2/webhooks/hooks/' \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"target_url": "string",
"events": [
"string"
],
"secret": "string",
"active": true,
"include_customers_events": false
}'
{
"errors": [
{
"message": "string",
"type": "string",
"timestamp": "string"
}
]
}