Login
Sends to the employee a new company code
OK
No content
POST /api/v1/employee/unsubscribe HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"token": "text",
"comment": "text"
}OK
No content
Disassociates a session from the employee, usually called from a device on 'logout' flow
OK
No content
POST /api/v1/employee/unregister HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
No content
Sends to the employee an access link
OK
No content
POST /api/v1/employee/sendAccessLink HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
No content
Sends to the employee a new company code
OK
No content
POST /api/v1/employee/resend/{email} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
No content
Sends to the employee a new company code
OK
No content
POST /api/v1/employee/remind HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
No content
Register the employee with a company code for a device
Platform or channel where the client runs (iOS, Android, Web, Slack, etc.)
OK
POST /api/v1/employee/register HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"devicePlatform": "IOS"
}OK
{
"sessionToken": "text",
"companyConfig": {
"alertDays": [
1
],
"alertHour": 1,
"alertMinute": 1,
"enabledEmployeeFeatures": 1,
"indexTerminology": "HAPPINESS"
}
}Sends a live updateTopic of employee info and gets the Employee data
OK
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether 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.
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.
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.
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.
POST /api/v1/employee/login HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"timeZone": "text",
"language": "text",
"country": "text",
"appVersion": "text"
}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"
}Allows employees to self invite
OK
No content
POST /api/v1/employee/invitation/{email} HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"autoInviteToken": "text"
}OK
No content
Checks if the following mail exists on Happyforce
64f8a0e2d5b7c9a1e3f4a5b6OK
Type of user in the system, either an employee or a company user (admin, manager, etc).
POST /api/v1/employee/check/{emailOrId} HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"email": "text",
"key": "text"
}OK
{
"valid": true,
"accountLocked": true,
"companyBlocked": true,
"userType": "EMPLOYEE"
}Get's some info of a company for a given token
OK
Company info: name and image path.
Company name
URL or path to the company image
GET /api/v1/employee/invitation/info/{token} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"companyName": "text",
"companyImagePath": "text"
}Get's some info of a company for a given token
64f8a0e2d5b7c9a1e3f4a5b6OK
64f8a0e2d5b7c9a1e3f4a5b6GET /api/v1/employee/employee/info/{id} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"email": "text",
"companyName": "text",
"companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"sessionToken": "text",
"language": "text"
}Last updated