Create Feedback

Send a feedback.

Parameters
  • dataformData, objectRequired

    Form Data needed when sending a feedback.

    • typestringRequired

      Provide Feedback type. Current selection is only feedbacks.

    • attributesformData, objectRequired

      Attributes object with a few required fields.

      • subjectstringRequired

        The subject.

      • contentstringRequired

        The content message.

POST/api/v1/feedbacks/send

{
  const res = await fetch(`${BASE_URL}/api/v1/feedbacks/send`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(data)});

  const data = await res.json();
}

RESPONSE