cURL
curl --request POST \ --url https://app.livechatai.com/api/v2/agents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Customer Support Agent", "isLiveChatEnabled": true, "isImageSharingEnabled": true }'
Create a new AI agent in your workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Agent creation details
The body is of type object.
object
Agent created successfully