Users

Users Profile Get

GET
/users.profile.get

Retrieves a user's profile information.

Authorization

slackAuth users.profile:read
AuthorizationBearer <token>

In: header

Scope: users.profile:read

Query Parameters

token*string

Authentication token. Requires scope: users.profile:read

include_labels?boolean

Include labels for each ID in custom profile fields

user?string

User to retrieve profile info for

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/users.profile.get?token=string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True",  "profile": {    "always_active": true,    "api_app_id": "string",    "avatar_hash": "string",    "bot_id": "string",    "display_name": "string",    "display_name_normalized": "string",    "email": "user@example.com",    "fields": [      {}    ],    "first_name": "string",    "guest_expiration_ts": 0,    "guest_invited_by": "string",    "image_1024": "http://example.com",    "image_192": "http://example.com",    "image_24": "http://example.com",    "image_32": "http://example.com",    "image_48": "http://example.com",    "image_512": "http://example.com",    "image_72": "http://example.com",    "image_original": "http://example.com",    "is_app_user": true,    "is_custom_image": true,    "is_restricted": true,    "is_ultra_restricted": true,    "last_avatar_image_hash": "string",    "last_name": "string",    "memberships_count": 0,    "name": "string",    "phone": "string",    "pronouns": "string",    "real_name": "string",    "real_name_normalized": "string",    "skype": "string",    "status_default_emoji": "string",    "status_default_text": "string",    "status_default_text_canonical": "string",    "status_emoji": "string",    "status_expiration": 0,    "status_text": "string",    "status_text_canonical": "string",    "team": "string",    "title": "string",    "updated": 0,    "user_id": "string",    "username": "string"  }}