POST
/
v1
/
incidents
/
{incident_id}
/
feedbacks
curl --request POST \
  --url https://api.rootly.com/v1/incidents/{incident_id}/feedbacks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_feedbacks",
    "attributes": {
      "feedback": "<string>",
      "rating": 4,
      "anonymous": true
    }
  }
}'
{
  "data": {
    "id": "f20b7812-ef18-4047-9907-3876032abb25",
    "type": "incident_feedbacks",
    "attributes": {
      "rating": 4,
      "rating_humanized": "Very satisfied",
      "feedback": "New Feedback",
      "anonymous": true,
      "updated_at": "2025-03-28T23:01:26.769-07:00",
      "created_at": "2025-03-28T23:01:26.769-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

incident_id
string
required

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
incident_feedback created
data
object
required