Create Agent
Create a new AI agent with custom configuration. Define the agent’s name, general prompt, and optional webhook settings for call completion callbacks.Bearer token in the format:
Bearer {access_token}Must be set to
application/jsonA descriptive name for your AI agent
The main system prompt that defines the agent’s behavior and purpose. This guides how the agent interacts during calls.
Optional callback URL that will be called when the agent completes a call. Leave empty if not needed.
HTTP method for the webhook callback. Must be either
GET or POST. Defaults to POST if not specified.Unique identifier for the newly created agent
The name of the created agent
Status of the agent creation (typically “active” or “pending”)
Authorizations
Bearer token authentication. Include the access token in the Authorization header as 'Bearer {access_token}'
Body
application/json
A descriptive name for your AI agent
The main system prompt that defines the agent's behavior and purpose. This guides how the agent interacts during calls.
Optional callback URL that will be called when the agent completes a call. Leave empty if not needed.
HTTP method for the webhook callback. Must be either GET or POST. Defaults to POST if not specified.
Available options:
GET, POST