> For the complete documentation index, see [llms.txt](https://api-docs.myhappyforce.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.myhappyforce.com/docs/api-reference/feedback-verification.md).

# Feedback Verification

## POST /api/v1/employee/feedback/{employeeId}/verify

> Verifies an Employee Feedback before publishing

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"employeeAPISessionId":[]}],"components":{"securitySchemes":{},"schemas":{"RecognitionFeedbackDTO":{"allOf":[{"$ref":"#/components/schemas/AbstractFeedbackDTO"},{"type":"object","properties":{"valueId":{"type":"string","description":"Id of the value for the recognition"},"target":{"$ref":"#/components/schemas/FeedbackTargetDTO","description":"To who is targeted the recognition"}}}],"description":"Recognition request POST message","required":["message","notAnonymous","privated","target","type","valueId"]},"AbstractFeedbackDTO":{"type":"object","description":"Base class for feedback post messages","discriminator":{"propertyName":"type","mapping":{"CONGRATULATION":"#/components/schemas/StandardFeedbackDTO","SUGGESTION":"#/components/schemas/SuggestionFeedbackDTO","INFORMATION":"#/components/schemas/StandardFeedbackDTO","RECOGNITION":"#/components/schemas/RecognitionFeedbackDTO","CRITICISM":"#/components/schemas/SomethingIsWrongFeedbackDTO"}},"properties":{"type":{"$ref":"#/components/schemas/FeedbackType","description":"Type of the feedback","enum":["CONGRATULATION, SUGGESTION, INFORMATION, RECOGNITION, CRITICISM"]},"date":{"type":"string","format":"date-time","description":"Date of the Feedback. If not posted, Server will add the reception one"},"privated":{"type":"boolean","description":"Should this feedback be hidden an only visible for managers?. Check Feedback Types endpoint to see the different modes"},"notAnonymous":{"type":"boolean","description":"Should this feedback be signed?"},"message":{"type":"string","description":"Core message of the feedback"},"verificationToken":{"type":"string","description":"If the feedback type requires verification, a result token must be attached before publishing"},"attachments":{"type":"array","description":"Attachements of the feedback, like images, etc","items":{"$ref":"#/components/schemas/FeedbackAttachementDTO"}},"additionalFields":{"type":"object","additionalProperties":{}}},"required":["message","notAnonymous","privated","type"]},"FeedbackType":{"type":"string","description":"Type of feedback","enum":["RECOGNITION","CONGRATULATION","SUGGESTION","INFORMATION","CRITICISM","OTHER","SCORE","ENPS","CLASSIFICATION_FOLLOWUP","QUESTION","SURVEY","ANNOUNCEMENT_COMMENT"]},"FeedbackAttachementDTO":{"type":"object","description":"Attachment for feedback (image, etc.): type, mime type, base64 or file URL.","properties":{"type":{"type":"string","description":"Attachment type (e.g. IMAGE)","enum":["IMAGE","VIDEO","EXTERNAL_GIF"]},"mimeType":{"type":"string","description":"MIME type of the file"},"base64":{"type":"string","description":"Base64-encoded content (when uploading)"},"fileURL":{"type":"string","description":"URL of the file (when already stored)"}}},"FeedbackTargetDTO":{"type":"object","description":"To who is targeted this feedback?","properties":{"name":{"type":"string","description":"To who is targeted the recognition. Just for FREE_TARGET, LIST_FREE_TARGET"},"description":{"type":"string","description":"Description of the target: Area, Manager name, or Employee Name. Just for FREE_TARGET, LIST_FREE_TARGET"},"id":{"type":"string","description":"The ID to who is targeted the recognition. Just for FREE_TARGET, LIST_FREE_TARGET feedback types"},"type":{"$ref":"#/components/schemas/FeedbackTargetType","description":"Which target type is this? is directed to someone or to a team"}}},"FeedbackTargetType":{"type":"string","description":"Feedback target type","enum":["EMPLOYEE","MANAGER","HIERARCHY","FREE"]},"SomethingIsWrongFeedbackDTO":{"allOf":[{"$ref":"#/components/schemas/AbstractFeedbackDTO"},{"type":"object","properties":{"makesMeFeel":{"type":"string","description":"Feedback Wrap makes me field value. Expected to not be empty"},"howToSolve":{"type":"string","description":"Feedback Wrap How To Solve. Expected to not be empty"}}}],"description":"Something is Wrong Feedback Post message","required":["howToSolve","makesMeFeel","message","notAnonymous","privated","type"]},"StandardFeedbackDTO":{"allOf":[{"$ref":"#/components/schemas/AbstractFeedbackDTO"}],"description":"Standard message used for Congratulation, Information and any other Type","required":["message","notAnonymous","privated","type"]},"SuggestionFeedbackDTO":{"allOf":[{"$ref":"#/components/schemas/AbstractFeedbackDTO"},{"type":"object","properties":{"containerId":{"type":"string","description":"Initiative id where to post this suggestion"}}}],"description":"Suggestion Feedback Post message","required":["containerId","message","notAnonymous","privated","type"]},"FeedbackVerificationResultDTO":{"type":"object","description":"Result of feedback verification/moderation: result type, moderation action, and optional message/suggestion.","properties":{"result":{"$ref":"#/components/schemas/VerificationResultType","description":"Verification result"},"moderationType":{"$ref":"#/components/schemas/ModerationType","description":"Moderation type applied"},"message":{"type":"string","description":"Optional message (e.g. reason for block)"},"suggestion":{"type":"string","description":"Optional suggestion for the user (e.g. when moderation type is SUGGESTION)"}}},"VerificationResultType":{"type":"string","description":"Verification outcome: VALID, INPROPER_IMAGE, INPROPER_TEXT, OTHER","enum":["VALID","INPROPER_IMAGE","INPROPER_TEXT","OTHER"]},"ModerationType":{"type":"string","description":"Moderation action: SUGGESTION (suggest change) or BLOCK","enum":["SUGGESTION","BLOCK"]}}},"paths":{"/api/v1/employee/feedback/{employeeId}/verify":{"post":{"tags":["Feedback Verification"],"description":"Verifies an Employee Feedback before publishing","operationId":"verifyFeedback","requestBody":{"content":{"application/json":{"schema":{"description":"Feedback message to be verified by the logged employee","oneOf":[{"$ref":"#/components/schemas/RecognitionFeedbackDTO"},{"$ref":"#/components/schemas/SomethingIsWrongFeedbackDTO"},{"$ref":"#/components/schemas/StandardFeedbackDTO"},{"$ref":"#/components/schemas/SuggestionFeedbackDTO"}]}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackVerificationResultDTO"}}}}}}}}}
```
