Employees
Last updated
Was this helpful?
Last updated
Was this helpful?
GET /api/v1/public/company/employees HTTP/1.1
Host: api.myhappyforce.com
happyforceAPIKey: YOUR_API_KEY
Accept: */*
[
{
"name": "text",
"email": "text",
"hierarchyId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"profile": [
{
"id": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"date": "2025-06-23T06:22:43.628Z",
"valueId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
}
],
"groupIds": [
{
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
]
}
]
GET /api/v1/public/company/employees/{employeeEmail} HTTP/1.1
Host: api.myhappyforce.com
happyforceAPIKey: YOUR_API_KEY
Accept: */*
{
"name": "text",
"email": "text",
"hierarchyId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"profile": [
{
"id": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"date": "2025-06-23T06:22:43.628Z",
"valueId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
}
],
"groupIds": [
{
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
]
}
The details of the employee you want to invite to Happyforce
Name of the employee
Email of the employee
PUT /api/v1/public/company/employees/{employeeEmail} HTTP/1.1
Host: api.myhappyforce.com
happyforceAPIKey: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 320
{
"name": "text",
"email": "text",
"hierarchyId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"profile": [
{
"id": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"date": "2025-06-23T06:22:43.628Z",
"valueId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
}
],
"groupIds": [
{
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
]
}
{
"name": "text",
"email": "text",
"hierarchyId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"profile": [
{
"id": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
},
"date": "2025-06-23T06:22:43.628Z",
"valueId": {
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
}
],
"groupIds": [
{
"timestamp": 1,
"date": "2025-06-23T06:22:43.628Z"
}
]
}