Skip to content

Social Sign-up

Description

註冊第三方帳戶。

Resource

POST /v1/user_social

Authorization

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

Request Body Parameters

Name Type Description
type string
(enum)
帳號類型
ALLOWED VALUES:
  • LINE
  • GOOGLE
  • FACEBOOK
  • OTHER
detail string type 補充說明,若為 OTHER 時必填
(optional)
id string 帳號
name string 名稱
token string 第三方登入後取得的access token

Response

Status-Code: 204 No Content