Create AI agent
Creates an AI Agent
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
Authentication
Request
A key-value object for storing data that persists throughout the AI session. Can be set initially in the SWML script or modified during the conversation using the set_global_data action. The global_data object is accessible everywhere in the AI session: prompts, AI parameters, and SWML returned from SWAIG functions. Access properties using template strings (e.g. ${global_data.property_name}).
A JSON object containing parameters as key-value pairs.
The URL to which to send status callbacks and reports. Authentication can also be set in the url in the format of username:password@url.
An array of JSON objects to create user-defined functions/endpoints that can be executed during the dialogue.