Generic phone calls webhook
POST
/api/v1/webhooks/phone_calls_webhooks/generic
const url = 'https://dashboard.dealerstudio.com.au/api/v1/webhooks/phone_calls_webhooks/generic';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"called_number":"example","caller_number":"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/generic \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "called_number": "example", "caller_number": "example" }'Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ” Media type application/json
object
called_number
string
caller_number
string
Example generated
{ "called_number": "example", "caller_number": "example"}Responses
Section titled “ Responses ”Accepted
Unauthorised - missing token