Create Chat Response
Creates an OpenAI-compatible chat response in Vapi.
Body
This is the assistant that will be used for the chat. To use an existing assistant, use assistantId instead.
This is the squad that will be used for the chat. To use a transient squad, use squad instead.
This is the name of the chat. This is just for your own reference.
This is the ID of the session that will be used for the chat. Mutually exclusive with previousChatId.
This is the ID of the chat that will be used as context for the new chat. The messages from the previous chat will be used as context. Mutually exclusive with sessionId.
Comma-separated response fields to include.