Cloudflare swagger API link no longer works?

I downloaded a swagger/openapi spec for the cloudflare API a few months ago for use with postman. Now that link no longer works.

The doc: Cloudflare API v4 Documentation

says:
The stable base URL for all Version 4 HTTPS endpoints is:

https://api.cloudflare.com/client/v4/

which now returns:

{

* "success": false,
* ["errors"](https://api.cloudflare.com/client/v4/): [
  1. {
    * "code": 7000,
    * "message": "No route for that URI"}],
* "messages": [],
* "result": null

}

Is this broken or is there a new URL for the API download?

That’s still the correct API for most operations. Analytics now uses GraphQL.

https://developers.cloudflare.com/analytics/graphql-api/getting-started/authentication/graphql-client-headers

I’m not looking for a base URL for using the API, I want to download the entire API as a swagger/openapi spec.
I’ve done this before but now that URL reports an error rather than responding with the API doc json.

1 Like

Ah, I see. I’ve never tried that. Maybe another @MVP has managed this.