Skip to content

Posts a customer note to one of the handle contact lead clusters

POST
/api/v1/websites/{website_id}/phone_identities/{handle}/lead_clusters/{lead_cluster_id}/notes
curl --request POST \
--url https://dashboard.dealerstudio.com.au/api/v1/websites/example/phone_identities/example/lead_clusters/1/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "description": "Running 10 minutes late", "quick_reply": "reschedule" }'

Records a myGarage note from the customer as a note lead event on the lead cluster. The lead cluster must belong to the contact behind the handle. At least one of description and quick_reply is required, and a quick reply with no text uses its label as the description. Requires the garage:phone_identity permission.

website_id
required
string

Website ID

handle
required
string

Pseudonymous handle

lead_cluster_id
required
integer

Lead cluster ID

Media typeapplication/json
object
description
string
<= 1000 characters

Example

Running 10 minutes late
quick_reply
string
Allowed values: reschedule running_late question cancel

Example

running_late

Note created

Media typeapplication/json
object
id
integer
lead_cluster_id
integer
event_type
string
description
string
external_service
string
sent_by
string
quick_reply
string
nullable
created_at
string format: date-time

Example

{
"id": 1,
"lead_cluster_id": 2,
"event_type": "note",
"description": "Running 10 minutes late",
"external_service": "my_garage",
"sent_by": "customer",
"quick_reply": "running_late"
}

Handle or lead cluster is unknown

Media typeapplication/json
object
error
string

Example

{
"error": "lead_cluster_not_found"
}

No description or quick reply, an unknown quick reply, or the garage is not enabled

Media typeapplication/json
object
error
string

Example

{
"error": "description_or_quick_reply_required"
}