Phone calls webhook
POST
/api/v1/webhooks/phone_calls_webhooks
const url = 'https://dashboard.dealerstudio.com.au/api/v1/webhooks/phone_calls_webhooks';const options = { method: 'POST', headers: { x_api_key: 'correct_api_key', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"data":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.dealerstudio.com.au/api/v1/webhooks/phone_calls_webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x_api_key: correct_api_key' \ --data '{ "data": "example" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” x_api_key
required
string
Example
correct_api_keyRequest Body
Section titled “Request Body ” Media type application/json
object
data
string
Example generated
{ "data": "example"}Responses
Section titled “ Responses ”Enqueues phone call creation (generic service mode)
Unauthorised - invalid API key