vonage-http-client
An HTTP client for making requests to Vonage APIs.
What it is and what it does
vonage-http-client is a synchronous HTTP client library designed to handle authenticated requests to Vonage APIs. It wraps the requests library and manages authentication transparently, supporting both basic (API key/secret) and JWT authentication methods. The package is primarily used internally by the vonage Python SDK, though it can be installed and used independently.
The client is initialized with an Auth instance for credentials and optional HttpClientOptions to configure API hosts, timeouts, connection pooling, and retry behavior. It exposes methods for GET and POST requests, caches the last request and response for debugging, and allows customization of the User-Agent header. Error handling is provided through dedicated exception classes like HttpRequestError.
Use it for:
- Building custom integrations with Vonage APIs when you need lower-level control than the main SDK provides
- Debugging or inspecting raw HTTP requests and responses sent to Vonage endpoints via last_request and last_response properties
- Configuring connection pooling, timeouts, and retry behavior for high-volume or latency-sensitive Vonage API calls
- Switching between JWT and basic authentication on a per-request basis for multi-tenant or credential-rotation scenarios
- Extending or wrapping the HTTP layer in applications that already depend on vonage-http-client indirectly through the SDK
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a synchronous HTTP client for authenticated requests to Vonage APIs, handling both API key/secret and JWT authentication methods.
Yes, if you are using the vonage SDK or need direct control over HTTP requests to Vonage APIs. The package is actively maintained, has low install friction, and carries a permissive license. Install it only if you have a specific reason to use it independently; most users should rely on the higher-level vonage SDK instead.
Install
vonage-http-client on PyPI
pip
pip install vonage-http-clientuv
uv add vonage-http-clientpoetry
poetry add vonage-http-clientInstalling vonage-http-client
Before you install
Low friction install with five straightforward dependencies (vonage-utils, vonage-jwt, requests, typing-extensions, pydantic). Active maintenance with last commit 2026-07-20 and 213 repository stars. Supports Python 3.9 through 3.13.
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install vonage-http-client
from vonage_http_client import HttpClient, HttpClientOptions
from vonage_http_client.auth import Auth
auth = Auth(api_key='your_api_key', api_secret='your_api_secret')
options = HttpClientOptions(api_host='api.nexmo.com', timeout=30)
client = HttpClient(auth=auth, http_client_options=options)
response = client.get(host='api.nexmo.com', request_path='/v1/messages')
Requires Python 3.9 or later and valid Vonage API credentials (API key and secret, or JWT configuration).
Verify before relying
- Whether this package is recommended for direct use or primarily intended as an internal dependency of the vonage SDK
- Performance characteristics under high concurrency or large request volumes
- Specific retry and timeout behavior in edge cases beyond the documented options
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — vonage-utils, vonage-jwt, requests, typing-extensions, pydantic |
| Maintenance | actively maintained — 114 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 337,789/month — #7,445 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: vonage_http_client-1.5.2-py3-none-any.whl
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
vonageVonage provides a unified Python interface to…
permissive · top 15,000 on PyPI
vonage-network-authGenerates authenticated JWTs for Vonage Network…
permissive · top 15,000 on PyPI
vonage-jwtGenerates and verifies JWTs for Vonage API…
permissive · top 15,000 on PyPI
vonage-identity-insightsProvides Python access to the Vonage Identity…
permissive · top 15,000 on PyPI
vonage-verifyVonage Verify package provides Python…
permissive · top 15,000 on PyPI
gotruePython client library for Supabase Auth that…
permissive · top 5,000 on PyPI
vonage-messagesProvides Python message models and client…
permissive · top 15,000 on PyPI
microsoft-teams-commonProvides shared utilities for Microsoft Teams…
permissive · top 5,000 on PyPI
atlassian-jwt-authGenerates and verifies JWT tokens for Atlassian…
permissive · top 15,000 on PyPI
sharepyHandles authentication to SharePoint Online and…
copyleft · top 15,000 on PyPI