POST https://api.usecommune.comthread.created Production. There is no separate sandbox host.

Thread created

A new top-level thread was started in a newsletter's space (thread_level = 0).

data.visibility decides where it appears: public puts it on the global feed and only team members may set it, subscribers keeps it inside the newsletter's own space. Those are the only two values.

A thread created public fires thread.published from the same write, so a consumer that only cares about the feed can subscribe to that topic alone and ignore this one.

Delivered as a single HTTPS POST to the consumer's registered endpoint, with the message as the JSON request body. Respond 2xx to acknowledge. Anything else, or a timeout, is retried with backoff, so acknowledge fast and do the work afterwards.

Request Headers

  • string Required
  • string(uuid) Required
  • string Required
  • string Required
  • string(date-time) Required
  • integer

Body

A new top-level thread was started in a newsletter's space.

  • string(uuid) Required
  • string Required
  • string Required
  • string(date-time) Required
  • string(uuid) | null Required
  • string | null Required
POST thread.created
Loading...

Share your request

Use this link to easily share a pre-filled request of this operation. Everything you filled will be shared apart from the authentication fields.

Request URL

https://api-reference.usecommune.dev/explorer/operation/operation-onthreadcreated

Send a delete request

It looks like you’re about to send a DELETE request to this API. This type of request carries a risk of permanent and irreversible data loss.

Are you sure you want to continue?
Response
Waiting for a request to be sent.