Quick Assistable Chat API cheat sheet (copy/paste)
Hey everyone — quick, unofficial Assistable v2 Chat API cheat sheet. Disclaimer: I don’t work for Assistable and this isn’t supported/owned by me. It’s just a “here’s the curl that works” post for people who want copy-paste, because the docs are thin/outdated in places. Use at your own risk. ✅ The Chat endpoint POST https://api.assistable.ai/v2/ghl-chat-completion Headers Authorization: Bearer asst_YOUR_V2_KEY ← v2 keys start with asst_ Content-Type: application/json Copy-paste curl curl -sS -X POST "https://api.assistable.ai/v2/ghl-chat-completion" \ -H "Authorization: Bearer asst_YOUR_V2_KEY" \ -H "Content-Type: application/json" \ -d '{ "assistant_id": "YOUR_ASSISTANT_ID", "location_id": "YOUR_LOCATION_ID", "contact_id": "YOUR_CONTACT_ID", "conversation_id": "YOUR_CONVERSATION_ID", "last_message_id": "0", "channel": "Live_Chat", "messages": [ { "role": "user", "content": "Hi!" } ], "input": "Hey, what is your name?" }' What you’ll get back Look for: Assistant reply: run.response.messages[0].content Next last_message_id: run.message.messageId (use this on your next call) Costs/tokens: run.usage_cost That’s it. If you can fill in the 4 IDs + v2 key, you’re good. Happy Black Friday 🖤