2026-01-15 06:12:54 +00:00
|
|
|
|
---
|
2026-01-30 03:15:10 +01:00
|
|
|
|
summary: "CLI reference for `openclaw pairing` (approve/list pairing requests)"
|
2026-01-15 06:12:54 +00:00
|
|
|
|
read_when:
|
|
|
|
|
|
- You’re using pairing-mode DMs and need to approve senders
|
2026-01-31 16:04:03 -05:00
|
|
|
|
title: "pairing"
|
2026-01-15 06:12:54 +00:00
|
|
|
|
---
|
|
|
|
|
|
|
2026-01-30 03:15:10 +01:00
|
|
|
|
# `openclaw pairing`
|
2026-01-15 06:12:54 +00:00
|
|
|
|
|
|
|
|
|
|
Approve or inspect DM pairing requests (for channels that support pairing).
|
|
|
|
|
|
|
|
|
|
|
|
Related:
|
2026-01-31 21:13:13 +09:00
|
|
|
|
|
2026-02-07 15:40:35 -05:00
|
|
|
|
- Pairing flow: [Pairing](/channels/pairing)
|
2026-01-15 06:12:54 +00:00
|
|
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-02-25 02:40:05 +00:00
|
|
|
|
openclaw pairing list telegram
|
|
|
|
|
|
openclaw pairing list --channel telegram --account work
|
|
|
|
|
|
openclaw pairing list telegram --json
|
|
|
|
|
|
|
2026-04-04 08:36:27 +01:00
|
|
|
|
openclaw pairing approve <code>
|
2026-02-25 02:40:05 +00:00
|
|
|
|
openclaw pairing approve telegram <code>
|
|
|
|
|
|
openclaw pairing approve --channel telegram --account work <code> --notify
|
2026-01-15 06:12:54 +00:00
|
|
|
|
```
|
2026-02-25 02:40:05 +00:00
|
|
|
|
|
2026-04-04 08:36:27 +01:00
|
|
|
|
## `pairing list`
|
|
|
|
|
|
|
|
|
|
|
|
List pending pairing requests for one channel.
|
|
|
|
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
|
|
|
|
- `[channel]`: positional channel id
|
|
|
|
|
|
- `--channel <channel>`: explicit channel id
|
|
|
|
|
|
- `--account <accountId>`: account id for multi-account channels
|
|
|
|
|
|
- `--json`: machine-readable output
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
|
|
|
|
|
|
|
|
|
|
|
|
- If multiple pairing-capable channels are configured, you must provide a channel either positionally or with `--channel`.
|
|
|
|
|
|
- Extension channels are allowed as long as the channel id is valid.
|
|
|
|
|
|
|
|
|
|
|
|
## `pairing approve`
|
|
|
|
|
|
|
|
|
|
|
|
Approve a pending pairing code and allow that sender.
|
|
|
|
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
|
|
|
|
- `openclaw pairing approve <channel> <code>`
|
|
|
|
|
|
- `openclaw pairing approve --channel <channel> <code>`
|
|
|
|
|
|
- `openclaw pairing approve <code>` when exactly one pairing-capable channel is configured
|
|
|
|
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
|
|
|
|
- `--channel <channel>`: explicit channel id
|
|
|
|
|
|
- `--account <accountId>`: account id for multi-account channels
|
|
|
|
|
|
- `--notify`: send a confirmation back to the requester on the same channel
|
|
|
|
|
|
|
2026-02-25 02:40:05 +00:00
|
|
|
|
## Notes
|
|
|
|
|
|
|
|
|
|
|
|
- Channel input: pass it positionally (`pairing list telegram`) or with `--channel <channel>`.
|
|
|
|
|
|
- `pairing list` supports `--account <accountId>` for multi-account channels.
|
|
|
|
|
|
- `pairing approve` supports `--account <accountId>` and `--notify`.
|
|
|
|
|
|
- If only one pairing-capable channel is configured, `pairing approve <code>` is allowed.
|