I am a regular user in a Discourse forum who wants to receive posts from certain categories on my Discord using Zapier. I asked the site admin for the key/user key with read permissions and he gave me a couple but none of them worked. I get this message when log in to Discourse from Zapier.
I already send him some official resources like User API keys specification but there has been no success. Is this something I can do? or do I need to be an admin? what could be going wrong? Is there a tutorial on how to generate the user API key correctly?
This can be made to work, but the site’s admin will need to generate a Single User API key for you that is set to allow Global permissions. The reason that Global permissions are requires is because Zapier makes an API request to /topics/private-messages/<username> to validate the connection between Discourse and Zapier. This route can only be accessed with a Global API key.
Here’s an example of how an admin could create that API key for your user:
A single user API key with global permissions can only be used to perform actions that the user the key has been created for has permissions to perform on the site. That means that the key could not be used in a malicious way. That said, the site admins may have concerns about generating this type of API key for you.