Enps

get

Retrieves the eNPS stats for the requested period

Authorizations
Query parameters
fromstring · date-timeOptional

Start date for retrieving stats (ddMMyyyy format). If null: Today minus one month

tostring · date-timeOptional

End date for retrieving stats (ddMMyyyy format). If null: Today

profilestringOptional

Profile filter string. If not specified, no profile filtering will be applied.

Example: profileId1:allowedValueId,profileId2:allowedValueId...
Responses
200

OK

*/*
get
GET /v1/public/company/stats/enps HTTP/1.1
Host: api.happyforce.com
happyforceAPIKey: YOUR_API_KEY
Accept: */*
200

OK

{
  "from": "2025-08-29T17:32:12.596Z",
  "to": "2025-08-29T17:32:12.596Z",
  "result": 1,
  "averageResult": 1,
  "participants": 1,
  "expectedParticipants": 1,
  "dateResults": [
    {
      "date": "2025-08-29T17:32:12.596Z",
      "participants": 1,
      "expectedParticipants": 1,
      "result": 1,
      "averageResult": 1,
      "dectractors": 1,
      "neutral": 1,
      "promoters": 1,
      "quality": "NO_DATA",
      "valuation": "NO_DATA"
    }
  ],
  "dectractors": 1,
  "neutral": 1,
  "promoters": 1,
  "quality": "NO_DATA",
  "valuation": "NO_DATA"
}

Was this helpful?