support
/api/v1/support/
POST
/api/v1/support/
const url = 'https://dpg.example.com/api/v1/support/';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, body: '{"name":"example","email":"hello@example.com","phone":"example","type":"complaint","details":"example","consent":true}'};
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://dpg.example.com/api/v1/support/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "name": "example", "email": "hello@example.com", "phone": "example", "type": "complaint", "details": "example", "consent": true }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
email
string format: email
phone
string
type
required
string
details
required
string
consent
required
boolean
Responses
Section titled “Responses”Default Response

