rerun_webhook
imerit_ango.sdk.SDK.
rerun_webhook(project_id, webhook_stage_id)
Re-run a webhook stage.
Parameters
project_id: string
The unique identifier for the project. You can find the project ID in the user interface or retrieve it using the
list_projects
function.
webhook_stage_id: string
The unique identifier for the webhook stage to re-run.
Returns:
output: dict
A dictionary containing the result of the operation.
Example:
import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK
load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
project_id = os.getenv('PROJECT_ID')
stage_id = "YOUR_WEBHOOK_STAGE_ID"
ango_sdk = SDK(api_key)
sdk_response = ango_sdk.rerun_webhook(project_id=project_id, webhook_stage_id=stage_id)
Last updated