We use cookies and similar technologies to process personal information for the operation of our website, statistical analysis, and providing targeted advertising. We share information about your use of the site with our advertising partners who may further share it with additional parties. You may opt out of performance cookies here, and learn more about how we use cookies here” 
  • Topics

X-Sign OpenAPI

X-sign 2.0 / X-Sign OpenAPI / Documentation / APIs

User

2021 / 04 / 21

GET /user
Get user info by Authorization (Bearer)
Request Parameter

Name Schema Description
Name
field
Schema

Optional.

Type: array|In:['company_name']

Description
return external fields

curl -X GET "/user"


-H "Content-Type: application/json"

-H "Authorization: Bearer sdk308123903"

Response Code
General HTTP Status Code

Code Description
Code
200
Description
Success

Response Value -200

Name Schema Description
Name
*data
Schema
Type:Model - user
Description
user info

{



"data":{
"id":2,

"company_id":3,
"name": "Admin",
"account":"admin",
"email":"Admin@BenQ.com",
"timezone":"Asia/Taipei",
"role":"administrator",
"created_at": "2019-11-29 10:10:10",
"updated_at": "2019-11-29 10:10:10"

}

}