skillfed

zi-api-auth-client

A library that supports username-password and PKI authentication methods for enterprise-api

zi-api-auth-client v2.0.3 123.3K downloads/30d#11,911 on PyPI10
Permissive license MIT AGING released

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-client

uv

uv add zi-api-auth-client

poetry

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 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

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3

Tags

JWT token generationZoomInfo API authenticationPKI authentication pythonenterprise API clientusername password JWTprivate key authentication
jwt-authzoominfo

More WWW/HTTP packages