How to get your Disqus API keys

Published on Tue, 2009-09-15 - 15:25

I'm working on importing my comments into the otherwise excellent Disqus commenting system, but getting ahold of your API keys can be rather difficult, so I'll just document the process here for later reference.

To call the API functions, I'm using the Java-based REST Client – which is free and very handy for this kind of thing.

  1. Log in to with a user that has access to the forum you want API keys for.
  2. Visit with your browser to get the user API key (since it uses the active session to give you the API key).
  3. Call to get the list of available forums, since you'll need the numeric identifier for the forum. Look through the JSON response and find the id number for the forum you want an API key for (for my blog, it's "id": "180233").
  4. Call where 180233 is your forum id. The message field in the JSON response should contain your API key.

That's quite a bit of manual work, but it does not seem like there's currently any better method. If you happen to find one, please let me know.

The comments for this post are now closed. If you have corrections, suggestions, or other feedback, you can reach me through the contact page.