Add feedback

Add a feedback question

Add Feedback

POST https://{{account_id}}.acquire.io/api/v1/crm/feedback

Create feedback. The body requires keys of "question", "status", "type", "config", "departments", and "channels".

Headers

Request Body

{
  "data": {
    "question": "How satisfied are you with our products/services?",
    "status": "active",
    "type": "rating",
    "config": {
      "error_message": "Invalid Input",
      "required": true,
      "rating_type": "star",
      "limit": 1,
      "multiline": false,
      "values": [
        {
          "icon": "settings/feedback-5.svg",
          "label": "LIKE",
          "value": "5"
        }
      ]
    },
    "departments": [
      1
    ],
    "channels": [
      "chat"
    ],
    "dateCreated": "2021-03-18T07:41:18.341Z",
    "id": 37
  }
}

Body(raw)

{
  "question": "How satisfied are you with our products/services?",
  "status": "active",
  "type": "rating",
  "config": {
    "error_message": "Invalid Input",
    "required": true,
    "rating_type": "star",
    "limit": 1,
    "multiline": false,
    "values": [
      {
        "icon": "settings/feedback-5.svg",
        "label": "LIKE",
        "value": "5"
      }
    ]
  },
  "departments": [
    1
  ],
  "channels": [
    "chat"
  ]
}

Last updated