Skip to main content

Create a comment keyed on publisher external id (lazy-creates discussion)

POST 

/api/v1/discussions/by-external/:externalId/comments

Creates a comment against the discussion identified by the tenant-scoped external_id. If no discussion exists for that id, one is materialised in the same request. Supply the optional title field to give the discussion a human-readable name — when omitted the title defaults to the external_id. Existing discussions are unaffected (title is only stored on first creation). Emits comment_created SSE. Idempotent — pass Idempotency-Key: <uuid> to safely retry.

Request​

Responses​

Default Response