API ReferenceapiidentityGET /v1/admin/staff

GET /v1/admin/staff

Service: identity · operationId: (none)

List all staff members and pending invites

Required scopes

(no scope declared — review service config)

Responses

200 Staff list

{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "role": {
            "type": "string",
            "enum": [
              "admin",
              "support",
              "coach",
              "marketing"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "active",
              "suspended",
              "removed"
            ]
          },
          "workos_user_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "invited_by": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "accepted_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "suspended_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "email",
          "role",
          "status",
          "workos_user_id",
          "invited_by",
          "created_at",
          "updated_at",
          "accepted_at",
          "suspended_at"
        ]
      }
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "data",
    "total"
  ]
}

Example

curl -X GET https://identity.platform.loop.health/v1/admin/staff \
  -H "Authorization: Bearer $ACCESS_TOKEN"