cURL
curl --request PUT \ --url https://public.api.micro1.ai/webhook/{webhookId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "url": "https://micro1.ai/webhook", "description": "Webhook for interview reports", "event": "interview_report.created" }'
{ "status": "true", "message": "Webhook updated successfully" }
This endpoint updates a webhook by ID.
API key to access the API
ID of the webhook to update
Request body to update a webhook
The body is of type object.
object
Successful response
The response is of type object.