post https://api.copy.ai/api/webhook
This page will help you get started with Awesome New API.
To register a webhook, send a POST request to https://api.copy.ai/api/webhook with a JSON body containing your webhook URL and the event type you want to be notified about. For example:
{
"url": "<https://mywebsite.com/webhook>",
"eventType": "workflowRun.completed"
}
You will receive a response with the details of your registered webhook:
{
"status": "success",
"data": {
"id": "<id of webhook>",
"url": "<https://mywebsite.com/webhook>",
"eventType": "workflowRun.completed"
}
}