Create new assistant
Creates a new AI assistant with configuration. Requires appropriate permissions.
Authorization
access-token Enter your Access Token (format: happ_...)
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/assistants" \ -H "Content-Type: application/json" \ -d '{ "name": "Sales Assistant", "promptText": "You are a helpful sales assistant for Acme Corp. Answer questions about our products.", "companyId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }'{ "id": "string", "name": "string", "firstMessage": "string", "promptText": "string", "companyId": "string", "createdAt": "2019-08-24T14:15:22Z"}