Support Requests

The support requests api allows you to send a support request to the Webgate team on behalf of the user.

Send a support request POST /api/support_requests body: {"support_request" : {"email": "", "name": "John Doe", "phone": "+49.89.1234", "subject": "Help me", "message": "I am lost"}}

Example request


POST /api/support_requests HTTP/1.1

{"support_request" : {
  "email": "",
  "name": "John Doe",
  "phone": "+49.89.1234",
  "subject": "Help me",
  "message": "I am lost"

Curl Example:

curl -X POST \ \
  -H 'accept: application/json' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{"support_request" : {"email": "", "name": "John Doe", "phone": "+49.89.1234", "subject": "Help me", "message": "I am lost"}}'

Successful Response:

HTTP/1.1 201 Created
Content-Type: application/json

  "status": 201,
  "status_message": "Created",
  "info": "",
  "data": {
    "supportrequest": {
      "id": 2,
      "name": "John Doe",
      "email": "",
      "phone": "+49.89.1234",
      "subject": "Help me",
      "message": "I am lost",
      "created_at": "2017-10-06T16:32:19.441+02:00",
      "updated_at": "2017-10-06T16:32:19.441+02:00"