How to create metadata in client creation Auth0 Management API

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

“app_type”: “non_interactive”
“client_metadata”: {

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

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:

    "name": "APPTEST1",
    "app_type": "non_interactive",
    "client_metadata": {
      "KEY": "VALUE"

Please let me know how this works for you.

Thank you.

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