Skapa konversation
Create a text conversation with an agent. This does not run the agent, and the agent sends no first message. This endpoint is in alpha and may change.
Headers
xi-api-key
Förfrågan
This endpoint expects an object.
agent
Agenten som utför turerna.
environment
Miljön som ska användas för att lösa miljövariabler (t.ex. ”production”, ”staging”). Standard är grenens miljö och därefter ”production”.
user_id
ID för slutanvändaren som deltar i den här konversationen (för identifiering av agentägarens användare)
dynamic_variables
Svar
Lyckat svar
conversation_id
Fel
422
Unprocessable Entity Error