API v1 (legacy)/POST

Create Zoom OAuth Connection

Exchanges a Zoom OAuth authorization code for access and refresh tokens, retrieves the Zoom user's profile, and stores the connection for managed OBF token generation. The authorization code is obtained by directing a Zoom user through the OAuth consent flow for your Zoom OAuth app. Once stored, you can reference this connection's zoom_user_id as the zoom_obf_token_user_id parameter when creating a bot, and the system will automatically fetch a fresh OBF token at join time. Note: the authorization code is single-use and expires in approximately 10 minutes.

POST
/zoom_oauth_connections/

Authorization

ApiKeyAuth
x-meeting-baas-api-key<token>

API key for authentication

In: header

Request Body

application/json

authorization_code*string

The OAuth authorization code received from Zoom after user consent. This is a single-use code that expires in approximately 10 minutes.

redirect_uri*string

The redirect URI that was used in the OAuth authorization request. Must match exactly what was configured in your Zoom OAuth app.

zoom_client_id*string

Your Zoom OAuth app's Client ID, found in the Zoom App Marketplace under your app's credentials.

zoom_client_secret*string

Your Zoom OAuth app's Client Secret, found in the Zoom App Marketplace under your app's credentials.

Response Body

application/json

curl -X POST "https://api.meetingbaas.com/zoom_oauth_connections/" \  -H "Content-Type: application/json" \  -d '{    "authorization_code": "string",    "redirect_uri": "string",    "zoom_client_id": "string",    "zoom_client_secret": "string"  }'
Empty
{
  "connection_failure_data": null,
  "created_at": "string",
  "scopes": "string",
  "state": "string",
  "updated_at": "string",
  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
  "zoom_account_id": "string",
  "zoom_user_id": "string"
}