Customer Summaries

The Motovizion AI API allows you to retrieve customer chat transcripts, appointment details, and related data for use in your applications.

Endpoint

https://api-v2.motovizion.ai/customer/chat/

Request Format

HTTP Method:

POST

Content-Type:

application/json

Request Body:

The request body should be a JSON object with the following fields:

Parameter
Type
Required
Description

appointment_uuid

String

Yes

The unique identifier for the appointment.

Making an Authorized API Request

curl -X POST https://api-v2.motovizion.ai/customer/chat/ \
-H "Content-Type: application/json" \
-H "X-API-Key: {API Key}" \
-d '{
    "appointment_uuid": "{Appointment ID}"
}'

Error Responses

If your API key is missing or invalid, the server will respond with an error.

Missing API Key

Invalid API Key

Code Examples

Response Data

When you send a valid request to the Motovizion AI API, the response contains structured JSON data. Below is a detailed explanation of the fields included in the response.

Response Fields

Top-Level Fields:

Field Name
Type
Description

status

String

Indicates the success ("success") or failure ("error") of the request.

response

Boolean

true if the request has a summary, false if no summary available.

Appointment Details

Field Name
Type
Description

appointment_date

String

Date and time of the appointment in YYYY-MM-DD HH:MM format.

appointment_uuid

String

Unique identifier for the appointment.

customer_name

String

Customers full name

vin

String

Vehicle Identification Number

summary

String

Generated summary from conversation transcript

transcript

Array

Full transcript of conversation returned as array

media

Array

Returns video/images associated with appointment if they exist

line_items

Array

Returns all line items requested by customer

escalation_flag

Boolean

True if customer added any extra services, or dealer should be notified of change to appointment

questions_asked

INT

Count of questions the AI has asked

tech_questions

Boolean

If the appointment has tech initiated questions

No Appointment Found Response (200)

Error Codes

HTTP Status Code
Description

400

Missing required fields (e.g., appointment_uuid).

401

Invalid or missing API key.

404

Appointment not found for the provided appointment_uuid.

Last updated