Skip to content
MOTOVIZION Docs

Voice Chat Interaction

This endpoint allows our pre-diagnostic AI to interact with your existing voice chat. We will pick up in mid conversation to ask all the right questions to help pre-diagnose the vehicle.

https://api.example.com/customer/voice-prediag/
POST
application/json
ParameterTypeRequiredDescription
statusStringTrueSpecifies the type of request. For initiation, it would be "start"
appt_uuidStringTrueThe unique identifier for the appointment/conversation.
dealer_uuidStringTrueUnique identifier for dealer.
customer_nameStringTrueThe name of the customer.
transcriptString

(Conditional)

Only on Initial Call

The full transcript of the conversation held by the previous AI up to the point of handoff.
messageString

(Conditional)

Only for subsequent request

The latest message content from the customer.
vehicle_idStringTrueVehicle Identification Number
  • start (Initialize conversation)
  • message (AI looking for a response)
curl -X POST \
https://api.example.com/customer/voice-prediag/ \
-H "Content-Type: application/json" \
-H "X-API-KEY: API_KEY" \
-d '{
"appt_uuid": "000111",
"dealer_uuid": "1234321",
"customer_name": "John Customer",
"vehicle_id": "AS76D87ASD8A",
"message": "My car is making a strange rattling noise when I accelerate."
}'
{
"response":"Is the rattling noise coming from a specific area."
}
[
{
"status": "error",
"question": "Error: Invalid appt_uuid provided."
}
]