Documentation Hub
Full API documentation is available in Build. Everything you need to integrate with Dyva is there.
What the Docs Cover
Getting Started
- Quickstart guide: go from zero to your first API call in under 5 minutes
- Authentication: how to create and use API keys, handle token expiration, and manage scopes
- Error handling: standard error codes, error response format, and retry strategies
Endpoint Reference
- Characters: create, read, update, delete characters programmatically
- Conversations: start conversations, send messages, retrieve history
- Messages: send text, receive streaming responses, manage message metadata
- Voice: initiate voice sessions, stream audio, configure voice settings
- Knowledge Base: upload documents, list files, delete entries
- Users: fetch user profiles and preferences
Real-Time Features
- WebSocket protocol: connection, authentication, message formats, and event types in Build
- Webhooks: setup, event catalog, payload signatures, and retry behavior in Build
- Embed widget: installation, customization, and theming in Build
Code Examples
Every endpoint includes working code examples in Python, JavaScript/TypeScript, cURL, and Go. Copy-paste ready.