Hamming home page
Search or ask...
Support
Dashboard
Dashboard
Search...
Navigation
API Reference
Send a message
Documentation
SDK Reference
Chat Simulation API
API Reference
POST
Start a new conversation
POST
End a conversation
POST
Send a message
API Reference
Send a message
POST
/
completion
Try it
Body
application/json
conversation_id
string
required
user_message
string
required
Response
200 - application/json
Option 1
Option 2
content
string
required
role
enum<string>
required
Available options:
assistant
tool_calls
object[]
Show child attributes
tool_calls.
function
object
required
Show child attributes
tool_calls.function.
arguments
string
required
tool_calls.function.
name
string
required
tool_calls.
id
string
required
tool_calls.
type
enum<string>
required
Available options:
function
End a conversation