Regenerating webhook URL
Retrieve details of workflows that are webhook-enabled.
Procedure
-
In a REST client platform, add the authentication details of the tenant to regenerate the
webhook URL.
//In case of Instance API key Headers: { "x-instance-api-key": "instance_api_key" } // In case of MCSP or ISV token Headers: { "Authorization": "mcsp_or_isv_token" } - Make a PUT request at the URL of the project. URL Syntax:
<domain>/apis/v1/rest/projects/:project/webhook-flows/:workflow_uid/resetIn the URL request, /:project is the name of the project that is associated with the workflow the webhook URL you want to reset. /:workflow_uid is the ID of the workflow, the webhook URL you want to reset.
Method: PUT
If the request is successful, you receive the response code for success.{ output: { "uid": "<workflow_uid>", "name": "<workflow_name>", "tenant_uid": "<tenant_uid>", "project_uid": "<project_uid>", "sid": <workflow_sid>, "webhook_url": <webhook_url> } }