Zoom API- Create user with Custom attribute value

I have a couple of custom attributes that are already defined from the UI. Now, when I create a user using POST /users api, I am trying to also pass the custom attributes list along with other standard attributes. It is giving me a success how ever, only standard attributes are set and custom attributes are being ignored. Is this an expected functionality or am I doing something wrong here?

{
“action”: “create”,
“user_info”: {
“email”: “t.test@corp.primerica.com”,
“first_name”: “t”,
“last_name”: “test”,
“display_name”: “t Test”,
“type”: 2

},
“custom_attributes”: [
{
“key”: “cbf_{0}&&&&cbf_7vdvdz4fsiksjjacz9k9ra”,
“name”: “UserId”,
“value”: “XX111”
}
]
}

I also tried creating the user first and then applying a PATCH to add the values for custom attributes and this works. But this approach will be two API calls.

Hi @swapna.cheguri
Thanks for reaching out to us.
This is the way our API is designed and you can not add custom_attributes upon user creation

1 Like

Thanks Elisa for the confirmation.

1 Like

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