Skip to content

Get assigned points

Points

Get points assigned to users in a timeframe

GET
/points

Parameters

Query Parameters

userId[]*

Ids of users to retrive points for.

Type
array
Required
Example10
earnedAt[from]

Starting value for a timeframe. Uses beginning of unix time as default.

Type
string
Example"2020-05-29 13:33:10"
earnedAt[to]

Ending value for a timeframe. Uses current time as a default.

Type
string
Example"2020-05-29 13:33:10"

Responses

List of users with total points assigned

application/json
JSON
[
  
{
  
  
"userId": 0,
  
  
"points": 0
  
}
]

Samples

Gainsight CC Developer Portal