Follow the procedure below to register and authenticate your public application with the Calendly API v2.Documentation Index
Fetch the complete documentation index at: https://calendly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Register your OAuth application
- Sign up for a Calendly developer account using your Github or Google account by clicking the Sign Up button found in the top right corner of this page. Note: This is not your Calendly user account and is not associated with your Calendly user account.
- Create a new OAuth application
- Provide name of your application
- Select the kind of application (web or native)
- Select your environment that you want to associate your application
- Sandbox
- Production
- We recommend starting with Sandbox for development and creating a second application for Production when ready to go live with customer data.
- Redirect URI:
- For the Sandbox environment, we allow HTTP with localhost domain. Example: http://localhost:1234
- For the Production environment, this must be HTTPS
- Select scopes based on the Calendly data and functionality that your OAuth app requires access to. Learn more about scopes.
- For all OAuth applications (web or native) use a specific redirect_uri, a Proof Key for Code Exchange (PKCE), and S256 for code_challenge_method. For more information about PKCE, see this guide.
- Proceed into the next step to view/copy your Client Id, Client Secret and Webhook signing key. Be sure to copy these values as you will not be able to access the Client Secret or Webhook signing key again.
Test your application
While we will not enforce PKCE for web applications, we recommend using PKCE conforming to the RFC 7636 specification for both web and native applications. For more information, see this guide. An example of a javascript implementation can be found here. To receive an Authorization Code:- Generate a
CODE_VERIFIER - Build a
CODE_CHALLENGE - Redirect the user to Calendly’s authorization page with the
client_id,redirect_uri, andcode_challengereplaced with your application’sclient_id,redirect_uri, and thecode_challengegenerated in the step above (see example below). Note that this url must be requested using a web browser.
- Send a POST request to https://auth.calendly.com with the
grant_type,code, andredirect_uri
Edit your application
To edit attributes for existing OAuth applications:- Click on the OAuth application’s menu icon then select “Edit”.
- The following attributes can be edited:
- Name of app
- Kind of app
- Environment type
- Redirect URI
- Click “Save”.