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

Configuration

post

Sets the configuration of an employee.

Authorizations
Body
hierarchyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

application/json
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyNamestringOptional
companyTimeZonestringOptional
appStylestringOptional
hierarchyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
hierarchyNamestringOptional
configCompletedbooleanOptional
requireVotebooleanOptional
pendingAnnouncementsbooleanOptional
pendingFeedbackbooleanOptional
pendingConversationsbooleanOptional

Whether the user has pending conversations to show on login (open, with the last message from the company side, not the employee's own). When true, fetch the list from GET /v1/employee/conversations/{employeeId}/pending.

conversationsDisplayMomentstring · enumOptional

When pendingConversations is true, whether the on-login conversations list should be shown BEFORE_VOTE or AFTER_VOTE. Null when the on-login conversations feature is disabled.

Possible values:
requireFirstTimeCommentFilterbooleanOptional
namestringOptional
profileImagePathstringOptional
rolestring · enumOptionalPossible values:
debugbooleanOptional
canResetProfilebooleanOptional
canManagebooleanOptional
canBlockUsersbooleanOptional
hasHFMebooleanOptionalDeprecated
canHFMebooleanOptional
canRegisterTimebooleanOptional
hfMeActivatedbooleanOptional
canUseHerobooleanOptional
rewardsEnabledbooleanOptional
podiumEnabledbooleanOptional

Whether the monthly rewards podium is enabled (rewards enabled AND the podium turned on). Gates the podium tab independently of the rest of the rewards UI.

canManageHierarchybooleanOptional
externalIdstringOptional
votingFlowstring · enumOptionalPossible values:
indexTerminologystring · enumOptional

Vocabulary a company uses for its engagement index. HAPPINESS keeps the historical "Happiness Index" wording (default for existing companies); WELLBEING shows the "Wellbeing Index" wording. Presentation only — it does not change how the index is computed.

Possible values:
post/api/v1/employee/configuration/{employeeId}
POST /api/v1/employee/configuration/{employeeId} HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 177

{
  "hierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "characteristics": [
    {
      "characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "questionType": "DATE",
      "value": true
    }
  ]
}
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "companyName": "text",
  "companyTimeZone": "text",
  "appStyle": "text",
  "hierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "hierarchyName": "text",
  "configCompleted": true,
  "requireVote": true,
  "pendingAnnouncements": true,
  "pendingFeedback": true,
  "pendingConversations": true,
  "conversationsDisplayMoment": "BEFORE_VOTE",
  "requireFirstTimeCommentFilter": true,
  "name": "text",
  "profileImagePath": "text",
  "role": "ADVISOR",
  "debug": true,
  "canResetProfile": true,
  "canManage": true,
  "canBlockUsers": true,
  "canHFMe": true,
  "canRegisterTime": true,
  "hfMeActivated": true,
  "canUseHero": true,
  "rewardsEnabled": true,
  "podiumEnabled": true,
  "canManageHierarchy": true,
  "externalId": "text",
  "votingFlow": "QUESTIONS",
  "indexTerminology": "HAPPINESS"
}
delete

Resets the configuration of an employee.

Authorizations
Responses
200

OK

application/json
idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyNamestringOptional
companyTimeZonestringOptional
appStylestringOptional
hierarchyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
hierarchyNamestringOptional
configCompletedbooleanOptional
requireVotebooleanOptional
pendingAnnouncementsbooleanOptional
pendingFeedbackbooleanOptional
pendingConversationsbooleanOptional

Whether the user has pending conversations to show on login (open, with the last message from the company side, not the employee's own). When true, fetch the list from GET /v1/employee/conversations/{employeeId}/pending.

conversationsDisplayMomentstring · enumOptional

When pendingConversations is true, whether the on-login conversations list should be shown BEFORE_VOTE or AFTER_VOTE. Null when the on-login conversations feature is disabled.

Possible values:
requireFirstTimeCommentFilterbooleanOptional
namestringOptional
profileImagePathstringOptional
rolestring · enumOptionalPossible values:
debugbooleanOptional
canResetProfilebooleanOptional
canManagebooleanOptional
canBlockUsersbooleanOptional
hasHFMebooleanOptionalDeprecated
canHFMebooleanOptional
canRegisterTimebooleanOptional
hfMeActivatedbooleanOptional
canUseHerobooleanOptional
rewardsEnabledbooleanOptional
podiumEnabledbooleanOptional

Whether the monthly rewards podium is enabled (rewards enabled AND the podium turned on). Gates the podium tab independently of the rest of the rewards UI.

canManageHierarchybooleanOptional
externalIdstringOptional
votingFlowstring · enumOptionalPossible values:
indexTerminologystring · enumOptional

Vocabulary a company uses for its engagement index. HAPPINESS keeps the historical "Happiness Index" wording (default for existing companies); WELLBEING shows the "Wellbeing Index" wording. Presentation only — it does not change how the index is computed.

Possible values:
delete/api/v1/employee/configuration/{employeeId}
DELETE /api/v1/employee/configuration/{employeeId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "companyName": "text",
  "companyTimeZone": "text",
  "appStyle": "text",
  "hierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "hierarchyName": "text",
  "configCompleted": true,
  "requireVote": true,
  "pendingAnnouncements": true,
  "pendingFeedback": true,
  "pendingConversations": true,
  "conversationsDisplayMoment": "BEFORE_VOTE",
  "requireFirstTimeCommentFilter": true,
  "name": "text",
  "profileImagePath": "text",
  "role": "ADVISOR",
  "debug": true,
  "canResetProfile": true,
  "canManage": true,
  "canBlockUsers": true,
  "canHFMe": true,
  "canRegisterTime": true,
  "hfMeActivated": true,
  "canUseHero": true,
  "rewardsEnabled": true,
  "podiumEnabled": true,
  "canManageHierarchy": true,
  "externalId": "text",
  "votingFlow": "QUESTIONS",
  "indexTerminology": "HAPPINESS"
}
post

Get's the employees current personal configuration.

Authorizations
Body

Personal configuration for the current user: e.g. whether Me section is activated.

meActivatedbooleanOptional

Whether the Me / personal area is activated

Responses
200

OK

application/json

Personal configuration for the current user: e.g. whether Me section is activated.

meActivatedbooleanOptional

Whether the Me / personal area is activated

post/api/v1/employee/configuration/{employeeId}/settings
POST /api/v1/employee/configuration/{employeeId}/settings HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "meActivated": true
}
200

OK

{
  "meActivated": true
}
get

Get's the employees current participation configuration.

Authorizations
Responses
200

OK

application/json

Participation profile configuration: hierarchy and characteristics (segments) for the user.

get/api/v1/employee/configuration/{employeeId}/company
GET /api/v1/employee/configuration/{employeeId}/company HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

{
  "hierarchy": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "parentId": "64f8a0e2d5b7c9a1e3f4a5b6",
      "name": "text",
      "children": []
    }
  ],
  "characteristics": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "question": "text",
      "questionType": "DATE"
    }
  ]
}

Last updated