--- id: zi-api-auth-client version: "2.0.3" license: MIT license_treatment: permissive maintenance: aging --- # zi-api-auth-client — A library that supports username-password and PKI authentication methods for enterprise-api License: permissive · Maintenance: aging · Downloads: 123.3K/mo ## 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 above — 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 pip install zi-api-auth-client uv add zi-api-auth-client poetry add zi-api-auth-client ## Installing 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: unspecified - Install friction: low - Maintenance: aging - Downloads: 123.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags JWT token generation, ZoomInfo API authentication, PKI authentication python, enterprise API client, username password JWT, private key authentication, jwt-auth, zoominfo [View on SkillFed](https://skillfed.io/packages/zi-api-auth-client) · [View on PyPI](https://pypi.org/project/zi-api-auth-client/)