# ZCC Pause and Resume API not working with Active Engagements

**URL:** <https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283>\
**Category:** API and Webhooks\
**Tags:** recording, api, contact\_center\
**Created:** [November 21, 2024, 1:57pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283 "2024-11-21T13:57:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chad.simon](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@chad.simon](https://devforum.zoom.us/u/chad.simon)\
**Post date:** [November 21, 2024, 1:57pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/1 "2024-11-21T13:57:24Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
Endpoint for - Control an engagement’s recording  
PUT/contact\_center/engagements/_{engagementId}_/recording/_{command}_

**Description**  
Working on developing an application that allows users to pause/resume zcc engagements through a put request on a webpage.

I have a server to server app created and i have web events enabled. Im getting the events for the engagement started, recording started, paused and resumed. The events are working without issue.

When i try to send a put request to pause and resume the engagement, im getting an access is denied. I can access other contact center api’s with the tokens im generating though. I verified that my app has the granular scope - contact\_center:update:engagement\_recording\_control:admin as stated in the documentation.

I troubleshot the issue further using postman and what appears to be happening is that the active enegagement isnt being picked up in the api. I did a get engagement list request and was unable to find the active engagement I was working on, I also did a specific - GET/contact\_center/engagements/{engagementId} and it responded with the engagement not existing.

I did these while the engagement was active and recording was started.

**How To Reproduce**  
_Steps to reproduce the behavior:_

Start an engagment, have automatic recording enabled with the box for pausing/resuming checked.

get the engagement ID and do a put request for pausing/resuming the engagment

_1. Request URL / Headers **(without credentials or sensitive info like emails, uuid, etc.)** / Body_

PUT - contact\_center/engagements/{engagement\_id}/recording/pause

_2. Authentication method or app type_

Server to Server  
Scopes Enabled in the app - “contact\_center:update:engagement\_recording\_control:admin contact\_center:read:engagement\_recording\_status:admin contact\_center:read:engagement:admin contact\_center:read:recording:admin contact\_center:read:engagement\_started:admin contact\_center:read:list\_engagements:admin”

_3. Any errors_

{  
“code”: -1,  
“message”: “Access is denied”  
}

contact\_center/engagements/{engagement\_id}

{  
“code”: 2901,  
“message”: “Engagement does not exist:{engagement\_id}”  
}

---

<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 25, 2024, 8:23pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/2 "2024-11-25T20:23:35Z")

</div>

Hi @chad.simon  
Thanks for reaching out and welcome to the Zoom Developer Community!  
Are you still facing this issue?

---

<div class="post-metadata">

**Author:** ![chad.simon](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@chad.simon](https://devforum.zoom.us/u/chad.simon)\
**Post date:** [November 26, 2024, 4:35pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/3 "2024-11-26T16:35:03Z")

</div>

Hey @elisa.zoom! Thanks for having me. Yes I am still facing this issue, just tested it again to verify.

---

<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:** [January 7, 2025, 12:07am UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/4 "2025-01-07T00:07:16Z")

</div>

Hey @chad.simon  
I am really sorry for not getting back to you earlier. I missed the notification. I will send you a DM for more details

---

<div class="post-metadata">

**Author:** ![robert.louis.murphy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/robert.louis.murphy/32/64813_2.png) [@robert.louis.murphy](https://devforum.zoom.us/u/robert.louis.murphy)\
**Post date:** [January 7, 2025, 4:46pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/5 "2025-01-07T16:46:19Z")

</div>

I was able to get the engagementId for an active call by using: [https://api.zoom.us/v2/contact\_center/users/O84Yq43fQ6q\_GilrQa7oIg/recordings?from=2025-01-07T14:43:23Z&to=2025-01-07T17:43:23Z](https://api.zoom.us/v2/contact_center/users/O84Yq43fQ6q_GilrQa7oIg/recordings?from=2025-01-07T14:43:23Z&to=2025-01-07T17:43:23Z) and looking for the recording with a recording\_duration of 0 but I was unable to pause the recording, the response was: statusCode 400 {“code”:-1,“message”:“Access is denied”}

---

<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:** [January 8, 2025, 3:38pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/6 "2025-01-08T15:38:15Z")

</div>

Hey @robert.louis.murphy  
Thanks for reaching out to us and welcome to the Zoom Developer Forum.  
Do you need any help on this issue you are facing? If so, could you please share more details about it

---

<div class="post-metadata">

**Author:** ![robert.louis.murphy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/robert.louis.murphy/32/64813_2.png) [@robert.louis.murphy](https://devforum.zoom.us/u/robert.louis.murphy)\
**Post date:** [January 8, 2025, 6:35pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/7 "2025-01-08T18:35:09Z")

</div>

Yes, when an engagement is on going and being recorded, how can I get the documented status 204 and have the engagement recording paused instead of getting a response with status 400 and the recording does not pause and the response contains {“code”:-1,“message”:“Access is denied”}. I’m just following the documentation and everything works except the pause. I search for the user using the email address and I get back the user no problem, from there I use the user\_id from the search by email to get their recordings, that works, from there I take the engagement\_id from the active call and use that to pause the recording, and that does not work.

---

<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:** [January 9, 2025, 1:26am UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/8 "2025-01-09T01:26:33Z")

</div>

Thanks Robert, I added you to the private thread I have with Chad, please follow up there

---

<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:** [January 21, 2025, 8:39pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/9 "2025-01-21T20:39:22Z")

</div>

To update this thread, to be able to Use the Pause and Resume Recordings API, the setting “Allow Open API to pause and resume automatic call recording” must be enable in your account. To be able to see this setting, reach out to our Support team to have this featured visible in your account

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 22, 2025, 8:39pm UTC](https://devforum.zoom.us/t/zcc-pause-and-resume-api-not-working-with-active-engagements/121283/10 "2025-01-22T20:39:29Z")

</div>

Closed on January 22, 2025, 8:39pm UTC

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