/users.profile.get
GET
/users.profile.getRetrieves a user's profile information.
Request
Query Params
token
string
required
Authentication token. Requires scope: users.profile:read
include_labels
string
optional
Include labels for each ID in custom profile fields
user
string
optional
User to retrieve profile info for
Request samples
Responses
Typical success response(200)
Typical error response(500)
Typical success response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
ok
#/definitions/700149required
profile
#/definitions/700171required
Exampleresponse
{
"ok": true,
"profile": {
"avatar_hash": "ge3b51ca72de",
"display_name": "spengler",
"display_name_normalized": "spengler",
"email": "spengler@ghostbusters.example.com",
"image_192": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_24": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_32": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_48": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_512": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_72": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_original": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"real_name": "Egon Spengler",
"real_name_normalized": "Egon Spengler",
"status_emoji": ":books:",
"status_expiration": 0,
"status_text": "Print is dead",
"team": "T012AB3C4"
}
}
Last modified: a year ago