Feedback
Post Employee Feedback
Feedback message to be posted by the logged employee
OK
No content
POST /api/v1/employee/feedback/{employeeId} HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 463
{
"type": "CONGRATULATION, SUGGESTION, INFORMATION, RECOGNITION, CRITICISM",
"date": "2026-01-01T00:00:00.000Z",
"privated": true,
"notAnonymous": true,
"message": "text",
"verificationToken": "text",
"attachments": [
{
"type": "IMAGE",
"mimeType": "text",
"base64": "text",
"fileURL": "text"
}
],
"additionalFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"valueId": "64f8a0e2d5b7c9a1e3f4a5b6",
"target": {
"name": "text",
"description": "text",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "EMPLOYEE"
}
}OK
No content
Retrieves available feedback types for this employee
OK
GET /api/v1/employee/feedback/{employeeId}/types HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
[
{
"type": "RECOGNITION",
"privateMode": "OPEN",
"signatureMode": "ANONYMOUS",
"targetMode": "NO_TARGET",
"allowedAttachementTypes": [
"IMAGE"
],
"requiresVerification": true,
"maxLength": 1,
"imageURL": "text",
"feedbackLevelMode": "ANONYMOUS_OPEN",
"availableCommentCount": 1,
"defaultSignatureMode": "SIGNED",
"values": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"iconImagePath": "text"
}
]
}
]Retrieves feedback Targets
Type of feedback
OK
Group of feedback targets (e.g. hierarchy or list of people).
Unique identifier of the target group
64f8a0e2d5b7c9a1e3f4a5b6Display name of the group
Target type (e.g. hierarchy, free target)
GET /api/v1/employee/feedback/{employeeId}/target/{feedbackType} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"type": "EMPLOYEE",
"targets": [
{
"name": "text",
"description": "text",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "EMPLOYEE"
}
]
}
]Get's feedback pending unread comments
OK
Count of unread comments: private and public.
Number of unread private comments
Number of unread public comments
GET /api/v1/employee/feedback/{employeeId}/status HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"unreadPrivate": 1,
"unreadPublic": 1
}Retrieves the private feedback for a given user
010OK
Paginated list of comments for a question, with question info and range (from, to, total).
Start index of the returned page
End index of the returned page
Total number of comments
GET /api/v1/employee/feedback/{employeeId}/private HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"question": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"primary": true,
"createdOn": "2026-01-01T00:00:00.000Z",
"activationDate": "2026-01-01T00:00:00.000Z",
"createdBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"updatedBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "GENERAL",
"hierarchyIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
],
"groupIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"resultValues": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"notifyByPush": true,
"notifyByMail": true,
"notified": true,
"privated": true,
"nonAnonymous": true,
"voteMode": "MANDATORY",
"feedbackEnabled": true,
"minSelection": 1,
"maxSelection": 1,
"status": "ANY",
"activationRule": {
"ruleType": "SINGLE",
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z",
"cronExpression": "text",
"startAt": "2026-01-01T00:00:00.000Z",
"endAt": "2026-01-01T00:00:00.000Z",
"duration": 1
},
"activations": [
{
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z"
}
]
},
"from": 1,
"to": 1,
"total": 1,
"comments": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"feedbackType": "RECOGNITION",
"feedbackTypeImage": "text",
"privated": true,
"date": "2026-01-01T00:00:00.000Z",
"comment": "text",
"hierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"hierarchyName": "text",
"hierarchyAnonymized": true,
"flaggedAnonymous": true,
"votes": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"attachments": [
{
"type": "IMAGE",
"fileURL": "text"
}
],
"allowStartConversation": true,
"conversationOwnerId": "64f8a0e2d5b7c9a1e3f4a5b6",
"signerId": "64f8a0e2d5b7c9a1e3f4a5b6",
"conversationId": "64f8a0e2d5b7c9a1e3f4a5b6",
"hasBeenSeen": true,
"allowPrivatedSwap": true,
"value": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"iconImagePath": "text"
},
"target": {
"name": "text",
"description": "text",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "EMPLOYEE"
},
"hrRelevant": true,
"hrTags": [
"text"
],
"sentimentScore": {
"agreement": true,
"ironic": true,
"subjective": true,
"score": 1,
"positivity": 1
},
"entities": [
{
"form": "text",
"relevance": 1,
"type": "text"
}
],
"concepts": [
{
"form": "text",
"relevance": 1,
"type": "text"
}
],
"emotions": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"personalities": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"personas": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"announcementId": "64f8a0e2d5b7c9a1e3f4a5b6",
"replies": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"date": "2026-01-01T00:00:00.000Z",
"comment": "text",
"hierarchy": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"parentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"children": []
},
"likes": 1,
"liked": true,
"dislikes": 1,
"disliked": true,
"inappropriates": 1,
"inappropriated": true,
"flaggedInapropriate": true,
"flaggedAnonymous": true,
"rating": 1,
"questionValue": {
"id": 1,
"score": 1,
"value": "text",
"imageUrl": "text",
"color": "text",
"reflectionPrompt": "text"
},
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"containerPreview": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "IDEA_INITIATIVE",
"title": "text",
"imageUrl": "text"
},
"html": true,
"sourceComment": "text",
"allowLike": true,
"allowDislike": true,
"allowFlagInappropriate": true,
"additionalFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"attachments": [
{
"type": "IMAGE",
"fileURL": "text"
}
],
"hasBeenSeen": true,
"highlightScore": 1
}
],
"clusters": [
{
"title": "text",
"score": 1
}
],
"hrPositivenessClassification": "POSITIVE",
"replied": true,
"allowReply": true,
"allowNonAnonymousReply": true,
"originalPrivated": true,
"privateStatusChangedById": "64f8a0e2d5b7c9a1e3f4a5b6",
"privateStatusChangedOn": "2026-01-01T00:00:00.000Z",
"allowTypeSwap": true,
"likes": 1,
"dislikes": 1,
"inappropriate": true,
"inappropriates": 1,
"employeeInnappropiateFeedback": [
{
"date": "2026-01-01T00:00:00.000Z",
"type": "THRESHOLD",
"reason": "text"
}
],
"inappropriateReasonType": "THRESHOLD",
"inappropriateSourceType": "EMPLOYEES",
"commentRefereed": {
"userId": "64f8a0e2d5b7c9a1e3f4a5b6",
"date": "2026-01-01T00:00:00.000Z"
},
"inappropriateReason": "text",
"statuses": [
{
"statusTypeId": "64f8a0e2d5b7c9a1e3f4a5b6",
"date": "2026-01-01T00:00:00.000Z",
"userId": "64f8a0e2d5b7c9a1e3f4a5b6",
"current": true
}
],
"container": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
}
},
"refereed": {
"userId": "64f8a0e2d5b7c9a1e3f4a5b6",
"date": "2026-01-01T00:00:00.000Z"
},
"hierarchy": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"parentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"children": []
},
"liked": true,
"disliked": true,
"inappropriated": true,
"flaggedInapropriate": true,
"rating": 1,
"questionValue": {
"id": 1,
"score": 1,
"value": "text",
"imageUrl": "text",
"color": "text",
"reflectionPrompt": "text"
},
"signature": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"description": "text",
"profileImagePath": "text"
},
"containerPreview": {
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"type": "IDEA_INITIATIVE",
"title": "text",
"imageUrl": "text"
},
"html": true,
"sourceComment": "text",
"allowLike": true,
"allowDislike": true,
"allowFlagInappropriate": true,
"additionalFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"questionId": "64f8a0e2d5b7c9a1e3f4a5b6",
"hasConversation": true,
"conversationOwned": true,
"conversationUpdated": true,
"requiresReplyVerification": true,
"replySignatureMode": "ANONYMOUS",
"allowedReplyAttachmentTypes": [
"IMAGE"
],
"status": {
"color": "text",
"label": "text",
"description": "text"
},
"context": {
"type": "text",
"announcementId": "text"
}
}
]
}Retrieves available feedback types for this employee
OK
GET /api/v1/employee/feedback/{employeeId}/availableTypes HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
[
{
"type": "RECOGNITION",
"privateMode": "OPEN",
"signatureMode": "ANONYMOUS",
"targetMode": "NO_TARGET",
"allowedAttachementTypes": [
"IMAGE"
],
"requiresVerification": true,
"maxLength": 1,
"imageURL": "text",
"feedbackLevelMode": "ANONYMOUS_OPEN",
"availableCommentCount": 1,
"defaultSignatureMode": "SIGNED",
"values": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"iconImagePath": "text"
}
]
}
]Last updated