Categories.json endpoint is not available in granular scope

Hi :wave:
As the title suggest, when I assign new API key with granular scope, the categories is not part of the permission list. Got 403 even when I check all the granular scope permissions. I had to use Global scope which I don’t prefer to use for security reason. Any workaround for this?

Note: I use the paid hosting.

1 Like

We can add a scope for this. What specific calls are you after for the /categories.json route? Just GET?

1 Like

Yes, just GET /categories.json Discourse API Docs
Would love to see it, but I guess with your answer there’s no workaround right now via configuration or something else. Thanks for the reply.

1 Like

There is now an API scope for GET requests on /categories.json and /c/:id/show.json :slight_smile:

1 Like

This topic was automatically closed after 17 hours. New replies are no longer allowed.