Skip to content
Discourse logo

Connectors / Marketing · HTTP Connector

Automate Discourse with Tray.ai

Update a topic, create a post and create a category in Discourse, and start a workflow when Discourse sends “Topic created”.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with Discourse on Tray.ai?

Discourse is open-source community forum software, hosted or self-run, where members discuss topics in categories and moderators manage users, groups, and badges. Tray.ai connects to Discourse through the HTTP Connector, so your workflows can call the Discourse API alongside the rest of your stack.

Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://{defaultHost}

What the Discourse API covers

6 resources and 24 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.

Topics

  • Get latest topics
  • Get a topic
  • Update a topic
  • Remove a topic
  • Update topic status

Posts

  • List latest posts
  • Create a post
  • Update a post
  • Delete a post

Categories

  • List categories
  • Create a category
  • Update a category

Users

  • List users
  • Create a user
  • Update a user
  • Suspend a user
  • Delete a user

Groups

  • List groups
  • Create a group
  • Add group members
  • Remove group members

Badges

  • List badges
  • Create a badge
  • Grant a badge to a user

Events Discourse can send to a Tray.ai webhook trigger

  • Topic created
  • Topic destroyed
  • Post created
  • Post destroyed
  • User created
  • User approved

Checked against Discourse's own documentation on 2026-10-22

docs.discourse.org

Frequently asked questions

What can a Tray.ai workflow do in Discourse?

+

The Discourse API documents 24 actions across 6 resources (Topics, Posts, Categories, Users, Groups, Badges). For example: Get latest topics; List latest posts; List categories. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Discourse?

+

The Discourse API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Discourse events can start a Tray.ai workflow?

+

Discourse sends 6 events to a webhook URL, for example: Topic created; Topic destroyed; Post created; Post destroyed; User created; User approved. A Tray.ai webhook trigger receives them and starts a workflow.

See Discourse working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.