curl --location --request GET 'https://slack.com/api/team.profile.get?token='
{
"ok": true,
"profile": {
"fields": [
{
"hint": "Enter the extension to reach your desk",
"id": "Xf06054AAA",
"is_hidden": 1,
"label": "Phone extension",
"options": null,
"ordering": 0,
"possible_values": null,
"type": "text"
},
{
"hint": "When you were born",
"id": "Xf06054BBB",
"label": "Date of birth",
"options": null,
"ordering": 1,
"possible_values": null,
"type": "date"
},
{
"hint": "Enter a link to your Facebook profile",
"id": "Xf06054CCC",
"label": "Facebook",
"options": null,
"ordering": 2,
"possible_values": null,
"type": "link"
},
{
"hint": "Hogwarts, obviously",
"id": "Xf06054DDD",
"label": "House",
"options": null,
"ordering": 3,
"possible_values": [
"Gryffindor",
"Hufflepuff",
"Ravenclaw",
"Slytherin"
],
"type": "options_list"
},
{
"hint": "Office location (LDAP)",
"id": "Xf06054EEE",
"label": "Location",
"options": {
"is_protected": 1
},
"ordering": 4,
"possible_values": null,
"type": "text"
},
{
"hint": "The boss",
"id": "Xf06054FFF",
"label": "Manager",
"options": null,
"ordering": 5,
"possible_values": null,
"type": "user"
}
]
}
}
users.profile:read