# How to create metadata in client creation Auth0 Management API

**URL:** <https://community.auth0.com/t/how-to-create-metadata-in-client-creation-auth0-management-api/72100>\
**Category:** Get Help\
**Tags:** api\
**Created:** [October 26, 2021, 7:32pm UTC](https://community.auth0.com/t/how-to-create-metadata-in-client-creation-auth0-management-api/72100 "2021-10-26T19:32:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsinha](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gsinha/32/26486_2.png) [@gsinha](https://community.auth0.com/u/gsinha)\
**Post date:** [October 26, 2021, 7:32pm UTC](https://community.auth0.com/t/how-to-create-metadata-in-client-creation-auth0-management-api/72100/1 "2021-10-26T19:32:06Z")

</div>

Hi team

I wanted to create a client with metadata using Auth0 Management API. I did add it in the body but I am getting the error

{  
“name”:“APPTEST1”,  
“app\_type”: “non\_interactive”  
“client\_metadata”: {  
“domain”:“[test.com](http://test.com)”  
},

My question what is the syntax to add client metadata in Auth0 management API to create a client

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 26, 2021, 10:01pm UTC](https://community.auth0.com/t/how-to-create-metadata-in-client-creation-auth0-management-api/72100/3 "2021-10-26T22:01:28Z")

</div>

Hi @gsinha,

Thanks for reaching out to the Auth0 Community!

I understand that you’d like to create new _clients_ with _client\_metadata_ using the Management API.

After looking closely at your snippet, there appear to be typos with missing commas, parenthesis, and general JSON formatting.

Instead, could you please try something like this:

```auto
{
    "name": "APPTEST1",
    "app_type": "non_interactive",
    "client_metadata": {
      "KEY": "VALUE"
    }
}

```

Please let me know how this works for you.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 10, 2021, 10:01pm UTC](https://community.auth0.com/t/how-to-create-metadata-in-client-creation-auth0-management-api/72100/4 "2021-11-10T22:01:43Z")

</div>

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