> For the complete documentation index, see [llms.txt](https://api-docs.myhappyforce.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.myhappyforce.com/docs/api-reference/feedback-stats-resource.md).

# Feedback Stats Resource

## GET /api/v1/company/stats/feedback/from/{from}/to/{to}

>

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"companyAPISessionId":[]}],"components":{"securitySchemes":{"companyAPISessionId":{"type":"apiKey","description":"SessionId","name":"SessionId","in":"header"}},"schemas":{"FeedbackStats":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"results":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/FeedbackDateStats"}}},"totalByType":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}},"FeedbackDateStats":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/FeedbackType"},"count":{"type":"integer","format":"int32"}}},"FeedbackType":{"type":"string","description":"Type of feedback","enum":["RECOGNITION","CONGRATULATION","SUGGESTION","INFORMATION","CRITICISM","OTHER","SCORE","ENPS","CLASSIFICATION_FOLLOWUP","QUESTION","SURVEY","ANNOUNCEMENT_COMMENT"]}}},"paths":{"/api/v1/company/stats/feedback/from/{from}/to/{to}":{"get":{"tags":["feedback-stats-resource"],"operationId":"getFeedbackStats","parameters":[{"name":"from","in":"path","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"path","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"hierarchyId","in":"query","required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","required":false,"schema":{"type":"string"}},{"name":"groupId","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":true}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/FeedbackStats"}}}}}}}}}
```
