Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

User Scores API

Fetch the current moderation score for a specific user. Scores range from 1 (worst) to 5 (best) and reflect a user’s ratio of penalty points to total submissions.

For details on how scores are calculated and what thresholds map to which score values, see User Score in Basic Concepts.

Endpoint

GET /api/v1/user_scores

Authentication: X-API-KEY header. See API Keys & Authentication.

Query parameters

ParameterTypeRequired?Description
idStringRequiredYour unique identifier for the user
typeIdStringRequiredThe Coop Item Type ID for this user type

Example request:

GET /api/v1/user_scores?id=user-123&typeId=your-user-type-id

Response

Returns the user’s score as a number between 1 and 5.

3

HTTP statuses:

StatusMeaning
200 OKScore returned successfully
400 Bad RequestMissing or invalid id or typeId parameters
401 or 403Authentication failure

See Errors for the full error response format.