Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Runnable Python examples for authenticating and creating agents
import requests response = requests.post( "https://api.threetone.in/v1/convai/agents/create", headers={ "x-api-key": "YOUR_API_KEY", "Content-Type": "application/json", }, json={ "name": "Customer Support Agent", "system_prompt": "You are a helpful customer support representative.", }, timeout=30, ) response.raise_for_status() print(response.json()["agent_id"])
/examples/python/create_agent.py
import hashlib import hmac def is_valid_signature(payload: bytes, signature: str, secret: str) -> bool: digest = hmac.new(secret.encode("utf-8"), payload, hashlib.sha256).hexdigest() return hmac.compare_digest(f"sha256={digest}", signature)
/examples/python/verify_webhook.py