docs/Client

Client

guava.Client complements guava.Agent by providing functions for managing account-level resources. It also provides any functions that don't fit onto guava.Agent.

run.py
import guava, os

client = guava.Client(
    api_key=os.environ["GUAVA_API_KEY"],   # or omit — reads env automatically
)

API

ParameterTypeDefaultDescription
api_keystr | Noneenv GUAVA_API_KEYYour Guava API key.
base_urlstr | NoneproductionOverride the API endpoint (for testing).

Methods

ParameterTypeDefaultDescription
create_sip_agent()methodGenerate a SIP code linked to your account for inbound SIP call handling.
create_webrtc_agent(ttl)methodGenerate a WebRTC code for browser-based voice interaction, with optional TTL.
send_sms()methodSend an SMS message.

Questions? hi@goguava.ai