Skip to content

Get LINE User Profile

Description

使用 LINE Access Token 取得使用者個人資料。

Resource

POST /v1/user/line/profile

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Request Body Parameters

Name Type Description Required
access_token string LINE Access Token Yes

Response

{
  "userId": "Uf64cfcb6d91fbb44680ace1076654c7f",
  "displayName": "User Name",
  "statusMessage": "Status",
  "pictureUrl": "https://profile.line-scdn.net/..."
}

Response Body Parameters

Name Type Description
userId string LINE User ID
displayName string 顯示名稱
pictureUrl string 頭像網址
statusMessage string 狀態訊息