Skip to main content
POST
/
chat-sessions
/
send-message-sync
Send a chat message and get the complete response (non-streaming)
curl --request POST \
  --url https://api.flipsidecrypto.xyz/public/v3/chat-sessions/send-message-sync \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-session-id: <x-session-id>' \
  --data '
{
  "messages": [
    null
  ],
  "agentName": "flipside_agent"
}
'
{
  "response": "<string>"
}

Authorizations

x-api-key
string
header
required

Headers

x-session-id
string<uuid>
required

The chat session ID

Body

application/json
messages
null[]
required

The UIMessages from the AI SDK representing the user's message

agentName
string
default:flipside_agent

The agent to route this message to. Defaults to flipside_agent if not specified.

Response

Message received and agent response completed successfully

response
string
required

The complete text response from the agent