Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration. With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.
VariableRequiredDescription
CALENDLY_CLIENT_IDYesCalendly OAuth Client ID Docs.
CALENDLY_CLIENT_SECRETYesCalendly OAuth Client Secret Docs.

Setup

  1. Create a Calendly developer account: Go to https://developer.calendly.com, sign in with your Calendly account, and create a developer account if you don’t have one.
  2. Create an OAuth app: Create a new OAuth application, choose the environment (sandbox or production), and set the redirect URI to your callback (e.g. https://your-app.example.com/api/auth/calendly/callback).
  3. Set environment variables: Copy the Client ID and Client Secret into your .env as CALENDLY_CLIENT_ID and CALENDLY_CLIENT_SECRET.
  4. Verify access: Connect your Calendly account and run the Get Current User tool - note the returned user and organization URIs, which the list tools take as parameters.
  • Calendly OAuth does not use granular scopes - an access token can access everything the user can
  • A free Calendly account works for testing; event cancellation requires the connected user to own the event
Provider API reference: https://developer.calendly.com/api-docs

Tools

ToolAccessDescription
Get Current UserReadGet the connected Calendly user, including their user URI and organization URI (needed by the other tools)
List Event TypesReadList the user’s or organization’s event types (scheduling links)
List Scheduled EventsReadList scheduled events for a user or organization
Get Scheduled EventReadGet details of a specific scheduled event
List Event InviteesReadList invitees of a scheduled event
Cancel EventWriteCancel a scheduled event

Example prompts

  • List my upcoming Calendly events with their times and invitees.
  • Show my active Calendly event types and their scheduling URLs.