GET
/
admins
curl --request GET \
  --url https://schoolmaker.co/api/v1/admins \
  --header 'Authorization: Bearer <token>'
{
  "users": [
    {
      "id": "<string>",
      "email": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "role": "<string>",
      "is_active": true,
      "is_banned": true,
      "time_zone": "<string>",
      "last_seen_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "is_school_owner": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
List of admins & moderators of your school
users
object[]