# Incorrect user\_field information - API docs

**URL:** <https://meta.discourse.org/t/incorrect-user-field-information-api-docs/161413>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [August 19, 2020, 7:44pm UTC](https://meta.discourse.org/t/incorrect-user-field-information-api-docs/161413 "2020-08-19T19:44:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [August 20, 2020, 12:43am UTC](https://meta.discourse.org/t/incorrect-user-field-information-api-docs/161413/3 "2020-08-20T00:43:29Z")

</div>

Yes, if you are using `Content-Type: application/json` you should send it in like

> [@zsan](#):
>
> ```plaintext
> {
> "user_field: {
> "name": "asdf",
> "description": "asdf",
> "field_type": "confirm",
> "required": true
> }
> }
> 
> ```

The example in the api docs is using `Content-Type: multipart/form-data`, but I’ll be sure to update it to the json example.

---

_[View the full topic](https://meta.discourse.org/t/incorrect-user-field-information-api-docs/161413)._
