API reference

Every endpoint of the Pyas API v2, generated from its OpenAPI document. Send requests to https://api.pyas.io with your API key in the x-api-key header.

Accounts

List connected calendar accounts and manage their status, settings and imports, including virtual accounts.

Connect

Connect and reconnect calendar accounts with connect sessions, including the steps that run in the user's browser.

Calendars

Manage calendars, calendar sharing, categories, feeds and calendar groups.

Events

Manage events across Google Calendar, Microsoft Outlook and virtual calendars, including metadata, attachments and conferencing.

Availability

Check free/busy information, find meeting times and find rooms.

Meetings

Meetings on their own, with no calendar event: Zoom meetings (list, get, create, change, delete), Microsoft Teams meetings (get, create, change, delete) and Google Meet links (get, create, change settings). To add a meeting to an event, use conferencing on the event.

Invitations

Invitations sent for virtual calendars.

Webhooks

Receive events at your own endpoints through signed, retried and recorded deliveries. Includes replays, test deliveries and a relay for sandbox events.

Metadata

Import the extended properties stored at the provider into Pyas metadata.

Keys

List API keys, and rotate a key with a grace period during which both the old and new keys work.

Sandbox

The sandbox environment that test keys work in.

Usage

Retrieve API usage by day.

Logs

Look up any v2 request by its trace ID to see what was requested, what the API responded and why, and what happened while the request was processed.