CoffeeChat
JSON REST API Documentation
Demo
Using CoffeeChat.js
API
REST Endpoints
URL
-
https:// chat.coffeeww.com/
Threads & Messages
-
POST
/messagesCreates a new thread with first message prompt.Requiredprompt (string) Message text -
PUT
/messages/{thread_id}Adds a new message prompt to a thread.Requiredprompt (string) Message text -
GET
/messages/{thread_id}Retrieves a thread.Path Parameters
thread_id (string) The ID of the thread to retrieve.Returns
The thread object matching the specified ID. -
DELETE
/messages/{thread_id}Deletes a thread using the thread_id argument.Returns
Deletion status.