List point entries
/users/{user_id}/scoresReturns the user's points ledger, using cursor-based pagination.
If the user is not accessible with the current credentials, the API returns 404 Not Found rather than an empty collection.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Query Parameters
1 <= value <= 200Value in
- "created_at"
- "-created_at"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/users/string/scores"{ "data": [ { "cause": { "adjustment_id": "string", "exam_id": "string", "kind": "lesson", "lesson_id": "string" }, "created_at": "2019-08-24T14:15:22Z", "id": "string", "links": { "self": "string" }, "object": "score", "origin": "lesson_completed", "points": 0, "product_id": "string", "reason": "string", "user_id": "string" } ], "page": { "limit": 1, "next_cursor": "string", "prev_cursor": "string" }}Create a points adjustment POST
Creates a manual adjustment to the user's points. The adjustment is recorded as a point entry in the points ledger together with its author and `reason`, and the user's balance changes by the adjusted amount. `points` must be a non-zero integer; negative values deduct points. Use `product_id` to associate the adjustment with a product.
Retrieve a point entry GET
Retrieves a point entry from the user's points ledger. The entry must belong to the user identified in the path; otherwise, the API returns `404 Not Found`.