# Create users whith custom\_attributes

**URL:** <https://devforum.zoom.us/t/create-users-whith-custom-attributes/35508>\
**Category:** API and Webhooks\
**Created:** [November 9, 2020, 6:50pm UTC](https://devforum.zoom.us/t/create-users-whith-custom-attributes/35508 "2020-11-09T18:50:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dte](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dte/32/18471_2.png) [@dte](https://devforum.zoom.us/u/dte)\
**Post date:** [November 9, 2020, 6:50pm UTC](https://devforum.zoom.us/t/create-users-whith-custom-attributes/35508/1 "2020-11-09T18:50:53Z")

</div>

I need to create users with custom attributes that have already been created in user interface.  
In other words, in addition to the basic fields that the documentation shows, I can create them with my own additional fields. How could you do it?

{  
“action”: “create”,  
“user\_info”:{  
“first\_name”: “PABLO”,  
“last\_name”: “ANDRES”,  
“email”: “[pablovaldes@email.com](mailto:pablovaldes@email.com)”,  
“type”: 1,  
“password”: “pass2020”  
}  
}

what is required  
{  
“action”: “create”,  
“user\_info”:{  
“first\_name”: “PABLO”,  
“last\_name”: “ANDRES”,  
“email”: “[pablovaldes@email.com](mailto:pablovaldes@email.com)”,  
“type”: 1,  
“password”: “pass2020” ,  
“custom\_attributes”: [  
{

```
                "name": "SAM",
                "value": "aqui_text_campo_personalizado"
            },
            {
                
                "name": "ROLE",
                "value": "aqui_text_campo_personalizado"
            },
            {
             
                "name": "JORNADA",
                "value": "aqui_text_campo_personalizado"
            },
            {
         
                "name": "SEDE",
               "value": "aqui_text_campo_personalizado"
            },
            {
               
                "name": "RUT",
               "value": "aqui_text_campo_personalizado"
            }
        ]

            }

```

}

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 10, 2020, 7:41pm UTC](https://devforum.zoom.us/t/create-users-whith-custom-attributes/35508/2 "2020-11-10T19:41:21Z")

</div>

Hi @dte,

You will need to first set the `name` value you for your custom attributes, and then you can add/update them via API. Let me now if this thread helps:

> [@Updating custom\_attributes values for users](https://devforum.zoom.us/t/updating-custom-attributes-values-for-users/24460/4):
>
> Hey @ian.altgilbers, I figured it out. You have to add the custom attribute first here which sets the name value: [https://zoom.us/account/user#/advanced](https://zoom.us/account/user#/advanced) Then you can update the attribute: { "custom\_attributes":[{ "key":"cbf\_8y1njyfmtsk1hnbazp2ucw","name":"test","value":"set from API" }] } Thanks, Tommy

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![dte](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dte/32/18471_2.png) [@dte](https://devforum.zoom.us/u/dte)\
**Post date:** [November 10, 2020, 8:10pm UTC](https://devforum.zoom.us/t/create-users-whith-custom-attributes/35508/3 "2020-11-10T20:10:00Z")

</div>

Perfect thanks, effectively first create then update works.

Regards,

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 11, 2020, 7:28pm UTC](https://devforum.zoom.us/t/create-users-whith-custom-attributes/35508/4 "2020-11-11T19:28:15Z")

</div>

Happy I could help, and that’s right @dte 🙂

Best,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 12, 2020, 5:28am UTC](https://devforum.zoom.us/t/create-users-whith-custom-attributes/35508/5 "2020-12-12T05:28:20Z")

</div>

Closed on December 12, 2020, 5:28am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
