Skip to main content
PATCH
Edit a comment or update its discussion

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

filingId
string<uuid>
required
commentId
string<uuid>
required

Body

application/json
body
string
required
Required string length: 1 - 20000
Pattern: \S

Response

Updated comment and current thread state.

id
string
required

Comment or event ID. Use a top-level message ID as parentCommentId when replying.

threadId
string
required

Discussion ID shared by its root message, replies, and events.

parentCommentId
string | null
required

Root message ID for a reply; null for root messages and thread-level events.

commentType
enum<string>
required

message is discussion text; system and status_change are read-only events.

Available options:
message,
system,
status_change
actor
string
required

Identity of the user or agent that authored this entry.

body
string | null
required

Comment text; null for deleted messages and events without text.

data
object
required

Additional event metadata. Status-change events include status; deleted comments return an empty object.

customerVisible
boolean
required

Shared with the customer as an update on their Feature Request (Effective’s Feature Requests only)

deleted
boolean
required

True for a deleted message retained as a timeline tombstone; its body is null.

editedAt
string | null
required

Last edit timestamp, or null if never edited or deleted.

createdAt
string
required

Timestamp when the message or event was created.

status
enum<string>
required

Current resolution state of the whole discussion, including on older timeline entries.

Available options:
open,
resolved
priority
enum<string>

Current discussion priority; omitted when unset.

Available options:
high,
medium,
low
anchor
object

Structural location within a resource

target
object

Present on API-created discussions, inherited by replies. Older native discussions use anchor instead.