cURL
curl --request POST \ --url https://api.clarionhealth.com/v1/assistant \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "model": {}, "first_message": "<string>", "webhook_url": "<string>", "analysis_plan": {} }'
{ "id": 123, "name": "<string>", "organization_id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "model": {}, "voice": {}, "first_message": "<string>", "max_duration_seconds": 123, "voicemail_message": "<string>", "webhook_url": "<string>", "is_webhook_secret_set": true, "analysis_plan": {} }
Creates a new assistant
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Assistant to create
The body is of type object.
object
Assistant created successfully
The response is of type object.