# Can PAC be enabled using API call

**URL:** <https://devforum.zoom.us/t/can-pac-be-enabled-using-api-call/16023>\
**Category:** API and Webhooks\
**Created:** [May 4, 2020, 4:34pm UTC](https://devforum.zoom.us/t/can-pac-be-enabled-using-api-call/16023 "2020-05-04T16:34:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsura](https://avatars.discourse-cdn.com/v4/letter/g/e56c9b/32.png) [@gsura](https://devforum.zoom.us/u/gsura)\
**Post date:** [May 4, 2020, 4:34pm UTC](https://devforum.zoom.us/t/can-pac-be-enabled-using-api-call/16023/1 "2020-05-04T16:34:22Z")

</div>

Description:  
Hi All, I am trying to enable the PAC feature for all of my users using the API call. I see an API call example for retrieving the users information with PAC feature but don’t see any for enabling that feature for the users through the API call.  
I see an example syntax on the blog:

```auto
{
  "pac_accounts": [
    {
      "dedicated_dial_in_number": [
        {
          "number": "123343434",
          "country": "USA"
        }
      ],
      "global_dial_in_numbers": [
        {
          "number": "434343434",
          "country": "USA"
        }
      ],
      "conference_id": "111111",
      "participant_password": "ghdf",
      "listen_only_password": "hkgk"
    }
  ]
}

```

Not clear on few things:

1. What value should i be passing for phone numbers? I am assuming they are zoom dial in numbers.
2. Can I enable and disable the PAC feature for certain users as and when needed? If Yes is there a reference document/syntax ?

I am using JWT Token.

Any pointers would be helpful over here.

Thank You for your time.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 7, 2020, 4:51pm UTC](https://devforum.zoom.us/t/can-pac-be-enabled-using-api-call/16023/2 "2020-05-07T16:51:55Z")

</div>

Hi @gsura, thanks for posting and using Zoom. PAC can not be configured using the REST API, this currently has to be handled in the Zoom web portal.

[Getting started with Personal Audio Conference](https://support.zoom.us/hc/en-us/articles/204517069-Getting-started-with-Personal-Audio-Conference)

---

<div class="post-metadata">

**Author:** ![gsura](https://avatars.discourse-cdn.com/v4/letter/g/e56c9b/32.png) [@gsura](https://devforum.zoom.us/u/gsura)\
**Post date:** [May 14, 2020, 5:55pm UTC](https://devforum.zoom.us/t/can-pac-be-enabled-using-api-call/16023/3 "2020-05-14T17:55:00Z")

</div>

Got it. Thank You Michael for your response and time.

Have another question on automating the process of JWT Token creation process. Can it be automated using Rest Http call? Instead of creating one manually and which expires every week.

Thank You for time and information.

---

<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:** [May 19, 2020, 6:17pm UTC](https://devforum.zoom.us/t/can-pac-be-enabled-using-api-call/16023/4 "2020-05-19T18:17:16Z")

</div>

Hey @gsura,

Yep, you can generate it locally on the fly. No api call next year.

> **[JSON Web Tokens (JWT) - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/jwt#generating-jwts)**
>
> JWT With Zoom
> 
> The Zoom API uses JSON Web Tokens (JWT) to authenticate account-level access. These tokens offer a method to establish secure server-to-s...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:25pm UTC](https://devforum.zoom.us/t/can-pac-be-enabled-using-api-call/16023/5 "2020-08-21T21:25:06Z")

</div>

Closed on August 21, 2020, 9:25pm UTC


