Requirements
| Resource | Version |
|---|---|
| Python | 3.10 or higher |
Install
Create the client
AsyncVZapsClient:
Credentials
| Credential | Where to use | Description |
|---|---|---|
client_token | Client constructor | Account client token, also sent as X-Client-Token. |
client_secret | Client constructor | Secret used by the SDK to obtain and refresh JWTs. |
instance_token | Each instance call | Instance token, sent as X-Instance-Token. |
client_secret or instance_token in public front ends.
Automatic authentication
The SDK obtains a JWT withclient_token and client_secret, caches it in memory, and refreshes it before expiry.
Client options
| Option | Default | Use |
|---|---|---|
timeout | 30.0 | HTTP timeout in seconds or httpx.Timeout. |
limits | None | Optional httpx.Limits. |
token_skew_seconds | 60.0 | Refresh JWT before actual expiry. |
user_agent | SDK default | HTTP User-Agent header. |
Environment variables
Next steps
- Follow the Starter Guide.
- See Messages for send methods.
- See Realtime for WebSocket subscriptions.

