Skip to content

Fetches the garage payload for a handle

GET
/api/v1/websites/{website_id}/phone_identities/{handle}/garage
curl --request GET \
--url https://dashboard.dealerstudio.com.au/api/v1/websites/example/phone_identities/example/garage \
--header 'Authorization: Bearer <token>'

Resolves the handle to a contact server side. The phone number is never returned.

website_id
required
string

Website ID

handle
required
string

Pseudonymous handle

Garage payload found

Media typeapplication/json
object
contact
object
watchlist_car_ids
Array<integer>

Example

{
"watchlist_car_ids": [
123,
456
]
}

Handle is unknown

Media typeapplication/json
object
error
string

Example

{
"error": "unknown_handle"
}

Garage is not enabled for the website, or the contact could not be created

Media typeapplication/json
object
error
string

Example

{
"error": "garage_not_enabled"
}