Create a team

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

This endpoint expects an object.
namestringRequired
A name for the team assistant
lead_assistantstringRequired
The model ID of the lead assistant, it can be obtained opening an assistant and click on copy model ID under the assistant name
phone_numberstringOptional
Retrieve your phone numbers with the 'Get Numbers' API endpoint
external_webhook_urlstringOptional

URL of the webhook that should receive data after the call. (Transcript etc.)

sub_assistants_attachlist of objectsOptional

Response

200
statusstring or null
responseobject or null

Errors