Surveys
Get's pending survey status for a given employee
64f8a0e2d5b7c9a1e3f4a5b6OK
The details of the survey to be created
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Per-survey viewer allow-list: ids of the managers allowed to view this survey's results. Null/empty means every manager of the targeted area may view the results; when populated, only these managers (plus admins/advisors and the creator) may. Serialized as an array of person id strings.
64f8a0e2d5b7c9a1e3f4a5b6Status of a survey or questionnaire
GET /api/v1/employee/surveys/{employeeId}/survey/{surveyRoundId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"createdOn": "2026-01-01T00:00:00.000Z",
"createdBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"updatedBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"updatedOn": "2026-01-01T00:00:00.000Z",
"managerAccessEnabled": true,
"allowedViewerIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"notAnonymous": true,
"canUpdate": true,
"canViewResults": true,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"schedulePlan": {
"roundTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"appSurvey": true,
"mailSurvey": true,
"communicationTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"communicationDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"activationRule": {
"ruleType": "SINGLE",
"ruleExpression": "text",
"startAt": "2026-01-01T00:00:00.000Z",
"endAt": "2026-01-01T00:00:00.000Z",
"duration": 1
},
"hierarchyIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
],
"groupIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"paused": true,
"archived": true,
"mandatory": true,
"status": "PAUSED"
},
"rounds": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z"
}
],
"blocks": [
{
"blockId": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questions": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questionType": "GENERAL",
"order": 1,
"visible": true,
"computeInBlock": true,
"feedbackEnabled": true,
"voteMode": "MANDATORY",
"representation": "IMAGES",
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"requireNotEmpty": true
}
]
}
],
"status": "PAUSED",
"hasReports": true
}Post a survey answer status for a given employee
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Type of feedback
OK
No content
POST /api/v1/employee/surveys/{employeeId}/survey/{surveyRoundId} HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 254
{
"questionId": "64f8a0e2d5b7c9a1e3f4a5b6",
"selectedValue": 1,
"selectedValues": [
1
],
"message": "text",
"date": "2026-01-01T00:00:00.000Z",
"feedbackType": "RECOGNITION",
"additionalFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"privated": true,
"notAnonymous": true
}OK
No content
Checks a reply for moderation before posting
64f8a0e2d5b7c9a1e3f4a5b6Type of feedback
OK
Result of feedback verification/moderation: result type, moderation action, and optional message/suggestion.
Verification result
Moderation type applied
Optional message (e.g. reason for block)
Optional suggestion for the user (e.g. when moderation type is SUGGESTION)
POST /api/v1/employee/surveys/{employeeId}/survey/{surveyRoundId}/verify HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 254
{
"questionId": "64f8a0e2d5b7c9a1e3f4a5b6",
"selectedValue": 1,
"selectedValues": [
1
],
"message": "text",
"date": "2026-01-01T00:00:00.000Z",
"feedbackType": "RECOGNITION",
"additionalFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"privated": true,
"notAnonymous": true
}OK
{
"result": "VALID",
"moderationType": "SUGGESTION",
"message": "text",
"suggestion": "text"
}Get's pending survey status for a given employee
OK
Pending survey/round status: ids, title, description, dates, question counts, time, signature mode, mandatory.
Survey round identifier
64f8a0e2d5b7c9a1e3f4a5b6Survey identifier
64f8a0e2d5b7c9a1e3f4a5b6Title
Description
URL or path to the image
End date
Total number of questions
Number of pending questions
Total time (e.g. in minutes)
Signature mode
Whether the survey is mandatory
GET /api/v1/employee/surveys/{employeeId}/status HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
[
{
"roundId": "64f8a0e2d5b7c9a1e3f4a5b6",
"surveyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": "text",
"description": "text",
"imagePath": "text",
"endDate": "2026-01-01T00:00:00.000Z",
"totalQuestions": 1,
"pendingQuestions": 1,
"totalTime": 1,
"signatureMode": "ANONYMOUS",
"mandatory": true
}
]Last updated