Docs

Create Chat Response

Creates an OpenAI-compatible chat response in Vapi.

POST

Body

Arguments
string

This is the assistant that will be used for the chat. To use an existing assistant, use assistantId instead.

object
object
string

This is the squad that will be used for the chat. To use a transient squad, use squad instead.

object
string

This is the name of the chat. This is just for your own reference.

string

This is the ID of the session that will be used for the chat. Mutually exclusive with previousChatId.

stringrequired
string

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.

object
Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.