Skip to content
support

/api/v1/support/

POST
/api/v1/support/
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 }'
Media typeapplication/json
object
name
required
string
>= 1 characters <= 200 characters
email
string format: email
<= 320 characters /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
phone
string
>= 3 characters <= 20 characters
type
required
string
Allowed values: complaint support_request
details
required
string
>= 1 characters <= 5000 characters
consent
required
boolean

Default Response