renza

API reference / Comments

Create a comment or reply

POST/v1/comments

Creates a thread root (`deck` + `slide_index` + `anchor`) or a reply (`parent`). If `external_id` is provided and already exists in the org, the existing comment's body is updated instead (200).

Requires an API key (bearer), scoped to the active org. Supports idempotency keys.

Body parameters

  • bodystringrequiredmax 5000 chars
  • parentstringoptional

    Reply to this comment.

  • deckstringoptional
  • artifactstringoptional

    Version the anchor was made on.

  • slide_indexintegeroptionalmin 0
  • anchorobject | object | nulloptional
  • external_idstringoptionalmax 200 chars
  • metadataobjectoptional

    Arbitrary key/value map; merge-on-write (§6).

Returns

  • 200The upserted (already-existing) comment.
  • 201The newly created comment.

Failures use the standard error envelope with a closed set of codes.