Exchange authorization code for access tokens
Getting Started
Platform / Cal Provider
Platform / Google Calendar
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Event Types
Orgs / Memberships
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Memberships
Orgs / Teams / Schedules
Orgs / Webhooks
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence
- POSTAutomatically reassign booking to a new host
- POSTReassign a booking to a specific user
- POSTConfirm booking that requires a confirmation
- POSTDecline booking that requires a confirmation
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
Schedules
Selected Calendars
Stripe
Timezones
Exchange authorization code for access tokens
Exchanges the authorization code received from the /authorize
endpoint for access and refresh tokens. The authorization code should be provided in the ‘Authorization’ header prefixed with ‘Bearer ‘.
POST
/
v2
/
oauth
/
{clientId}
/
exchange
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Authorization
string
*
Authorization
Required
string
clientId
string
*
clientId
Required
string
object
*
clientSecret
string
*
clientSecret
Required
string
Headers
Authorization
string
requiredPath Parameters
clientId
string
requiredBody
application/json
clientSecret
string
requiredResponse
200 - application/json
status
enum<string>
requiredAvailable options:
success
, error
data
object
requiredWas this page helpful?