Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Survey Resource

get
Authorizations
SessionIdstringRequired

SessionId

Path parameters
surveyIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
get/api/v1/company/surveys/{surveyId}
GET /api/v1/company/surveys/{surveyId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

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
}
put
Authorizations
SessionIdstringRequired

SessionId

Path parameters
surveyIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Body

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
put/api/v1/company/surveys/{surveyId}
PUT /api/v1/company/surveys/{surveyId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 2411

{
  "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
}
200

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
}
delete
Authorizations
SessionIdstringRequired

SessionId

Path parameters
surveyIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
delete/api/v1/company/surveys/{surveyId}
DELETE /api/v1/company/surveys/{surveyId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

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
}
get
Authorizations
SessionIdstringRequired

SessionId

Path parameters
surveyIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Query parameters
fromstring · date-timeOptional
tostring · date-timeOptional
Responses
200

OK

*/*

Survey Round Data Transfer Object

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
fromstring · date-timeOptional
tostring · date-timeOptional
get/api/v1/company/surveys/{surveyId}/plan
GET /api/v1/company/surveys/{surveyId}/plan HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

[
  {
    "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"
  }
]
put
Authorizations
SessionIdstringRequired

SessionId

Path parameters
surveyIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Body

The details of the schedule to be updated

appSurveybooleanOptional
mailSurveybooleanOptional
hierarchyIdsstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
groupIdsstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
pausedbooleanOptional
archivedbooleanOptional
mandatorybooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
put/api/v1/company/surveys/{surveyId}/plan
PUT /api/v1/company/surveys/{surveyId}/plan HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 817

{
  "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"
}
200

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
}
delete
Authorizations
SessionIdstringRequired

SessionId

Path parameters
surveyIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
delete/api/v1/company/surveys/{surveyId}/plan
DELETE /api/v1/company/surveys/{surveyId}/plan HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

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
}
get
Authorizations
SessionIdstringRequired

SessionId

Query parameters
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
frominteger · int32OptionalDefault: 0
tointeger · int32OptionalDefault: 10
Responses
200

OK

*/*
frominteger · int32Optional
tointeger · int64Optional
totalinteger · int64Optional
get/api/v1/company/surveys
GET /api/v1/company/surveys HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

{
  "from": 1,
  "to": 1,
  "total": 1,
  "result": [
    {
      "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
Authorizations
SessionIdstringRequired

SessionId

Body

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
post/api/v1/company/surveys
POST /api/v1/company/surveys HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 2411

{
  "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
}
200

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
Authorizations
SessionIdstringRequired

SessionId

Path parameters
surveyIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Body

The details of the reminder to be created

appReminderbooleanOptional
mailReminderbooleanOptional
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
post/api/v1/company/surveys/{surveyId}/reminder
POST /api/v1/company/surveys/{surveyId}/reminder HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 251

{
  "message": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "header": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "appReminder": true,
  "mailReminder": true
}
200

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
Authorizations
SessionIdstringRequired

SessionId

Body

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-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.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
Responses
200

OK

string · binaryOptional
post/api/v1/company/surveys/export
POST /api/v1/company/surveys/export HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 2411

{
  "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
}
200

OK

binary
get
Authorizations
SessionIdstringRequired

SessionId

Query parameters
categoryIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
categoryIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
activebooleanOptional
restrictedToCompaniesstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
imagePathstringOptional
usedInstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
get/api/v1/company/surveys/templates
GET /api/v1/company/surveys/templates?categoryId=64f8a0e2d5b7c9a1e3f4a5b6 HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

[
  {
    "id": "64f8a0e2d5b7c9a1e3f4a5b6",
    "categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
    "active": true,
    "restrictedToCompanies": [
      "64f8a0e2d5b7c9a1e3f4a5b6"
    ],
    "restrictedToIndustries": [
      "ACCOMMODATION_AND_FOOT_SERVICES"
    ],
    "title": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "description": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "catalogTitle": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "catalogDescription": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "imagePath": "text",
    "blocks": [
      {
        "id": "64f8a0e2d5b7c9a1e3f4a5b6",
        "order": 1,
        "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
          }
        ]
      }
    ],
    "usedIn": [
      "64f8a0e2d5b7c9a1e3f4a5b6"
    ]
  }
]
get
Authorizations
SessionIdstringRequired

SessionId

Path parameters
templateIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
categoryIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
activebooleanOptional
restrictedToCompaniesstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
imagePathstringOptional
usedInstring[]OptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
get/api/v1/company/surveys/templates/{templateId}
GET /api/v1/company/surveys/templates/{templateId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "active": true,
  "restrictedToCompanies": [
    "64f8a0e2d5b7c9a1e3f4a5b6"
  ],
  "restrictedToIndustries": [
    "ACCOMMODATION_AND_FOOT_SERVICES"
  ],
  "title": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "description": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "catalogTitle": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "catalogDescription": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "imagePath": "text",
  "blocks": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "order": 1,
      "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
        }
      ]
    }
  ],
  "usedIn": [
    "64f8a0e2d5b7c9a1e3f4a5b6"
  ]
}
get
Authorizations
SessionIdstringRequired

SessionId

Responses
200

OK

*/*
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
colorstringOptional
iconPathstringOptional
get/api/v1/company/surveys/templates/categories
GET /api/v1/company/surveys/templates/categories HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200

OK

[
  {
    "id": "64f8a0e2d5b7c9a1e3f4a5b6",
    "name": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "description": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "color": "text",
    "iconPath": "text"
  }
]

Last updated