Overview
This API updates the details of an existing outgoing webhook. You change the webhook name, description, triggers and also the URL. If the URL is altered, a validation post call (Ping trigger) is sent to the new URL.
API
PATCH /api/v1/webhook/{id}
Oauth Scope
ZohoPulse.outgoingwebhook.UPDATE
Sample request
- $curl -X PATCH https://connect.zoho.com/api/v1/webhook
- -H "scopeid:5313000000002002"
- -H" Authorization:Zoho-oauthtoken 1000.3d0a155402XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
- -d '{
- "active":"true",
- "triggers":[
- {
- "type":"Task_Assigned"
- },
- {
- "type":"User_Mentioned_In_Post",
- "partitionIds":["3000000005135"]
- },
- {
- "type":"Group_Mentioned_In_Post",
- "partitionIds":["3000000005135"]
- }
- ]
- }'
Sample response
- {
- "id":"3000000126027",
- "name":"Notify in Cliq",
- "active":"true",
- "autoRetry":"true",
- "createdTime":"1635755951141",
- "createdBy":"15521849",
- "description":"Notify important Connect activities in Zoho Cliq Channel",
- "url":"https://cliq.zoho.com/api/v2/channelsbyname/zo
- hoconnect/message",
- "triggers":[
- {
- "type":"Task_Assigned"
- },
- {
- "type":"User_Mentioned_In_Post",
- "partitionIds":["3000000005135"]
- },
- {
- "type":"Group_Mentioned_In_Post"
- }
- ]
- }
If you have any queries regarding outgoing webhooks, reach out to us at support@zohoconnect.com. We're happy to help!