zi-api-auth-client
A library that supports username-password and PKI authentication methods for enterprise-api
What it is and what it does
zi_api_auth_client is a lightweight authentication client for ZoomInfo's enterprise-api. It provides two authentication flows: username/password authentication that returns a JWT token directly, and PKI authentication using a private key and client ID. Both methods produce JWT tokens suitable for subsequent API calls.
The package wraps cryptographic operations (via cryptography and PyJWT) and HTTP requests to handle the authentication handshake. It is designed as a thin client library for developers integrating with ZoomInfo's enterprise services. The main gotcha documented in the description is proper formatting of private keys as multi-line strings to avoid deserialization errors.
Use it for:
- Authenticate to ZoomInfo enterprise-api using stored username and password credentials
- Generate JWT tokens for PKI-based authentication flows in enterprise integrations
- Obtain bearer tokens for subsequent HTTP API calls to ZoomInfo services
- Automate authentication in server-side applications that need to call enterprise-api
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Generates JWT tokens for ZoomInfo enterprise-api calls using either username/password or PKI (private key) authentication methods.
Yes, if you are building against ZoomInfo enterprise-api and need a straightforward authentication client. The package has low install friction, permissive licensing, and no known vulnerabilities. However, maintenance is aging (last commit 2025-09-04 with no recent activity), so verify that it remains compatible with current ZoomInfo API endpoints before adopting in new projects.
Install
zi-api-auth-client on PyPI
pip
pip install zi-api-auth-clientuv
uv add zi-api-auth-clientpoetry
poetry add zi-api-auth-clientInstalling zi-api-auth-client
Before you install
Low install friction with three standard dependencies (PyJWT, requests, cryptography). Maintenance status is aging—last commit was 2025-09-04 but the package has not seen active development; repository is not archived.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
import zi_api_auth_client
# Username/password authentication
jwt_token = zi_api_auth_client.user_name_pwd_authentication("user", "password")
# Or PKI authentication
key = '''-----BEGIN PRIVATE KEY-----
Your private key
-----END PRIVATE KEY-----'''
jwt_token = zi_api_auth_client.pki_authentication("user", "client_id", key)
Private key must be formatted as a properly indented multi-line string; extra leading spaces will cause deserialization errors.
Verify before relying
- Whether the package works with current ZoomInfo enterprise-api endpoints and token formats
- Python version compatibility (requires_python is unspecified in metadata)
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — PyJWT, requests, cryptography |
| Maintenance | aging — 344 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 123,340/month — #11,911 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zi_api_auth_client-2.0.3-py3-none-any.whl
Keywords: ZoomInfo, enterprise-api, pki-auth
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
drf-jwtAdds JSON Web Token (JWT) authentication to…
permissive · top 15,000 on PyPI
vonage-jwtGenerates and verifies JWTs for Vonage API…
permissive · top 15,000 on PyPI
edx-drf-extensionsProvides JWT authentication, CSRF token…
permissive · top 15,000 on PyPI
djangorestframework-jwtAdds JSON Web Token (JWT) authentication…
permissive · top 15,000 on PyPI
django-ninja-jwtProvides JWT authentication for Django-Ninja…
permissive · top 15,000 on PyPI
cognitojwtDecodes and verifies Amazon Cognito JWT tokens…
permissive · top 15,000 on PyPI
scitokensImplements the SciTokens JSON Web Token (JWT)…
permissive · top 15,000 on PyPI
pyjwt-key-fetcherAsync library that automatically fetches and…
permissive · top 15,000 on PyPI
atlassian-jwt-authGenerates and verifies JWT tokens for Atlassian…
permissive · top 15,000 on PyPI
openxlabA command-line interface and Python library for…
permissive · top 5,000 on PyPI