Zoom Python API Docs | dltHub
Build a Zoom-to-database pipeline in Python using dlt with AI Workbench support for Claude Code, Cursor, and Codex.
Last updated:
Zoom is a cloud communications platform providing video conferencing, online meetings, chat, phone, webinar, and contact-center APIs. The REST API base URL is https://api.zoom.us/v2/ and All API requests require an OAuth 2.0 Bearer access token (server-to-server OAuth or user OAuth)..
dlt is an open-source Python library that handles authentication, pagination, and schema evolution automatically. dlthub provides AI context files that enable code assistants to generate production-ready pipelines. Install with uv pip install "dlt[workspace]" and start loading Zoom data in under 10 minutes.
What data can I load from Zoom?
Here are some of the endpoints you can load from Zoom:
| Resource | Endpoint | Method | Data selector | Description |
|---|---|---|---|---|
| users | /users | GET | users | List users in the account/app scope |
| user | /users/{userId} | GET | Get single user details (response is an object) | |
| meetings | /users/{userId}/meetings | GET | meetings | List meetings for a user |
| meeting | /meetings/{meetingId} | GET | Get meeting details (object) | |
| recordings | /meetings/{meetingId}/recordings | GET | recording_files | List recording files for a meeting |
| webinars | /users/{userId}/webinars | GET | webinars | List webinars for a user |
| reports_meetings | /report/meetings/{meetingId}/participants | GET | participants | Get meeting participants (report) |
| reports_users | /report/users/{userId}/meetings | GET | meetings | Get meeting report for a user |
| dashboards_meetings | /metrics/meetings | GET | meetings | Dashboard metrics for meetings (lists in meetings key) |
| contact_center_agents | /contactcenter/agents | GET | agents | Contact Center: list agents (agents key) |
How do I authenticate with the Zoom API?
Obtain an access token via OAuth 2.0 (authorization code flow) or server-to-server OAuth (account-level). Include the token in the Authorization header as: Authorization: Bearer <access_token>. Use Content-Type: application/json for JSON requests.
1. Get your credentials
- Sign in to Zoom Marketplace (marketplace.zoom.us). 2) Create an app (OAuth or Server-to-Server OAuth). 3) For OAuth: configure redirect URI, obtain client_id and client_secret, run authorization code flow to exchange code for access_token. For server-to-server: create Server-to-Server OAuth app and use client_id/client_secret to request an access token from https://zoom.us/oauth/token with grant_type=account_credentials. 4) Save the returned access_token (valid ~1 hour); refresh or request a new token when expired.
2. Add them to .dlt/secrets.toml
[sources.zoom_source] token = "your_access_token_here"
dlt reads this automatically at runtime — never hardcode tokens in your pipeline script. For production environments, see setting up credentials with dlt for environment variable and vault-based options.
How do I set up and run the pipeline?
Set up a virtual environment and install dlt:
uv venv && source .venv/bin/activate uv pip install "dlt[workspace]"
1. Install the dlt AI Workbench:
dlt ai init --agent <your-agent> # <agent>: claude | cursor | codex
This installs project rules, a secrets management skill, appropriate ignore files, and configures the dlt MCP server for your agent. Learn more →
2. Install the rest-api-pipeline toolkit:
dlt ai toolkit rest-api-pipeline install
This loads the skills and context about dlt the agent uses to build the pipeline iteratively, efficiently, and safely. The agent uses MCP tools to inspect credentials — it never needs to read your secrets.toml directly. Learn more →
3. Start LLM-assisted coding:
Use /find-source to load data from the Zoom API into DuckDB.
The rest-api-pipeline toolkit takes over from here — it reads relevant API documentation, presents you with options for which endpoints to load, and follows a structured workflow to scaffold, debug, and validate the pipeline step by step.
4. Run the pipeline:
python zoom_pipeline.py
If everything is configured correctly, you'll see output like this:
Pipeline zoom_pipeline load step completed in 0.26 seconds 1 load package(s) were loaded to destination duckdb and into dataset zoom_data The duckdb destination used duckdb:/zoom.duckdb location to store data Load package 1749667187.541553 is LOADED and contains no failed jobs
Inspect your pipeline and data:
dlt pipeline zoom_pipeline show
This opens the Pipeline Dashboard where you can verify pipeline state, load metrics, schema (tables, columns, types), and query the loaded data directly.
Python pipeline example
This example loads users and meetings from the Zoom API into DuckDB. It mirrors the endpoint and data selector configuration from the table above:
import dlt from dlt.sources.rest_api import RESTAPIConfig, rest_api_resources @dlt.source def zoom_source(access_token=dlt.secrets.value): config: RESTAPIConfig = { "client": { "base_url": "https://api.zoom.us/v2/", "auth": { "type": "bearer", "token": access_token, }, }, "resources": [ {"name": "users", "endpoint": {"path": "users", "data_selector": "users"}}, {"name": "meetings", "endpoint": {"path": "users/{userId}/meetings", "data_selector": "meetings"}} ], } yield from rest_api_resources(config) def get_data() -> None: pipeline = dlt.pipeline( pipeline_name="zoom_pipeline", destination="duckdb", dataset_name="zoom_data", ) load_info = pipeline.run(zoom_source()) print(load_info)
To add more endpoints, append entries from the resource table to the "resources" list using the same name, path, and data_selector pattern.
How do I query the loaded data?
Once the pipeline runs, dlt creates one table per resource. You can query with Python or SQL.
Python (pandas DataFrame):
import dlt data = dlt.pipeline("zoom_pipeline").dataset() sessions_df = data.users.df() print(sessions_df.head())
SQL (DuckDB example):
SELECT * FROM zoom_data.users LIMIT 10;
In a marimo or Jupyter notebook:
import dlt data = dlt.pipeline("zoom_pipeline").dataset() data.users.df().head()
See how to explore your data in marimo Notebooks and how to query your data in Python with dataset.
What destinations can I load Zoom data to?
dlt supports loading into any of these destinations — only the destination parameter changes:
| Destination | Example value |
|---|---|
| DuckDB (local, default) | "duckdb" |
| PostgreSQL | "postgres" |
| BigQuery | "bigquery" |
| Snowflake | "snowflake" |
| Redshift | "redshift" |
| Databricks | "databricks" |
| Filesystem (S3, GCS, Azure) | "filesystem" |
Change the destination in dlt.pipeline(destination="snowflake") and add credentials in .dlt/secrets.toml. See the full destinations list.
Troubleshooting
Authentication failures
If you receive 401 Unauthorized: verify your Bearer token is valid and not expired. For OAuth apps ensure the access token was obtained correctly using client_id/client_secret and correct grant_type; for server-to-server OAuth ensure account-level scopes are granted.
Permission / scope errors
403 Forbidden occurs when the app lacks required scopes (for example user:read:admin for account-level user listing). Update app scopes in Zoom Marketplace and reinstall the app.
Rate limits (429)
Zoom enforces QPS and daily limits. When you hit limits you receive HTTP 429 with retry headers and/or Retry-After. Implement exponential backoff and respect X-RateLimit-* headers; use smaller page_size and reduce concurrency.
Pagination quirks
Many list endpoints return page_count, page_number, page_size, total_records and next_page_token. Use next_page_token to fetch subsequent pages (pass as query param next_page_token). If next_page_token is empty there are no more pages. Large page_size values may be ignored; use recommended defaults.
Common error bodies
Errors typically include JSON like {"code": , "message": ""}. 401 for invalid token, 403 for insufficient scope, 429 for rate limit, 404 for not found.
Ensure that the API key is valid to avoid 401 Unauthorized errors. Also, verify endpoint paths and parameters to avoid 404 Not Found errors.
Next steps
Continue your data engineering journey with the other toolkits of the dltHub AI Workbench:
data-exploration— Build custom notebooks, charts, and dashboards for deeper analysis with marimo notebooks.dlthub-runtime— Deploy, schedule, and monitor your pipeline in production.
dlt ai toolkit data-exploration install dlt ai toolkit dlthub-runtime install
Was this page helpful?
Community Hub
Need more dlt context for Zoom?
Request dlt skills, commands, AGENT.md files, and AI-native context.