PATCH
/
assistant
/
{assistantId}
curl --request PATCH \
  --url https://api.clarionhealth.com/v1/assistant/{assistantId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assistantId
string
required

ID of assistant to update

Body

application/json

Assistant properties to update

The body is of type object.

Response

200
application/json

Assistant updated successfully

The response is of type object.