cURL
curl --request GET \ --url https://api.puretalk.ai/api/public/ai-assistants/chatbot-config/{assistant_id} \ --header 'X-API-KEY: <api-key>'
{ "msg": "Chatbot config created successfully", "err": false, "results": { "chatbot_logo": "<string>", "chatbot_accent_color": "#000000", "chatbot_faq": [ { "answer": "The answer to the question", "question": "The question" } ], "chatbot_whitelisted_domains": [ "<string>" ], "name": "<string>", "voice": { "voice_id": "<string>", "name": "<string>", "avatar": "<string>", "gender": "<string>", "demo_audio_url": "<string>", "is_cloned": true, "language": "<string>", "description": "<string>" } } }
Returns the chatbot config for the AI Assistant based on the ID supplied
Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.
ID of AI Assistant to return chatbot config
Chatbot config response
A success message
"Chatbot config created successfully"
If the request is an error
false
Show child attributes
Was this page helpful?