---
title: "Get Agent"
method: GET
path: "/agents/{id}"
tags: ["Agents"]
---

# Get Agent

`GET /agents/{id}`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/agents/{id}`
- Auth: HTTP bearer

To get agent information by inputing agent ID<br>輸入員工ID取得該員工資訊

## Path parameters

- `id` string, required

## Query parameters

- `excludes[]` string[]
- `fields[]` string[]

## Response `200`

OK

- Agent
  - `id` string: Id of the agent<br>員工ID
  - `email` string: Email of the agent<br>員工電郵
  - `name` string: Name of the agent<br>員工名稱
  - `phone` string: Phone of the agent<br>員工電話號碼
  - `is_working` boolean: Working status of the agent<br>員工工作狀態（上班/下班）
  - `channel_ids` unknown[]: Staff's store IDs<br>員工所有的門市
    - unknown

## Changes

- **2026-11-03** `d2518391b149`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shoplineapp/apis/shopline-open-api/changes/agents/:id/get.md)

---

[API](https://skmtc.dev/shoplineapp/apis/shopline-open-api.md) - [All operations](https://skmtc.dev/shoplineapp/apis/shopline-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoplineapp/apis/shopline-open-api/revisions/d2518391b149?raw)
