Integrate G4 Connect into your own applications with our simple, powerful REST API.
https://connect.g4.business/apiAll endpoints are relative to this base URL. Use HTTPS for all requests.
Authenticate your requests by including a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_TOKENYou can generate and manage API tokens from your dashboard under Settings → API Keys. Keep your tokens secure and never expose them in client-side code.
/brand/configRetrieve brand configuration including name, logo, colors, and theme settings.
curl https://connect.g4.business/api/brand/config \
-H "Authorization: Bearer YOUR_API_TOKEN" /ai/modelsList available AI models and their capabilities for your tenant.
curl https://connect.g4.business/api/ai/models \
-H "Authorization: Bearer YOUR_API_TOKEN" /ai/chat/completionsGenerate AI-powered chat completions using your configured models.
curl -X POST https://connect.g4.business/api/ai/chat/completions \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \\
-d '{"messages": [{"role": "user", "content": "Hello"}]}'Explore our full API reference with request/response examples, error codes, and SDKs.
Questions? Contact us at [email protected]