curl --request PATCH \
--url http:localhost:3000/v2/integrations/webhooks/{id} \
--header 'Content-Type: application/json' \
--data '{
"_id": "<string>",
"number": 123,
"companyId": "<string>",
"status": {
"status": 123,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"type": "CREATE",
"entity": "user",
"url": "<string>"
}'
{
"_id": "<string>"
}
Update an existing Webhook
curl --request PATCH \
--url http:localhost:3000/v2/integrations/webhooks/{id} \
--header 'Content-Type: application/json' \
--data '{
"_id": "<string>",
"number": 123,
"companyId": "<string>",
"status": {
"status": 123,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"type": "CREATE",
"entity": "user",
"url": "<string>"
}'
{
"_id": "<string>"
}
Webhook ID
Webhook data to update
A webhook that can be triggered on specific events. Base class for all entities in the system, providing common properties and methods.
Webhook updated successfully
The response is of type object
.
Was this page helpful?