API Reference
Complete API documentation for developers integrating ChatVix programmatically.
Note: Most API endpoints require authentication. For complete API documentation and authentication details, please contact support.
/api/widget/configGet complete chatbot configuration
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant | string | Yes | Your tenant ID |
| chatbot | string | Yes | Your chatbot ID |
Response
Response Type: object
- botName - Name of the chatbot
- businessName - Business name
- welcomeMessage - Initial greeting message
- theme - Color and styling configuration
- knowledgeBaseStatus - Status of knowledge base
- isActive - Whether chatbot is active
Example
GET https://zionix-widget-api-csharp.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/widget/config?tenant=YOUR_TENANT_ID&chatbot=YOUR_CHATBOT_ID/api/plan/overviewReturn normalized plan tier metadata and capabilities for the current tenant
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier (or derived from token) |
Response
Response Type: object
- tier - starter | team | business
- displayName - Friendly marketing name
- capabilities - Array of enabled features (chat, tts, live, rag)
- requiredGcpRoles - Service account roles provisioned for the tenant
Example
GET https://zionix-widget-api-csharp.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/plan/overview/api/tts/voicesList premium voice profiles (male/female) for the 12 supported languages
Parameters
| Name | Type | Required | Description |
|---|
Response
Response Type: array
- language - Friendly language name
- languageCode - Google Cloud TTS code (e.g. en-US)
- voices - Array with gender, voiceName, ssmlGender
Example
GET https://zionix-widget-api-csharp.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/tts/voices/api/tts/generateGenerate a voice response using the tenant’s allocated service account
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | Tenant ID (body) |
| chatbotId | string | Yes | Chatbot ID (body) |
| text | string | Yes | Text to convert to speech |
| languageCode | string | No | Overrides default language e.g. en-US |
| preferredGender | string | No | female | male |
Response
Response Type: object
- audioContentBase64 - Base64 encoded audio payload
- mimeType - Suggested MIME type (e.g. audio/mp3)
- estimatedDurationSeconds - Approximated playback time
Example
POST https://zionix-widget-api-csharp.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/tts/generate/api/live/sessionCreate a Gemini Live session (beta) for ChatVix Pro tenants
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | Tenant ID (body) |
| chatbotId | string | Yes | Chatbot ID (body) |
| languageCode | string | No | Preferred locale for the session |
| sessionTimeoutSeconds | number | No | Session lifetime (default 600) |
Response
Response Type: object
- sessionId - Generated session token
- websocketUrl - URL to initiate the live stream
- expiresAt - UTC timestamp when the session expires
Example
POST https://zionix-widget-api-csharp.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/live/session/api/chatbot-webhooksGet all webhooks configured for your tenant
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
| event_type | query | No | Filter by event type |
| is_active | query | No | Filter by active status (true/false) |
Response
Response Type: array
- id - Webhook ID
- event_type - Event type (conversation_started, lead_captured, etc.)
- webhook_url - URL to send webhook to
- http_method - HTTP method (POST, GET, etc.)
- is_active - Whether webhook is active
- retry_config - Retry configuration
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/chatbot-webhooks/api/chatbot-webhooksCreate a new webhook to receive real-time events from your chatbot
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
| event_type | body | Yes | Event type: conversation_started, message_sent, intent_detected, lead_captured, ticket_created, ticket_updated, or conversation_ended |
| webhook_url | body | Yes | URL to send webhook to (must be HTTPS in production, HTTP allowed in development) |
| http_method | body | No | HTTP method: GET, POST, PUT, or PATCH (default: POST) |
| headers | body | No | Custom headers object (e.g., {"Authorization": "Bearer token"}) |
| payload_template | body | No | JSON template with variables (e.g., {{conversation_id}}, {{lead_id}}, {{event_type}}) |
| retry_config | body | No | Retry configuration: {"max_retries": 3, "backoff": "exponential"} |
| is_active | body | No | Whether webhook is active (default: true) |
Response
Response Type: object
- id - Created webhook ID
- event_type - Event type
- webhook_url - Webhook URL
- http_method - HTTP method used
- headers - Custom headers
- is_active - Active status
- retry_config - Retry configuration
Example
POST https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/chatbot-webhooks/api/chatbot-webhooks/:idUpdate an existing webhook
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | path | Yes | Webhook ID |
| webhook_url | body | No | New webhook URL |
| is_active | body | No | Active status |
| headers | body | No | Updated headers |
Response
Response Type: object
- id - Webhook ID
- updated fields - Any fields that were updated
Example
PUT https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/chatbot-webhooks/{webhook_id}/api/chatbot-webhooks/:id/testTest a webhook by sending a sample event
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | path | Yes | Webhook ID |
Response
Response Type: object
- success - Whether test was successful
- status_code - HTTP status code from webhook endpoint
- message - Test result message
Example
POST https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/chatbot-webhooks/{webhook_id}/test/api/chatbot-webhooks/:id/logsGet webhook delivery logs
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | path | Yes | Webhook ID |
| limit | query | No | Number of logs to return (default: 50) |
| offset | query | No | Offset for pagination (default: 0) |
Response
Response Type: array
- id - Log entry ID
- event_type - Event type that triggered the webhook
- response_status - HTTP status code from webhook endpoint
- error_message - Error message if delivery failed
- retry_count - Number of retry attempts
- created_at - Timestamp of the log entry
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/chatbot-webhooks/{webhook_id}/logs?limit=10&offset=0/api/chatbot-webhooks/:idDelete a webhook
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | path | Yes | Webhook ID |
Response
Response Type: object
- success - Whether deletion was successful
- message - Confirmation message
Example
DELETE https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/chatbot-webhooks/{webhook_id}/api/hubspot/statusGet HubSpot integration status and connection details
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
Response
Response Type: object
- connected - Whether integration is connected
- configured - Whether integration is configured
- sync_status - Current sync status (idle, syncing, success, failed)
- last_sync_at - Timestamp of last sync
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/hubspot/status/api/salesforce/statusGet Salesforce integration status and connection details
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
Response
Response Type: object
- connected - Whether integration is connected
- configured - Whether integration is configured
- sync_status - Current sync status (idle, syncing, success, failed)
- last_sync_at - Timestamp of last sync
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/salesforce/status/api/gmail/statusGet Gmail integration status
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
Response
Response Type: object
- connected - Whether Gmail is connected
- email - Connected Gmail address
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/gmail/status/api/slack/statusGet Slack integration status
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
Response
Response Type: object
- connected - Whether Slack is connected
- team_name - Connected Slack team name
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/slack/status/api/teams/statusGet Microsoft Teams integration status
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
Response
Response Type: object
- connected - Whether Teams is connected
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/teams/status/api/outlook/statusGet Outlook Calendar integration status
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
Response
Response Type: object
- connected - Whether Outlook is connected
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/outlook/status/api/zapier/testTest Zapier integration connection
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| X-Tenant-ID | header | Yes | Tenant identifier |
Response
Response Type: object
- success - Whether connection test was successful
- message - Test result message
Example
GET https://zionix-business-api.purplebay-8affbe7c.eastus.azurecontainerapps.io/api/zapier/testđŸ“– Need More API Information?
For complete API documentation, authentication details, and advanced endpoints, please contact our support team.
Contact Support