Create Session
Creates a new session in Vapi.
Body
This is a user-defined name for the session. Maximum length is 40 characters.
This is the current status of the session. Can be either 'active' or 'completed'.
Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.
This is the ID of the assistant associated with this session. Use this when referencing an existing assistant.
This is the squad ID associated with this session. Use this when referencing an existing squad.
This is an array of chat messages in the session.
This is the customerId of the customer associated with this session.
This is the ID of the phone number associated with this session.
Comma-separated response fields to include.