PUT
/
webhook
/
{webhookId}
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"
}

Authorizations

x-api-key
string
header
required

API key to access the API

Path Parameters

webhookId
string
required

ID of the webhook to update

Body

application/json

Request body to update a webhook

The body is of type object.

Response

200
application/json

Successful response

The response is of type object.