Enps Configuration Resource
get
Authorizations
SessionIdstringRequired
SessionId
Responses
200
OK
*/*
questionIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6enabledbooleanOptional
fullPeriodbooleanOptional
measuringNowbooleanOptional
lastMeasurestring · date-timeOptional
nextMeasurestring · date-timeOptional
numberOfMeasuresinteger · int32Optional
currentPeriodHasVotesbooleanOptional
get/api/v1/company/enps/configuration
GET /api/v1/company/enps/configuration HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"questionId": "64f8a0e2d5b7c9a1e3f4a5b6",
"enabled": true,
"fullPeriod": true,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"shortDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"reason": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"reasonTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"reasonDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"first": {
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
},
"last": {
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
},
"measuringNow": true,
"lastMeasure": "2026-01-01T00:00:00.000Z",
"nextMeasure": "2026-01-01T00:00:00.000Z",
"numberOfMeasures": 1,
"currentPeriodHasVotes": true
}post
Authorizations
SessionIdstringRequired
SessionId
Body
enabledbooleanOptional
fullPeriodbooleanOptional
Responses
200
OK
No content
post/api/v1/company/enps/configuration
POST /api/v1/company/enps/configuration HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 365
{
"enabled": true,
"reason": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"reasonTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"reasonDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"fullPeriod": true
}200
OK
No content
get
Authorizations
SessionIdstringRequired
SessionId
Responses
200
OK
*/*
hasSchedulebooleanOptional
measuringNowbooleanOptional
hasVotesbooleanOptional
measureFromstring · date-timeOptional
measureTostring · date-timeOptional
get/api/v1/company/enps/configuration/schedules
GET /api/v1/company/enps/configuration/schedules HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"hasSchedule": true,
"measuringNow": true,
"hasVotes": true,
"measureFrom": "2026-01-01T00:00:00.000Z",
"measureTo": "2026-01-01T00:00:00.000Z"
}Last updated