Create a new zoom oauth connection

​

After being created, the zoom oauth connection will be used to generate tokens for the user.

Headers

  • API key for authentication

  • Should always be application/json

Body·

required
application/json
  • The authorization code received from Zoom during the OAuth flow

  • The redirect URI used to obtain the authorization code

  • Whether the Zoom OAuth Connection supports generating local recording tokens

  • Whether the Zoom OAuth Connection supports generating onbehalf tokens

  • JSON object containing metadata to associate with the Zoom OAuth Connection

  • The Zoom Oauth App the connection is for

Responses

  • application/json
  • Invalid input

Request Example for post/api/v1/zoom_oauth_connections
curl https://app.attendee.dev/api/v1/zoom_oauth_connections \
  --request POST \
  --header 'Authorization: Token YOUR_API_KEY_HERE' \
  --header 'Content-Type: application/json' \
  --data '{
  "zoom_oauth_app_id": "",
  "authorization_code": "",
  "redirect_uri": "",
  "is_local_recording_token_supported": true,
  "is_onbehalf_token_supported": false,
  "metadata": null
}'
Newly Created Zoom OAuth Connection

Example response when a zoom oauth connection is successfully created

{
  "id": "zoc_abcdef1234567890",
  "zoom_oauth_app": "zoa_abcdef1234567890",
  "state": "connected",
  "metadata": {
    "tenant_id": "1234567890"
  },
  "user_id": "user_abcdef1234567890",
  "account_id": "account_abcdef1234567890",
  "connection_failure_data": null,
  "created_at": "2025-01-13T10:30:00.123456Z",
  "updated_at": "2025-01-13T10:30:00.123456Z"
}