PUT
/
webhooks
/
{webhookId}
curl --request PUT \
  --url https://api.kakiyo.com/v1/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Updated CRM Integration",
  "url": "https://your-app.com/kakiyo/webhook/v2",
  "secret": "your_new_webhook_secret",
  "events": [
    "linkedin.message.received",
    "prospect.qualification.manual",
    "linkedin.message.sent"
  ],
  "active": true
}'
{
  "id": "webhook_12345abcde",
  "message": "Webhook updated successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhookId
string
required

ID of the webhook to update

Body

application/json

Webhook properties to update

The body is of type object.

Response

200
application/json

Webhook updated successfully

The response is of type object.