Creates a new web widget for an inbound voice campaign.
All requests require an Authorization header using Bearer token authentication:
Authorization: Bearer <api_key>
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Web widget configuration
Global ID of the inbound voice campaign for this widget. Required.
"Vm9pY2VDYW1wYWlnbjoxMjM="
Widget appearance and behaviour configuration. Required. All fields inside config are optional and will use defaults if not provided.
{
"mode": ["voice"],
"theme": "light",
"position": "bottom-right",
"title": "AI Assistant",
"subtitle": "Get instant help from our AI",
"ctaButtonText": "Start Conversation",
"accentColor": "#3b82f6",
"ctaButtonColor": "#3b82f6"
}Provider-native ID of the voice assistant. Required when config.mode includes 'voice'.
"asst_abc123"
Provider-native ID of the chat assistant. Required when config.mode includes 'chat'.
"asst_chat123"