Documentation edits made through Mintlify web editor
This commit is contained in:
1 parent
58a947b32e
commit
9a449608b5
1 file changed
+26
-32
@@ -3,44 +3,22 @@ title: "Introduction to API v2"
|
||||
description: "Introduction to Cal.com API v2 endpoints"
|
||||
---
|
||||
|
||||
## Create an OAuth client and "Continue with Cal.com"
|
||||
## Authentication
|
||||
|
||||
The Cal.com API has 3 authentication methods:
|
||||
|
||||
1. OAuth
|
||||
2. API key
|
||||
|
||||
### 1. Create an OAuth client and "Continue with Cal.com"
|
||||
|
||||
In order to be listed as an official partner and App in our App Store: cal.com/apps you need to create and get a verified OAuth client.
|
||||
|
||||
You can request it here: https://cal.com/docs/oauth.
|
||||
|
||||
## Organizations endpoints
|
||||
### 2. API key
|
||||
|
||||
Organizations customers have all the endpoints except the ones prefixed with "Platform" and "Teams" and "Orgs / Orgs" because
|
||||
children organizations are only allowed in the platform plan right now.
|
||||
|
||||
## Teams endpoints
|
||||
|
||||
Teams customers have all the endpoints except the ones prefixed with "Platform" and "Orgs".
|
||||
|
||||
## Rate limits
|
||||
|
||||
There are three authentication methods for the API, and each of them has the following rate limits:
|
||||
|
||||
1. API Key - 120 requests per minute. This can be increased to a reasonable amount, such as 200 requests per minute. If you require a higher rate limit, such as 800 requests per minute, it is possible, but it may involve extra charges. To request this, please contact support.
|
||||
|
||||
2. Platform OAuth Client Credentials - 500 requests per minute
|
||||
|
||||
3. Managed User Access Token - 500 requests per minute
|
||||
|
||||
If no authentication method is provided, the default rate limit is 120 requests per minute.
|
||||
|
||||
## Authentication
|
||||
|
||||
The Cal.com API has 3 authentication methods:
|
||||
|
||||
1. API key
|
||||
2. Platform OAuth client credentials
|
||||
3. Managed user access token
|
||||
|
||||
If you are a platform customer you don't need an API key and must instead use OAuth credentials or a managed user access token. We cover when to use which below.
|
||||
|
||||
### 1. API key
|
||||
While API keys can be created easily, bear in mind we almost always recommend using OAuth credentials, especially when building integrations or applications with Cal.com.
|
||||
|
||||
You can view and manage your API keys in your settings page under the security tab in Cal.com.
|
||||
|
||||
@@ -62,6 +40,22 @@ in your request header.
|
||||
|
||||
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
|
||||
|
||||
## Teams endpoints
|
||||
|
||||
Teams customers have all the endpoints except the ones prefixed with "Platform" and "Orgs".
|
||||
|
||||
## Organizations endpoints
|
||||
|
||||
Organizations customers have all the endpoints except the ones prefixed with "Platform" and "Teams" and "Orgs / Orgs" because
|
||||
children organizations are only allowed in the platform plan right now.
|
||||
|
||||
## Rate limits
|
||||
|
||||
There are three authentication methods for the API, and each of them has the following rate limits:
|
||||
|
||||
1. API Key - 120 requests per minute. This can be increased to a reasonable amount, such as 200 requests per minute. If you require a higher rate limit, such as 800 requests per minute, it is possible, but it may involve extra charges. To request this, please contact support.
|
||||
|
||||
If no authentication method is provided, the default rate limit is 120 requests per minute.
|
||||
|
||||
|
||||
## Deprecated & Maintenance for existing users only
|
||||
|
||||
Reference in new issue
Block a user