Get pairing code
get_pairing_codeIssue a pairing code + URL (TTL 10 minutes) for claiming a hatch (hatchId) or authorizing an agent session in a workspace (workspaceId). Reuses the active pending code for this connector session unless forceNew: true. Render pairingUrl as a QR for the Vibe Rooster app — do not call again until poll_pairing returns expired/completed or you intentionally rotate with forceNew.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hatchId | No | Hatch id from hatch response (consumer path). | |
| forceNew | No | When true, invalidate any outstanding QR and mint a new code. Default false — reuse the live pending code from whoami or a prior get_pairing_code. | |
| tenantId | No | Legacy alias for `hatchId`. | |
| workspaceId | No | Workspace id for B2B agent pairing (partner path). |