SimpleKPI Logo

SimpleKPI AI › API reference

Users

Read-only. You can list the people on your account and fetch one by id. Creating, changing and removing users is done in the app, not through the API.

The usual reason to call this is attribution: take a user's id or email and pass it when writing a KPI entry, so the value is recorded against that person.

Base URL https://api.simplekpi.com/v1

Endpoints

  1. List usersGET /v1/users
  2. Get a userGET /v1/users/{id}

User object

NameTypeRead OnlyMandatoryMax Len.Notes
idintegeryesno Identifies the user. Send it as user_id when writing a KPI entry against this person.
user_typestringyesno The role the user holds on the account. Owner Full control, including billing, Admin Full control of the account, Manager Manages KPIs and other people, User Enters and views their own data.
user_status_idstringyesno Whether the user can sign in. Case sensitive. A Active, L Locked.
first_namestringyesno The user's first name.
last_namestringyesno Nullable. The user's last name.
emailstringyesno Nullable. The address the user signs in with. Can be sent instead of user_id when writing a KPI entry.
created_atdatetimeyesno  
updated_atdatetimeyesno  

List users

GET /v1/users

Read-only. People are added and changed in the app, not through the API.

Requires users:read on the API key.

Parameters

NameTypeRequiredDefaultNotes
pageintegerno1Which page to return, counting from 1.
rowsintegerno500How many rows per page. Defaults to 500.

Using curl

curl https://api.simplekpi.com/v1/users \
  -H "Authorization: Bearer skpi_your_api_key"

Example response

Status: 200 OK
[
  {
    "id": 42,
    "user_type": "Manager",
    "user_status_id": "A",
    "first_name": "Alex",
    "last_name": "Okafor",
    "email": "alex@example.com",
    "created_at": "2026-01-14T09:00:00",
    "updated_at": "2026-05-02T11:00:00"
  }
]

Status codes

CodeMeaning
200OK
400Bad Request
401Unauthorized
403Forbidden
429Too Many Requests

 

Get a user

GET /v1/users/{id}

Requires users:read on the API key.

Parameters

NameTypeRequiredDefaultNotes
idintegeryes The user to return.

Using curl

curl https://api.simplekpi.com/v1/users/{id} \
  -H "Authorization: Bearer skpi_your_api_key"

Status codes

CodeMeaning
200OK
401Unauthorized
403Forbidden
404Not Found
429Too Many Requests