Updating a Webhook

 

To update an existing webhook:

  • Endpoint: PATCH /api/v1/integrations/webhook/{hook_id}/

  • Headers:

    • Authorization: Bearer <Base64Encoded(Client ID:Client Secret)>
    • Content-Type: application/json
  • Payload:

    {
    "active": true,
    "callback_url": "<https://yourapp.com/new-webhook-endpoint>",
    "custom_headers": {
    "X-Custom-Header": "value"
    }
    }

This allows you to modify the webhook's status, callback URL, and add custom headers.Docs

 

If you have any more questions or need assistance, feel free to reach out to us at Hello@frejun.com. We’re here to help!