List/index Contacts
GET
/dealerships/{dealership_id}/contacts
const url = 'https://dashboard.dealerstudio.com.au/dealerships/example/contacts';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/dealerships/example/contacts \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” dealership_id
required
string
Dealership ID
Responses
Section titled “ Responses ”List Contacts
Media type application/json
Examples
Example success
[ { "id": 1, "dealership_id": 1, "first_name": "John", "postcode": null, "vehicles": [ { "make": "Toyota", "raw_model": "Corolla", "year": 2019, "rego": "ABC123", "id": 1 } ] }]