Supercheck LogoSupercheck
Organizations API

List members and invitations

List members (with project assignments), pending/expired invitations, and the current user's org role. Requires org_admin or org_owner.

GET
/api/organizations/members

Authorization

bearerAuth
AuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://demo.supercheck.dev/api/organizations/members"
{
  "success": true,
  "data": {
    "members": [
      {
        "id": "string",
        "name": "string",
        "email": "string",
        "role": "org_owner",
        "joinedAt": "2019-08-24T14:15:22Z",
        "projects": [
          {
            "projectId": "string",
            "projectName": "string"
          }
        ]
      }
    ],
    "invitations": [
      {
        "id": "string",
        "email": "string",
        "role": "string",
        "status": "string",
        "expiresAt": "2019-08-24T14:15:22Z",
        "inviterName": "string",
        "inviterEmail": "string"
      }
    ],
    "currentUserRole": "string"
  }
}
Empty
{
  "error": "Unauthorized"
}
{
  "error": "string"
}
Empty