Skip to main content
POST
/
api
/
admin
/
users
/
cap-effectiveness
Live 24h cap-effectiveness analytics
curl --request POST \
  --url https://pria.praxislxp.com/api/admin/users/cap-effectiveness \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "account": "<string>",
  "institution": "<string>",
  "usersearch": "<string>",
  "accountType": "<string>"
}
'
{
  "success": true,
  "data": [
    {
      "institutionId": "<string>",
      "institutionName": "<string>",
      "account": "<string>",
      "cap": 123,
      "members": 123,
      "reached": 123,
      "under": 123,
      "reachedPct": 123
    }
  ],
  "totals": {
    "institutions": 123,
    "members": 123,
    "reached": 123,
    "reachedPct": 123
  },
  "generatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json
account
string

Space-separated account id(s) to scope to.

institution
string

Space-separated institution id(s) to scope to (takes precedence over account).

usersearch
string

Case-insensitive substring matched against member email / first / last name to narrow the membership tally.

accountType
string

Restrict the membership tally to members with this account type.

Response

Cap-effectiveness report.

success
boolean
data
object[]
totals
object
generatedAt
string<date-time>