Swap cards with a booth
booth_connectSwaps business cards between the person and a booth at their event, the same exchange as scanning the booth's code in the app; the swap unlocks the booth's raffle, swag and side event invite. Pass eventId and the boothId from an events_booths row. Needs a personal connector token and a seat at the event. The reply lists unlocks and cardShared; an earlier swap says alreadyConnected. Two steps: without confirm it returns a confirmToken and shares nothing; with confirm true and that token it shares. booth_enter_raffle, booth_claim_swag and booth_take_invite take the unlocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boothId | Yes | The booth id from an events_booths row, as that row gives it. | |
| confirm | No | Absent on the first call, which shares nothing. true, together with confirmToken, swaps the cards. | |
| eventId | Yes | The event id or public slug the booth is at. | |
| confirmToken | No | The token the first call returned. Needed when confirm is true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| edit | No | ||
| booth | No | ||
| error | No | ||
| message | No | ||
| preview | No | ||
| unlocks | No | ||
| servedBy | No | ||
| connected | No | ||
| cardShared | No | ||
| confirmToken | No | ||
| alreadyConnected | No | ||
| expiresInSeconds | No |