Docs

Create Session

Creates a new session in Vapi.

POST

Body

Arguments
string

This is a user-defined name for the session. Maximum length is 40 characters.

string

This is the current status of the session. Can be either 'active' or 'completed'.

number

Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.

string

This is the ID of the assistant associated with this session. Use this when referencing an existing assistant.

object
object
string

This is the squad ID associated with this session. Use this when referencing an existing squad.

object
array of object

This is an array of chat messages in the session.

object
string

This is the customerId of the customer associated with this session.

string

This is the ID of the phone number associated with this session.

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.