# neodesk integrations

Source: https://docs.neode.sk/command-line/reference/integrations/
Last updated: 2026-12-03

> 15 commands. Webhooks and notification channels: where events go, the delivery log.

Webhooks and notification channels: where events go, the delivery log.

`neodesk integrations --help` lists the same commands in the terminal. The flags every command takes are in the [command reference](https://docs.neode.sk/command-line/reference.md#flags-for-every-command).

## neodesk integrations channels

List the notification channels by name, for picking them in an alert rule or a workflow step.

```text quoted
neodesk integrations channels [flags]
```

Needs server.config or org.manage_devices; only reads. Calls `GET /api/integrations/channels`.

## neodesk integrations create

Add a webhook or notification channel. A webhook without a secret gets one, shown only in this answer.

Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing. Fields: kind, name, url, events (list), scope_type (organization or device_group), scope_id, headers (object), secret, settings (object), secrets (object), enabled. Notification channels have a kind of their own and no url: slack, teams and discord take secrets.webhook_url; ntfy takes settings.topic and optionally settings.server (https://ntfy.sh without), settings.priority (1 to 5) and secrets.token; gotify takes settings.server, secrets.token and optionally settings.priority (0 to 10); pushover takes secrets.user_key, secrets.app_token and optionally settings.priority (-2 to 1). Every channel can set settings.language (a console language) and settings.time_zone (such as Europe/Berlin) for its messages.

```text quoted
neodesk integrations create [flags]
```

Needs server.config; changes something: needs a token with read and write access. Calls `POST /api/integrations/targets`.

```bash quoted
neodesk integrations create -f kind=webhook -f name=Ops -f url=https://hooks.example.com/neodesk -F 'events=["alert.raised","device.offline"]'
neodesk integrations create -f kind=slack -f name=Ops -F 'events=["alert.raised","help_request.opened"]' -F 'secrets={"webhook_url":"https://hooks.slack.com/services/T000/B000/XXXX"}'
neodesk integrations create -f kind=teams -f name=Helpdesk -F 'events=["help_request.opened","chat.waiting"]' -F 'secrets={"webhook_url":"<webhook URL of the workflow>"}' -F 'settings={"language":"de","time_zone":"Europe/Berlin"}'
neodesk integrations create -f kind=discord -f name=Alerts -F 'events=["alert.raised"]' -F 'secrets={"webhook_url":"https://discord.com/api/webhooks/<id>/<token>"}'
neodesk integrations create -f kind=ntfy -f name=Phone -F 'events=["alert.raised"]' -F 'settings={"topic":"neodesk-alerts","priority":4}'
neodesk integrations create -f kind=gotify -f name=Gotify -F 'events=["alert.raised"]' -F 'settings={"server":"https://gotify.example.com"}' -F 'secrets={"token":"<application token>"}'
neodesk integrations create -f kind=pushover -f name=On-call -F 'events=["alert.raised"]' -F 'secrets={"user_key":"<user or group key>","app_token":"<API token>"}'
neodesk integrations create -f kind=syslog -f name=SIEM -f url=tls://siem.example.com:6514 -F 'events=["audit.entry","signin.succeeded","signin.failed","signin.locked_out"]' -F 'settings={"format":"cef"}'
```

## neodesk integrations delete

Delete a webhook or channel. Deliveries still waiting for it are cancelled.

```text quoted
neodesk integrations delete <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The integration's ID (see integrations list) |

Needs server.config; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls `DELETE /api/integrations/targets/{id}`.

## neodesk integrations deliveries

List the newest deliveries of a webhook or channel: status, attempts, answer.

```text quoted
neodesk integrations deliveries <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The integration's ID (see integrations list) |

| Flag | What it is |
|---|---|
| `--limit N` | how many, at most 200 (default 50) |

Needs server.config; only reads. Calls `GET /api/integrations/targets/{id}/deliveries`.

## neodesk integrations delivery

Show one delivery with the event it carried.

```text quoted
neodesk integrations delivery <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The delivery's ID (see integrations deliveries) |

Needs server.config; only reads. Calls `GET /api/integrations/deliveries/{id}`.

## neodesk integrations events

List the events webhooks and channels can subscribe to.

```text quoted
neodesk integrations events [flags]
```

Needs server.config; only reads. Calls `GET /api/integrations/events`.

## neodesk integrations list

List the webhooks and notification channels, with secrets masked.

```text quoted
neodesk integrations list [flags]
```

| Flag | What it is |
|---|---|
| `--kind KIND` | only this kind, or several separated by commas (webhook, slack, ...) |

Needs server.config; only reads. Calls `GET /api/integrations/targets`.

## neodesk integrations redeliver

Send a delivery again.

```text quoted
neodesk integrations redeliver <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The delivery's ID (see integrations deliveries) |

Needs server.config; changes something: needs a token with read and write access. Calls `POST /api/integrations/deliveries/{id}/redeliver`.

## neodesk integrations rotate-secret

Give a webhook a new signing secret. The answer is the only time it is shown.

```text quoted
neodesk integrations rotate-secret <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The integration's ID (see integrations list) |

Needs server.config; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls `POST /api/integrations/targets/{id}/secret`.

## neodesk integrations rule-channels

List the notification channels of every alert rule that has some.

```text quoted
neodesk integrations rule-channels [flags]
```

Needs server.config; only reads. Calls `GET /api/integrations/rule-channels`.

## neodesk integrations rule-channels-get

Show the notification channels an alert rule's alerts go to.

```text quoted
neodesk integrations rule-channels-get <ruleId> [flags]
```

| Argument | What it is |
|---|---|
| `<ruleId>` | The alert rule's ID (see automation rules) |

Needs server.config; only reads. Calls `GET /api/integrations/rule-channels/{ruleId}`.

## neodesk integrations rule-channels-set

Set the notification channels an alert rule's alerts go to. An empty list removes them.

Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing. The channels' IDs come from integrations channels. An alert of the rule goes to these channels and to every channel that subscribes to alert.raised, once each. Mail addresses are the rule's own field: automation rule-update &lt;id> -f notify_emails=ops@example.com,oncall@example.com.

```text quoted
neodesk integrations rule-channels-set <ruleId> [flags]
```

| Argument | What it is |
|---|---|
| `<ruleId>` | The alert rule's ID (see automation rules) |

Needs server.config; changes something: needs a token with read and write access. Calls `PUT /api/integrations/rule-channels/{ruleId}`.

```text quoted
neodesk integrations rule-channels-set 4 -F 'channels=["<channel id>","<channel id>"]'
```

## neodesk integrations show

Show one webhook or channel, with secrets masked.

```text quoted
neodesk integrations show <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The integration's ID (see integrations list) |

Needs server.config; only reads. Calls `GET /api/integrations/targets/{id}`.

## neodesk integrations test

Send a test event to a webhook or channel now and show the answer.

```text quoted
neodesk integrations test <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The integration's ID (see integrations list) |

Needs server.config; changes something: needs a token with read and write access. Calls `POST /api/integrations/targets/{id}/test`.

## neodesk integrations update

Change a webhook or channel. Give the fields to change; a secret sent as ******** stays as it is.

Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.

```text quoted
neodesk integrations update <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The integration's ID (see integrations list) |

Needs server.config; changes something: needs a token with read and write access. Calls `PATCH /api/integrations/targets/{id}`.

```text quoted
neodesk integrations update <id> -F enabled=false
```
