Recording API start/stop via API for specific conversation

Trying to programmatically start and stop recordings for specific calls. I’m trying to update the recording state but getting a 403. My OAuth token has recording:write scope. Is there a specific permission on the user profile I’m missing? The call is active and I can see it in the UI. Here’s the curl command:

curl -X PUT https://api.mypurecloud.com/api/v2/conversations/calls/c8a1b2c3-.../recordingstate \
-H 'Authorization: Bearer eyJ0e...' \
-H 'Content-Type: application/json'

Any ideas?

1 Like