Skip to main content
POST
/
api
/
chats
Create a new conversation thread.
curl --request POST \
  --url https://openagents.com/api/chats \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "API Chat"
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Optional title for the new conversation

title
string | null
Example:

"API Chat"

Response

Resource created

data
object