Pairing
Pairing is Fased’s explicit approval step. It is used in two different places:- DM pairing
- who is allowed to talk to the gateway through a channel
- device or node pairing
- which devices are allowed to join the gateway
DM pairing
When a channel DM policy is set topairing, unknown senders do not get full
message processing immediately. They receive a short code and stay pending until
you approve them.
Properties:
- 8 characters
- uppercase
- avoids ambiguous characters like
0,O,1, andI - expires after 1 hour
- pending requests are capped per channel
Approve a sender
In the browser UI, open Agents, select the Agent, then use Agent > Channels to review pending DM pairing requests for that channel. CLI approval is also available:telegramwhatsappsignalimessagediscordslackfeishu
Where DM pairing state lives
Under~/.fased/credentials/:
- pending requests:
<channel>-pairing.json - approved allowlist store:
- default account:
<channel>-allowFrom.json - non-default account:
<channel>-<accountId>-allowFrom.json
- default account:
Device and node pairing
Gateway-connected devices userole: node. They create pairing requests that
must be approved before they become trusted participants.
Telegram-assisted device pairing
If you use the device-pair path:- message your Telegram bot with
/pair - Fased returns an instruction message plus a setup code
- open the mobile app and paste the setup code into Gateway settings
- approve the request
url- gateway websocket URL
token- short-lived pairing token
Approve or reject a device
Where device pairing state lives
Under~/.fased/devices/:
pending.jsonpaired.json
Notes
- the legacy
node.pair.*path is separate from the current device-pair flow - websocket nodes still need explicit approval
- channel DM pairing and device pairing solve different problems; do not treat them as interchangeable