Overview
The Kindness API enables organizations to track and verify acts of kindness, peer recognition, and community service. Each act can be verified at different levels and includes optional media attachments.Endpoints
Create Kindness Act
POST/api/kindness
Record a new kindness act with verification level and optional media.
Request Body:
List Kindness Acts
GET/api/kindness
Retrieve kindness acts with optional filtering.
Query Parameters:
category: Filter by categoryuserId: Filter by specific userstartDate: Start date (ISO 8601)endDate: End date (ISO 8601)limit: Max results (default: 100, max: 1000)
Get Statistics
GET/api/kindness/stats
Retrieve aggregated kindness statistics for analytics.
Response:
Verification Levels
| Level | Description | Evidence Required |
|---|---|---|
| 1 | Self-reported | None |
| 2 | Peer acknowledgment | Recipient confirmation |
| 3 | Supervisor verification | Manager approval |
| 4 | HR documentation | Formal recognition |
| 5 | External validation | Third-party verification |
Categories
- peer_recognition: Recognition between colleagues
- community: Community service or volunteering
- wellbeing: Mental health or wellness support
Business Rules
- All acts are automatically scoped to the user’s organization
- Media attachments are optional but recommended for higher verification levels
- Statistics are cached for 5 minutes for performance
- Recipients can be other employees or external individuals
