POST
/
feedbacks
curl --request POST \
  --url https://insights.reforge.com/api/v1/feedbacks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "isTranscript": true,
  "tags": [
    "<string>"
  ],
  "contact": {
    "name": "<string>",
    "email": "<string>",
    "sourceData": {}
  },
  "contactId": "<string>",
  "account": {
    "name": "<string>",
    "domain": "<string>",
    "contractValue": 123,
    "sourceData": {}
  },
  "accountId": "<string>",
  "source": "<string>",
  "sourceId": "<string>",
  "shouldUnflattenSourceData": true,
  "sourceData": {},
  "rating": 123
}'
{
  "feedback": {
    "id": "<string>",
    "description": "<string>",
    "customerId": "<string>",
    "projectId": "<string>",
    "rating": 123,
    "sourceId": "<string>",
    "sourceData": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
description
string
required

The feedback content. Can be plain text or include basic HTML elements

title
string | null

The feedback title, when provided

isTranscript
boolean | null

Whether the feedback is a transcript

tags
string[] | null

A list of string tags to apply to the feedback. If excluded or null value provided, tags will be auto-generated based on description content.

contact
object | null

The Contact who provided the feedback

contactId
string | null

ID of Contact to associate to

account
object | null

The customer account to which the feedback should be associated

accountId
string | null

ID of CustomerAccount to associate to

source
string | null

The source of the feedback. Default: API (when excluded or provided as null

sourceId
string | null

Unique ID from source data for later consolidation or aggregation

shouldUnflattenSourceData
boolean | null

Whether to unflatten sourceData that are meant to be nested objects for example { "plan.type": "Pro" } will be unflattened to { "plan": { "type": "Pro" } }

sourceData
object | null

Dictionary to provide other key-value pairs such as the url, view identifier, or other information

rating
number | null

The numeric rating (integer)

Response

201 - application/json
The feedback was created successfully
feedback
object