Fetches the garage payload for a handle
GET
/api/v1/websites/{website_id}/phone_identities/{handle}/garage
const url = 'https://dashboard.dealerstudio.com.au/api/v1/websites/example/phone_identities/example/garage';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”website_id
required
string
Website ID
handle
required
string
Pseudonymous handle
Responses
Section titled “Responses”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"}