Stream: zulip

Topic: profile fields via API


view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 11 2023 at 00:23):

It's possible to get custom profile fields (like the GitHub username field I added) via the Zulip API. Check this out:

curl -u $BOT_EMAIL_ADDRESS:$BOT_API_KEY -sSX GET -G https://dataverse.zulipchat.com/api/v1/users?include_custom_profile_fields=true | jq '.members[7].profile_data'

{
  "4046": {
    "value": "pdurbin"
  }
}

curl -u $BOT_EMAIL_ADDRESS:$BOT_API_KEY -sSX GET -G https://dataverse.zulipchat.com/api/v1/realm/profile_fields | jq .

{
  "result": "success",
  "msg": "",
  "custom_fields": [
    {
      "id": 4046,
      "name": "GitHub username",
      "type": 7,
      "hint": "",
      "field_data": "{\"subtype\":\"github\"}",
      "order": 4046,
      "display_in_profile_summary": true
    }
  ]
}

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 25 2023 at 17:44):

If we ask people to put their GitHub username in their Zulip profile, we can use that GitHub username to join the data at https://people.dataverse.org which is also based on GitHub usernames. That "people" data is in a spreadsheet and more info about the people site is at https://github.com/IQSS/dataverse-people


Last updated: Nov 01 2025 at 14:11 UTC