Skip to main content

Get Chat Configuration

Retrieves the public-facing configuration details associated with your API Key. This can be used to dynamically style your chat interface or display company-specific information.

Endpoint

GET /chat-config/

Headers

NameRequiredDescription
X-API-KeyYesYour unique API Key provided by ZeroinAI

Query Parameters

None

Response

Success Response (200 OK)

{
"config_id": "unique-config-identifier",
"agent_name": "Support Pro Agent",
"company_name": "Your Company Inc.",
"primary_color": "#1A73E8",
"header_text": "Chat with Support Pro",
"logo_url": "https://your-company.com/logo.png",
"welcome_message": "Hello! How can I help you with our products today?",
"chat_first_page_description": "Ask me anything about our services.",
"created_at": "2023-10-26T10:00:00Z",
"updated_at": "2023-10-27T11:00:00Z",
"is_full_width": false,
"start_page_title": "Your Company AI Chat",
"start_page_slogan": "Instant answers, 24/7."
}

Error Responses

Status CodeDescription
401 UnauthorizedInvalid or missing API Key
404 Not FoundChat configuration associated with the API Key not found

Example Request

curl -X GET 'https://api.zeroinai.com/micro-apps/for-api-providers/chat-service/chat-config/' \
-H 'X-API-Key: YOUR_UNIQUE_API_KEY'