Skip to main content

Send Unleash feedback

POST <your-unleash-url>/api/admin/feedback

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Sends feedback gathered from the Unleash UI to the Unleash server. Must be called with a token with an identifiable user (either from being sent from the UI or from using a PAT).

Request

Body

required

feedbackCreateSchema

  • neverShow boolean

    true if the user has asked never to see this feedback questionnaire again. Defaults to false.

  • feedbackId string required

    The name of the feedback session

Responses

feedbackResponseSchema

Schema
  • userId integer

    The ID of the user that gave the feedback.

  • neverShow boolean

    true if the user has asked never to see this feedback questionnaire again.

  • given date-time nullable

    When this feedback was given

  • feedbackId string

    The name of the feedback session

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
Body required
{
"neverShow": false,
"feedbackId": "pnps"
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/feedback' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"neverShow": false,
"feedbackId": "pnps"
}'