# Custom user fields not available in api

**URL:** https://meta.discourse.org/t/custom-user-fields-not-available-in-api/346745
**Category:** Development
**Tags:** rest-api, user-custom-fields
**Created:** [January 12, 2025, 2:44pm UTC](https://meta.discourse.org/t/custom-user-fields-not-available-in-api/346745 "2025-01-12T14:44:43Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [January 12, 2025, 2:51pm UTC](https://meta.discourse.org/t/custom-user-fields-not-available-in-api/346745/2 "2025-01-12T14:51:26Z")

</div>

Did you add your user fields to the `public user custom fields` site setting?

 ![Screenshot_20250112_155100_Firefox](https://global.discourse-cdn.com/meta/original/4X/8/6/0/86024d3a6b112a03e4636d11353122329dcfd741.jpeg)

> [@Adding non-visible user custom fields to the API](https://meta.discourse.org/t/adding-non-visible-user-custom-fields-to-the-api/276618/1):
>
> bookmark This guide explains how to expose user custom field data through the API without displaying it on a user card. person_raising_hand Required user level: Administrator This guide will walk you through the process of making User Custom Field data accessible via the API without displaying it on a user card. This can be useful when you need to programmatically access custom user data while keeping it hidden from general view. Creating a User Custom Field First, create your User Cu…

---

_[View the full topic](https://meta.discourse.org/t/custom-user-fields-not-available-in-api/346745)._
