curl --request PATCH \
--url https://api.chift.eu/webhooks/{webhookid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": "active",
"url": "<string>",
"signingsecret": "<string>"
}'
{
"webhookid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdby": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdon": "2023-11-07T05:31:56Z",
"event": "<string>",
"url": "<string>",
"status": "active",
"integrationid": 123
}
Update one webhook in Chift
curl --request PATCH \
--url https://api.chift.eu/webhooks/{webhookid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": "active",
"url": "<string>",
"signingsecret": "<string>"
}'
{
"webhookid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdby": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdon": "2023-11-07T05:31:56Z",
"event": "<string>",
"url": "<string>",
"status": "active",
"integrationid": 123
}
This access token needs to be included in each of your request to the Chift API.
Successful Response
The response is of type object
.