Discussions
Admin recodings not accessable via api
I'm currently trying to use the API to access recordings and the admin recordings are completely unusable.
I've got it working with recordings, both through Call list API and subscriptions but admin recording are failing on both.
The admin recording functionality is on (and recordings are being created), I'm using an API key with all scopes, and it still wont let me add a subscription to "admin_recording" call events, returning a 403 - forbidden - "Access denied to create subscription to state 'admin_recording'".
So i instead used the call list API and that gives me the url for the recording, but going to the url does a 302 redirect to "/login". I've tried that request with the apikey as a bearer token, header and query parameter, all with the same result.
The only way i've been able to access the recording was by opening the link in a browser while being logged in with my admin account.
How are admin recordings supposed to be accessed via M2M communications?