Skip to main content

Discourse

The Discourse modules enable you to monitor, create, update, retrieve, or delete posts and topics in your Discourse account.

To get started with the Discourse app, create an account at discourse.org.

For a list of all available endpoints, refer to Discourse API documentation.

Connecting Discourse to Make

To connect your Discourse account to Make, you'll need to obtain the API Key and insert it into the Make Create a connection dialog.

  1. Log in to your Discourse account.

  2. Open the menu in the top-right corner (61f26b4be5777.png).

  3. Navigate to Admin > API.

    61f26b4d0c287.gif
  4. Click the New API Key (61f26b4fd2eb1.png) button.

  5. Set the API Key configuration as follows:

    Description

    Enter the name for the API Key.

    User Level

    Select the Single User option to restrict access via API to the user specified in the User field below.

    User

    Select the user you want to grant API access to your Discourse account. User names you can select from will display as you type.

    Global Key (allows all actions)

    Enable this option to allow all actions. Otherwise, define the particular scopes you want to enable for the API access.

  6. Click Save, and copy the provided API Key.

    61f26b50bdbab.png
  7. Go to Make, and open the Discourse module's Create a connection dialog. Fill in the following fields:

    Connection name

    Enter the name of the connection to your Discourse account.

    Host URL

    Select the URL of your Discourse domain name (including HTTPS), for example, https://<yourCompanyName>.trydiscourse.com.

    API Key

    Enter the API Key you have copied in Step 6 above.

    API User Name

    Enter the user name of the user assigned to the API Key.

  8. Click Save.

The connection has been established. You can proceed with setting up the module.

Build Discourse Scenarios

After connecting the app, you can perform the following actions:

  • Watch Posts Events

  • Watch Posts

  • Watch Solved Events

  • Watch Like Events

  • Like Posts

  • Get a Post

  • Create a Post. Topic, or Private Message

  • Update a Post

  • Delete a Post

  • Watch Topic Events

  • Watch Topics

  • List Topics

  • Update a Topic

  • Delete a Topic

  • Watch Private Messages

  • List Private Messages

  • Watch Group Events

  • Watch Group User Events

  • Watch Category Events

  • Watch Tag Events

  • Watch Reviewable Events

  • Watch Notication Events

  • Watch Badge Grant EVents

  • Make an API Call