Chat

Send message

post

Send a new message to the agent and get a response

Authorizations
Body

An agent chat message

contentstringRequired

prompt

Responses
201
Response from agent
application/json
post
POST /chat HTTP/1.1
Host: api.spectrallabs.xyz
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "content": "Hello, how can I help you?"
}
{
  "content": "Hello, how can I help you?"
}

Last updated