# Cost\_center - https://api.zoom.us/v2/users/${userId}

**URL:** <https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705>\
**Category:** Users and Groups\
**Tags:** api\
**Created:** [November 11, 2024, 2:57pm UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705 "2024-11-11T14:57:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hide381815963](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hide381815963/32/50127_2.png) [@hide381815963](https://devforum.zoom.us/u/hide381815963)\
**Post date:** [November 11, 2024, 2:57pm UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705/1 "2024-11-11T14:57:41Z")

</div>

When I tried to get the user (use `https://api.zoom.us/v2/users/{user_id}`), I noticed that the item ‘cost\_center’ was increasing before I knew it.  
I think the documentation is outdated, and I’m confused because it hasn’t been announced.  
Is this a permanent change?

docs:  
://developers.zoom.us/docs/api/users/#tag/users/GET/users/{userId}

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 12, 2024, 9:21pm UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705/2 "2024-11-12T21:21:30Z")

</div>

Hi @hide381815963  
Thanks for reaching out to us and welcome to the Zoom Developer Forum!  
What do you mean by ‘cost\_center’ was increasing? could you please share more details about what you are seeing

---

<div class="post-metadata">

**Author:** ![hide381815963](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hide381815963/32/50127_2.png) [@hide381815963](https://devforum.zoom.us/u/hide381815963)\
**Post date:** [November 13, 2024, 1:26am UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705/3 "2024-11-13T01:26:25Z")

</div>

Thank you very much for finding my post.

I defined and used an API response model based on the published specifications.(use swagger:Java)  
Recently, I failed to process an API response, and when I looked at the error details, I found that an undefined item: [cost\_center] was the cause.  
Since it wasn’t in the API specification, I posted it here.

respons sample:

```auto
{"id":"qcD6O8lVRZawO3f_VYImOw","first_name":"name","last_name":"lastname","display_name":"fullname","email":"xxx@example.com,"type":1,"role_name":"Owner","pmi":12345678,"use_pmi":false,"personal_meeting_url":"https://us04web.zoom.us/j/12345678?pwd=xxxxxxxxxxxxx.1","timezone":"Asia/Tokyo","verified":1,"dept":"","created_at":"2024-07-25T05:36:56Z","last_login_time":"2024-11-08T07:45:55Z","cms_user_id":"","jid":"xxxxxxxxxxxxxxxxxx@xmpp.zoom.us","group_ids":[],"im_group_ids":[],"account_id":"xxxxxxxxxxxxxxx-M1URGg","language":"jp-JP","phone_country":"","phone_number":"","status":"active","job_title":"","cost_center":"","location":"","login_types":[100],"role_id":"0","cluster":"us04","user_created_at":"2024-07-25T05:36:55Z"}

```

---

<div class="post-metadata">

**Author:** ![hide381815963](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hide381815963/32/50127_2.png) [@hide381815963](https://devforum.zoom.us/u/hide381815963)\
**Post date:** [November 13, 2024, 2:36am UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705/4 "2024-11-13T02:36:31Z")

</div>

This announcement also appears to be related.  
://support.zoom.com/hc/en/article?id=zm\_kb&sysparm\_article=KB0061789

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [November 17, 2024, 1:24am UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705/5 "2024-11-17T01:24:06Z")

</div>

Thanks @hide381815963  
I just reported this issue to our Documentation team so they can updates our Docs

---

<div class="post-metadata">

**Author:** ![hide381815963](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hide381815963/32/50127_2.png) [@hide381815963](https://devforum.zoom.us/u/hide381815963)\
**Post date:** [November 18, 2024, 7:09am UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705/6 "2024-11-18T07:09:26Z")

</div>

@elisa.zoom

Thank you very much.  
I was very relieved to receive a quick reply.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 22, 2025, 10:13pm UTC](https://devforum.zoom.us/t/cost-center-https-api-zoom-us-v2-users-userid/120705/7 "2025-01-22T22:13:42Z")

</div>

Hey everyone,

Recently we launched **Zoom Rivet for Node.js**. Zoom Rivet is **Zoom’s Official API Library and API Wrapper**.

We currently support Node.js. Java, Python, GO, C#, and other languages are coming soon or being considered.

[Zoom Rivet](https://developers.zoom.us/docs/rivet/javascript/get-started/) is available on [npm](https://www.npmjs.com/package/@zoom/rivet) and can be used to automatically handle [OAuth](https://developers.zoom.us/docs/rivet/javascript/authorization/) and easily call [Zoom APIs](https://developers.zoom.us/docs/api/) like [Meetings](https://developers.zoom.us/docs/api/meetings/), [Phone](https://developers.zoom.us/docs/api/phone/), [Users](https://developers.zoom.us/docs/api/users/), [Team Chat](https://developers.zoom.us/docs/api/team-chat/), [Chatbot](https://developers.zoom.us/docs/api/chatbot/), [Accounts](https://developers.zoom.us/docs/api/accounts/), [Video SDK](https://developers.zoom.us/docs/api/video-sdk/), and more. It even includes a Webhook server to easily receive Zoom [Webhooks](https://developers.zoom.us/docs/api/webhooks/).

```auto
npm install @zoom/rivet

```

Example that handles OAuth and calls a Meeting API and listens to a webhook event:

```js
import { MeetingsS2SAuthClient } from "@zoom/rivet/meetings";

(async () => {
   const meetingsClient = new MeetingsS2SAuthClient({
      clientId: process.env.CLIENT_ID,
      clientSecret: process.env.CLIENT_SECRET,
      webhooksSecretToken: process.env.WEBHOOKS_SECRET_TOKEN,
      accountId: process.env.ACCOUNT_ID
   });

   // Rivet Events and Endpoints Go Here

   meetingsClient.endpoints.meetings.getMeeting({
      path: { meetingId: "MEETINGID" }
   }).then((response) => {
      console.log(response)
   });

   meetingsClient.webEventConsumer.event("meeting.started", (response) => {
      console.log(response.payload);
   })

   const server = await meetingsClient.start();

   console.log(`Zoom Rivet Events Server running on: ${JSON.stringify(server.address())}`);
})();

```

NPM:

> **[@zoom/rivet](https://www.npmjs.com/package/@zoom/rivet)**
>
> Zoom Rivet is a comprehensive toolkit built to help developers quickly integrate and manage server-side applications within the Zoom ecosystem. This tool currently supports Node.js, offering core functionalities like authentication, API wrappers, and...

Docs:

> **[Get started - Zoom Developers](https://developers.zoom.us/docs/rivet/javascript/get-started/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Sample App:

> **[GitHub - zoom/rivet-javascript-sample: Standup Bot sample app for Zoom Rivet for...](https://github.com/zoom/rivet-javascript-sample)**
>
> Standup Bot sample app for Zoom Rivet for JavaScript

For feedback, requests, or questions please refer to the Rivet Devforum Category:

> **[Zoom Rivet](https://devforum.zoom.us/c/rivet/90)**
>
> Zoom Rivet helps quickly integrate server-side applications with Zoom. Built-in authentication, API wrappers and event subscriptions let you focus on business logic, not infrastructure.

Best,  
Tommy
