01
Which calendars can I access?
An authenticated user receives their accessible calendars. Use the returned calendar_id values and follow pagination for longer lists.
Scopes: calendars:read
GET /api/v1/calendars?scope=accessible
REST API · OpenAPI · Bearer tokens
Your calendar. Your AI assistant. Connect your agent to the voo.sh API to read events, maintain calendars and manage registrations.
Get connected
Sign up or sign in. In management, open Settings, then API access.
Name the token after your agent. Explicitly select the required scopes and set an expiry date. Calendar queries need calendars:read and events:read; profile:read also allows reading your profile.
Copy the full token immediately after creating it. Store it in an environment variable or your agent’s credential store. You do not enter a token on this public page.
Check the connection with a read request. You can revoke the token later under API access. A revoked or expired token no longer works.
Selecting no scopes means full access.
Scopes limit the token’s actions. Your existing calendar and organization permissions still apply: a token does not make your agent a manager of someone else’s calendar.
This example needs profile:read. Set VOOSH_TOKEN to your own token in your local environment.
curl --fail-with-body 'https://voo.sh/api/v1/me' \
-H "Authorization: Bearer $VOOSH_TOKEN"
The API reference describes fields, filters, responses and required scopes. Follow pagination for lists. Date-range ends are exclusive; calculate tomorrow and next week in the documented timezone.
From prompt to API
Replace placeholders and example dates with your own values. All requests use the Bearer header from the quickstart. Set Content-Type: application/json for JSON requests; file imports use multipart/form-data.
01
An authenticated user receives their accessible calendars. Use the returned calendar_id values and follow pagination for longer lists.
Scopes: calendars:read
GET /api/v1/calendars?scope=accessible
02
Choose the timetable calendar and read its timezone from the calendar response. Calculate tomorrow and the following day in that calendar timezone and replace the example dates. from is inclusive; to is exclusive.
Scopes: calendars:read
GET /api/v1/calendars?scope=accessible
Scopes: events:read
GET /api/v1/calendars/{calendar_id}/events?from=2050-09-15&to=2050-09-16
03
You need access to the organization and its calendar. Replace org_slug with its organization slug. Calculate the requested week in the selected calendar’s timezone, not the profile timezone, and replace the date bounds. Fetch all result pages.
Scopes: calendars:read
GET /api/v1/calendars?scope=accessible&org={org_slug}
Scopes: events:read
GET /api/v1/calendars/{calendar_id}/events?from=2050-09-12&to=2050-09-19
04
You must be allowed to manage the target calendar. The agent reads the fixture list, clarifies ambiguous dates and sends one request per confirmed event. The PDF is not sent to a voo.sh parsing endpoint.
Scopes: calendars:read
GET /api/v1/calendars?scope=managed
Scopes: events:write
POST /api/v1/calendars/{calendar_id}/events
Content-Type: application/json
{
"summary": "U12 training",
"start": "2050-09-15T17:00:00+02:00",
"end": "2050-09-15T18:00:00+02:00",
"tzid": "Europe/Berlin"
}
05
You need edit permission. This example is for a standalone event outside a series. Read the event first and calculate its start and end. For series and individual occurrences, follow the separate rules and revision fields in ReDoc.
Scopes: events:read
GET /api/v1/events/{event_id}
Scopes: events:write
PATCH /api/v1/events/{event_id}
Content-Type: application/json
{
"start": "2050-09-15T18:00:00+02:00",
"end": "2050-09-15T19:00:00+02:00"
}
06
The calendar belongs to your account. PRIVATE keeps it private; no public share is created. Use the returned calendar_id for subsequent requests.
Scopes: calendars:write
POST /api/v1/calendars
Content-Type: application/json
{
"title": "Household",
"visibility": "PRIVATE",
"timezone": "Europe/Berlin"
}
07
You need management permission on the target calendar. Send a local UTF-8 file as multipart/form-data, not a URL or base64. Its name must end in .ics and its size must not exceed 5 MiB. future_only imports ongoing and future events; inspect the import response for errors.
Scopes: calendars:read
GET /api/v1/calendars?scope=managed
Scopes: calendars:write
curl --fail-with-body 'https://voo.sh/api/v1/calendars/{calendar_id}/ics-import' \
-H "Authorization: Bearer $VOOSH_TOKEN" \
--form 'ics_file=@school.ics;type=text/calendar' \
--form 'date_policy=future_only'
08
You need edit permission on a timed event with participation enabled. First create or select the event covering the requested time window. The generator uses its entire start/end interval. days_in_advance controls the lead time for automatic generation. The manual call shown here creates all slots immediately, even for a later event. duration is in minutes; C requires manager confirmation.
Scopes: events:read
GET /api/v1/events/{event_id}
Scopes: slots:write
POST /api/v1/events/{event_id}/slot-generators
Content-Type: application/json
{
"name": "Parent-teacher appointments",
"duration": 10,
"max_attendees": 1,
"days_in_advance": 30,
"confirmation_type": "C"
}
Scopes: slots:write
POST /api/v1/events/{event_id}/slot-generators/run
09
You must be allowed to manage this event’s registrations. Fetch all pages of slots and inspect each slot’s manager_registrations. Select entries with status WAITLIST and read attendee_name. Do not publish participant data.
Scopes: slots:read
GET /api/v1/events/{event_id}/slots
10
You need access to the event and permission to register yourself. Choose an available slot from the response. The returned status determines whether registration is confirmed; manager approval may be required. If the slot has filled meanwhile, show the error rather than claiming a successful reservation.
Scopes: slots:read
GET /api/v1/events/{event_id}/slots
Scopes: slots:write
POST /api/v1/slots/{slot_id}/registrations/register
Check the Bearer header and whether the token has expired or been revoked. Create a replacement token in your account if needed.
Check the scopes and your permissions on the calendar or event. An extra scope does not replace a missing object permission. Some inaccessible objects return 404 instead.
Have your agent establish the target and intended changes before writing. If a response is unclear, check the saved state first: repeated POST requests can create new objects.