v1

latestOpenAPI 3.1.02026-07-14159142161.9 KB
incoming webhooks (usersService)

Update Incoming Webhook

Updates an existing incoming webhook. Available only for admin users.

patch/company/v1/incoming_webhooks/{incomingWebhookId}

Path parameters

incomingWebhookIdinteger required

Incoming Webhook id

Request body

namestring
activeboolean

Example request

{
  "name": "CRM + Tasks",
  "active": true,
  "permissions": [
    {
      "service": "crm"
    },
    {
      "service": "tasks"
    }
  ]
}

Response

OK

idinteger
namestring
activeboolean
user_idinteger
created_atinteger
updated_atinteger
webhook_urlstring uri

Example response

{
  "id": 14,
  "name": "CRM + Tasks",
  "active": true,
  "user_id": 1,
  "created_at": 1732739313,
  "updated_at": 1732739313,
  "permissions": [
    {
      "service": "crm"
    },
    {
      "service": "tasks"
    }
  ],
  "webhook_url": "https://domain.uspacy.ua/company/v1/incoming_webhooks/run/biUPE8eDUqfZoguv03AqISYEWkSd6BZD"
}