Calendly provides a REST-based API (API v2) that utilizes JSON for request and response bodies, and adheres to standard HTTP methods, authentication, and response codes.
Yes, the official Calendly API supports webhooks. Webhooks allow you to receive data from scheduled events in real time, enabling automated processes based on event occurrences such as new bookings or cancellations.
invitee.created
: Subscribes you to data about scheduled events by invitees.
invitee.canceled
: Subscribes you to data about canceled events by invitees.
routing_form_submission.created
: Subscribes you to data about routing form submissions.
To create a webhook subscription, make a POST request to the /webhook_subscriptions
endpoint. Here's an example using curl
:
curl --request POST --url https://api.calendly.com/webhook_subscriptions \ --header 'Content-Type: application/json' \ --header 'authorization: Bearer <your personal access token>' \ --data '{ "url":"http://yourserverendpoint.com", "events":["invitee.created", "invitee.canceled"], "organization":"https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA", "scope":"organization" }'
Replace <your personal access token>
with your actual personal access token and set "url"
to your server endpoint for receiving webhook payloads.
user
or organization
.The provided sources do not explicitly state the API rate limits for Calendly's API v2, Embed API, or Webhook API. However, it's mentioned that Calendly sets rate limits to prevent abuse and advises users to familiarize themselves with these limits to ensure uninterrupted service.
Typically, rate limits are restrictions placed on the number of requests a client can make to an API within a certain timeframe. These limits are crucial for preventing abuse and ensuring fair usage among all users. They often vary based on the type of subscription (free vs. paid) and the specific API endpoint being accessed.
Since the exact details of Calendly's rate limits are not provided in the sources, it's recommended to consult the official Calendly API documentation or contact Calendly's support for precise information regarding rate limits. Developers integrating with Calendly should also implement error handling in their applications to gracefully manage scenarios where rate limits might be exceeded, such as by implementing retry logic with exponential backoff.
In general, best practices for working within API rate limits include:
For the most accurate and up-to-date information on Calendly's API rate limits, refer to Calendly's official API documentation or reach out to their developer support team.
The most recent version of the Calendly API is API v2. This version is actively maintained and provides a REST-based interface with predictable resource-oriented URLs. It supports JSON for request and response bodies and utilizes standard HTTP methods, authentication, and response codes. The API allows for various functionalities such as retrieving Calendly links, syncing scheduled meetings, managing users, and much more. It also supports authentication via personal access tokens for internal applications and OAuth 2.0 for public applications, catering to both individual team use cases and broader integrations accessible to many Calendly users.
API v2 is part of Calendly's integration set, which also includes the Embed API and the Webhook API. The Embed API simplifies adding Calendly booking pages to websites, while the Webhook API enables automatic receipt of Calendly data through webhook subscriptions whenever invitees schedule, cancel, or reschedule meetings.
Calendly's Developer Portal provides comprehensive resources for integrating with these APIs, including self-serve app creation and management, up-to-date documentation, API use cases, release notes, and support information. The portal has been recently updated to streamline the developer experience, offering features like API explorer, documentation, tutorials, and self-serve app creation and management to facilitate quicker and easier integration processes.
To get a developer account for Calendly and create an API integration:
Create a Developer Account
Register Your Application
http://localhost:1234
for Sandbox testing).Explore API Options
Implement Authentication
Develop Your Integration
Test and Deploy
Based on the information gathered from the sources, the Calendly API allows interaction with various data models to facilitate scheduling and event management. Here's a breakdown of the capabilities associated with each data model:
These capabilities enable developers to build custom scheduling solutions, automate administrative tasks related to calendar management, and integrate Calendly's powerful scheduling features into their applications. Whether it's automating follow-up emails upon event booking, creating Zoom meetings for scheduled events, or sending Slack notifications for new bookings, the Calendly API provides a robust set of tools for enhancing scheduling workflows and improving productivity.