Solutions
worksection
beta
help
Getting the authorized user info through API: me
Sample me request
?action=me
Returns info about authorized user (oauth2)
method available only for access token
Returned data:
- id — user ID
- first_name — user first name
- last_name — user last name
- name — user first and last name
- title — user position
- avatar — link to the user avatar image
- group — team name
- department — department name
- role — user role, possible values: owner, account admin, team admin, department admin, user, guest, reader
- email — user email
- phone — main phone number (if specified)
- phone2 — office phone number (if specified)
- phone3 — mobile phone number (if specified)
- phone4 — home phone number (if specified)
- address — address (if specified)
- address2 — additional address (if specified)
Sample JSON response
If the request succeeds, the response will contain ok status and the following data:
{"status": "ok","data": [{"id": "USER_ID","first_name": "USER_FIRST_NAME_1","last_name": "USER_LAST_NAME_1","name": "USER_NAME","title": "USER_POSITION", "rate": USER_RATE,"avatar": "URL","group": "USER_GROUP","department": "USER_DEPARTMENT","role": "USER_ROLE","email": "USER_EMAIL","phone": "USER_PHONE","phone2": "USER_PHONE_2","phone3": "USER_PHONE_3","address": "USER_ADDRESS","address2": "USER_ADDRESS_2"}]}
Leave your review
Did this article help you?
Glad we could help! What was helpful?
Sorry this didn't help. What went wrong?