---
title: "Update API Webhook configuration"
method: PUT
path: "/v2/webhook"
tags: ["webhooks"]
---

# Update API Webhook configuration

`PUT /v2/webhook`

Creates or updates Webhook configuration for current application/client

## Request body

- object
  - `url` string — Callback (WebHook) URL for activity notifications
  - `activities` object — Activity filter
  - `expand` string[] — Which references to expand in payloads
  - `headers` object[] — Custom HTTP Headers (i.e. Authorization)
    - `name` string — Header name
    - `value` string — Header value
  - `organizationIds` integer[] — List of organization id to be filtered

## Response `204`

No Content

## Other responses

- `403` — Only system administrators can configure webhooks

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
