Join a plan
join_planAdds the user to a saved plan under their name, or selects the existing participant with that name, and returns that person's private credentials. Use when the user wants to take part in an existing plan or act as a specific participant in it. With existing credentials it renames that same participant instead. It does not verify identity or grant organizer rights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The person's name as the group knows them (max 80 chars). | |
| plan | Yes | Saved plan link (e.g. https://lesgooo.fun/ab12/when) or its 4-character plan ID. Links without a plan ID (e.g. https://lesgooo.fun/when) are unsaved local drafts and are not accepted. | |
| selection | No | Without credentials: auto matches or adds; existing never adds; new never takes another person's matching name. Default auto. | |
| participant_id | No | From create_plan or join_plan. | |
| participant_token | No | From create_plan or join_plan. | |
| existing_participant_id | No | Exact existing participant ID from get_plan or received user UI selection; requires selection=existing and matching name. No rename. |