Zoom Contact Center - Engagment End Call - Missing Scopes

Hello,

We are trying to use the Zoom Contact Center API to end an engagement.

We are using this endpoint:

https://api.zoom.us/v2/contact_center/engagements/JgYY2rHdS_mmuW-2FweheQ\]

We are sending this data:

{“engagement_action”:“end_call”,“metadata”:{“reason”:““caller hung up from UI””}}

We are getting an error back from the API that we do not have the correct scope. Specifically:

{“code”:124,“message”:“Invalid access token, does not contain scopes:[contact_center:update:engagement:admin].”}

However, on the app marketplace where we designate scopes for this OAUTH type application, the missing scope is not an option to select. We only see these options:

contact_center:update:engagement_rtms_app_status
contact_center:update:follow_up_task
contact_center:update:note

How can we resolve this?

Thanks,

George Schally

CDC Software

We found the issue. We need to choose Admin managed app type to get the right scopes.