OAuth Uninstall Data Compliance URL

Hi there,

Can you confirm what URL we should be posting to for the OAuth Uninstall confirmation?

On this page, https://marketplace.zoom.us/docs/api-reference/data-compliance/data-compliance/compliance, your documentation says the URL should be https://api.zoom.us/oauth/data/compliance.

But your documentation (https://marketplace.zoom.us/docs/api-reference/introduction) also says ‘The base URL for all requests is https://api.zoom.us/v2/’.

The first URL returns an ‘Invalid Request’ error while the /v2/ URL returns a valid response. Is this just a mistake in your documentation?

Thank you.

Hey @sgani,

The correct url should be https://api.zoom.us/oauth/data/compliance. The auth and deauth endpoints do not have the V2 path.

Can you provide steps to reproduce the “Invalid Request” error?

Thanks,
Tommy

Figured out the issue, noting it here in case anyone else runs into this in the future.

There’s minor differences between the app_deauthorized payload object noted here (https://marketplace.zoom.us/docs/api-reference/webhook-reference/app-events/app-deauthorized) vs the deauthorization_object_received object noted here (https://marketplace.zoom.us/docs/api-reference/data-compliance/data-compliance/compliance). We also needed to make sure that the deauthrozation_time format matched the example given (in C#, we ended up using this string format - yyyy-MM-ddTHH:mm:ss.fffZ).

Also, it looks like if you’ve already posted that same app_deauthorization payload, you’ll also received StatusCode BadRequest.

YMMV.

Thanks for posting your solution @sgani, let us know if we can be of any help :slight_smile: