# Are custom\_fields on posts/topics available via the API?

**URL:** https://meta.discourse.org/t/are-custom-fields-on-posts-topics-available-via-the-api/49455
**Category:** Development
**Created:** [August 30, 2016, 7:51pm UTC](https://meta.discourse.org/t/are-custom-fields-on-posts-topics-available-via-the-api/49455 "2016-08-30T19:51:06Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 16, 2016, 5:57pm UTC](https://meta.discourse.org/t/are-custom-fields-on-posts-topics-available-via-the-api/49455/3 "2016-11-16T17:57:00Z")

</div>

> [@jgujgu](#):
>
> I have this exact same question. All the dialogue I see is about custom fields for users, not a general discussion

Custom Fields are possible for topics, categories, users and posts.

Users are the common case, and can be created from the Admin UI and filled in user preferences.

All types can be handled in plugins, created, modified and read.

Using a custom field would be:

- Creating the field in the plugin.rb
- Adding it to some serializer so it’s avaliable for the front-end code
- Using it in a handlebars template

Many plugins use this fields like:

- [Poll](https://github.com/discourse/discourse/tree/master/plugins/poll) for Post Custom Fields
- [Signatures](https://github.com/xfalcox/discourse-signatures) for User Custom Fields
- [Solved](https://github.com/discourse/discourse-solved/blob/master/plugin.rb) Post and Topic Custom Fields

---

_[View the full topic](https://meta.discourse.org/t/are-custom-fields-on-posts-topics-available-via-the-api/49455)._
