curl --request PATCH \
--url https://staging.cutmake.ai/api/v1/webhooks/{webhook_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"secret": "<string>",
"is_active": true
}
'{
"id": "<string>",
"org_id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": "<string>"
}curl --request PATCH \
--url https://staging.cutmake.ai/api/v1/webhooks/{webhook_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"secret": "<string>",
"is_active": true
}
'{
"id": "<string>",
"org_id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": "<string>"
}The access token received from the authorization server in the OAuth 2.0 flow.