For the complete documentation index, see llms.txt. This page is also available as Markdown.

Conversation Rejection Reasons

Administrative endpoints for conversation rejection reasons — the published rules a moderator cites when rejecting a review or question (for example profanity, personal data, or content unrelated to the product). Every rejection must cite one active reason, so at least one must exist before anything can be rejected.

Core Capabilities

1. Reason Listing

  • Retrieve a paginated list of reasons, ordered by code. There are no filters.

2. Reason Management

  • Create, update and retire reasons. Retire a reason with is_active: false rather than deleting it.

Reason Fields

Field
Type
Description

code

slug, unique, up to 50 characters

Stable identifier. Reports and the Conversation Events feed return it as rejection_reason, so keep it unchanged once used.

text

string, up to 255 characters

The rule's wording. Shown to the author in the rejection e-mail and returned as rejection_reason_text. Events refer to the reason rather than copying it, so an edit changes the wording shown for past rejections too; e-mails already sent are unaffected.

is_active

boolean, default true

Only active reasons can be cited when rejecting.

translations

object or null

text in other languages, keyed by language code — for example {"en-us": {"text": "Posts must not contain profanity."}}. Replaced as a whole when sent.

Retiring a Reason

A reason that a rejection has already cited cannot be deleted: the request is refused with 406 and nothing is removed. Set is_active to false instead — the reason can no longer be cited, and past rejections keep pointing at it. A reason that was never cited can be deleted.

The rejection e-mail cites the reason in the author's language: its translation when translations has one for that language, the stored text otherwise. These endpoints return the stored text alongside translations, and rejection_reason_text on events is always the stored text.

Last updated

Was this helpful?