Documentation Index
Fetch the complete documentation index at: https://docs.yourhomie.ai/llms.txt
Use this file to discover all available pages before exploring further.
• Add
• All identifiers (
x-api-key: <your key> to every request.
• All identifiers (
chatId, chatbotId, messageId, userId,
organizationId) are UUID‑v4 strings.Environments
| Environment | Base URL | Use case |
|---|---|---|
| Staging | https://staging.api.yourhomie.ai | Build & test integrations |
| Production | https://api.yourhomie.ai | Live traffic |
3‑Step Flow
| Step | Endpoint | Purpose |
|---|---|---|
| 1 • Create chat | POST /v1/chats | Start a new conversation; returns its chatId. Pass your chatbotId in the body. |
| 2 • Add message | POST /v1/chats/{chatId}/messages | Send user text, receive Homie’s reply (incl. product objects, flags, etc.). |
| 3 • Listen / fetch | GET /v1/chats/{chatId}/events | (Optional) Stream events in real time or poll. |
1. Create a chat
id — you’ll need it for every follow‑up call.
2. Send the first message
3. Listen for events (optional)
text/event-stream) with message chunks and typing indicators.
Ready to go live? Swap the base URL for
https://api.yourhomie.ai and use your production key.