Other

Adds a comment or a reply (parentId) to a template, optionally pinned to a page or element.

Available only to Enterprise-plan workspaces and first-party clients.

post/studio/templates/{templateId}/comments

Request

  • Base URL
    https://api.orshot.com/v1
  • URL
    https://api.orshot.com/v1/studio/templates/{templateId}/comments
  • Auth
    HTTP bearer

Path parameters

templateIdinteger required

The template's id.

Request body

bodystring required

Comment text. @mention up to 20 people as @[Name](user:<uuid>). Each name is replaced with the person's profile name when saved. Up to 5000 characters.

parentIdinteger

Reply to this comment.

anchorobject

Fields in the table below.

flowstring

Approval flow this comment is about, if any. A number is an id, anything else a slug.

Response

Successful response

object required

Changes