List point entries

GET/users/{user_id}/scores

Returns 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.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

user_id*string

Query Parameters

limit?integer
Range1 <= value <= 200
cursor?string
sort?string

Value 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"  }}