---
title: "Get all staff"
method: GET
path: "/staffs"
tags: ["Staffs"]
---

# Get all staff

`GET /staffs`

To retrieve all staff<br>獲取所有管理員。

## Query parameters

- `permission_scopes` string[]

## Response `200`

OK

- object
  - `items` object[] — Staffs array <br> 管理員array
    - `id` Id — unresolved $ref
    - `_id` Id — unresolved $ref
    - `user_id` string
    - `created_at` string
    - `merchant_ids` Id[] — unresolved $ref
    - `organization_ids` string — Currently this field return null<br> 目前此欄返回null值。
    - `email` Email — unresolved $ref
    - `name` Name — unresolved $ref
    - `locale_code` LocaleCode — unresolved $ref
    - `role_keys` string[]
    - `profile_image_url` string — Profile image url<br> 個人資料相片URL
    - `owned_merchants` OwnedMerchants — unresolved $ref
    - `employed_merchants` EmployedMerchants — unresolved $ref
    - `channel_ids` string[] — Channel ids<br> 頻道ids。
    - `permissions` object[] — Permissions array<br> 權限array <br> if permission_scopes is not provided, this field will return null.<br> 如果沒有permission_scopes，返回null。
      - `id` string — Permission id<br>權限id
      - `has_full_access` boolean
      - `channel_id` Id — unresolved $ref
      - `status` 'active' | 'removed'
      - `grants` object
      - `scope` 'open_api' | 'admin' | 'shop_crm' | 'pos' | 'one' | 'shoplytics' | 'sc' | 'dash' | 'ads' | 'payment_center' | 'mc' | 'form_builder'

---

[API](https://skmtc.net/shoplineapp/apis/shopline-open-api.md) · [All operations](https://skmtc.net/shoplineapp/apis/shopline-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shoplineapp/shopline-open-api/revisions/1675ac12cde7/schema)
