Discourse

Conversation platform

Go to site
Explore
/
Apps
/
Discourse

Discourse API Integrations

Build and run workflows using the Discourse API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

Discourse is a powerful platform for building online communities. With the Discourse API, you can extend Discourse's functionality to build all sorts of custom applications and integrations.

Here are some examples of what you can build with the Discourse API:

  • A custom Discourse plugin
  • A Discourse-powered website or forum
  • An application that interacts with Discourse data
  • ADiscourse-based chatbot
  • ADiscourse integration for another application
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discourse: {
      type: "app",
      app: "discourse",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.discourse.$auth.domain}/admin/users/list/active.json`,
      headers: {
        "Api-Username": `${this.discourse.$auth.api_username}`,
        "Api-Key": `${this.discourse.$auth.api_key}`,
      },
    })
  },
})

Choose an API to Connect with Discourse API

1
-
12
of
1000+
apps by most popular

Create Post with Discourse API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Discourse
 
Try it
Send Message (Advanced) with Discord Webhook API on New Posts from Discourse API
Discourse + Discord Webhook
 
Try it
Create Post with Discourse API on New Item in Feed from RSS API
RSS + Discourse
 
Try it
Create Post with Discourse API on New Submission from Typeform API
Typeform + Discourse
 
Try it
Create Post with Discourse API on Custom Events from Zoom API
Zoom + Discourse
 
Try it
New Posts from the Discourse API

Emit new posts added to a topic in one of your chosen categories

 
Try it
New Topics from the Discourse API

Emit new topics posted to your chosen categories

 
Try it
New Users from the Discourse API

Emit new event every time a new user is created on your instance

 
Try it
Create Post with the Discourse API

Creates a post. See docs here

 
Try it
Create Topic with the Discourse API

Creates a topic. See docs here

 
Try it

Authentication

Discourse uses API keys for authentication. When you connect your Discourse account, Pipedream securely stores the keys so you can easily authenticate to Discourse APIs in both code and no-code steps.

For domain, enter the hostname, without the protocol, that you'd use in this API call: https://[domain]/admin/users/list/active.json. For example: example.com.

If you host Discourse on a subfolder (for example: https://pipedream.com/community), enter the subfolder as a part of the domain (pipedream.com/community).

Create an API key in your Admin panel, and enter the associated api_username and api_key.