Set availability
set_availabilityChanges one participant's availability: all-day dates and/or exact free-time windows (ISO start and end with offset, plus the IANA time_zone). mode=add merges, remove subtracts, replace overwrites. Use when the user says which days or hours they are or are no longer free. It does not set the agreed Event date or an RSVP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | add/remove change supplied days/windows; replace is a full replacement when time_slots is supplied. Default replace (legacy all-day behavior). | |
| 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. | |
| dates | Yes | ||
| time_zone | No | The user's IANA time zone, e.g. Europe/Prague. | |
| time_slots | No | Optional exact windows. For hours-only changes pass dates=[] and mode=add/remove; replace changes the entire availability. End is exclusive. | |
| participant_id | Yes | From create_plan or join_plan. | |
| participant_token | Yes | From create_plan or join_plan. |