Assign a comment (action item)
PATCH
/v1/data/{artifactId}/comments/{commentId}/assign
const url = 'https://shareout.site/v1/data/example/comments/example/assign';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"assignee":"example","dueAt":"2026-04-15T12:00:00Z"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://shareout.site/v1/data/example/comments/example/assign \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "assignee": "example", "dueAt": "2026-04-15T12:00:00Z" }'Turns a thread into an action item for a workspace member or collaborator, or clears it with assignee: null (also clears dueAt). Same callers as resolve. The assignee is notified.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”artifactId
required
string
Artifact ID (e.g. art_abc123).
commentId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
assignee
Email of a workspace member or collaborator.
string | null
dueAt
string | null format: date-time
Examplegenerated
{ "assignee": "example", "dueAt": "2026-04-15T12:00:00Z"}Responses
Section titled “Responses”The updated comment
Media typeapplication/json
object
success
boolean
data
object
id
cmt_ + 24 hex characters.
string
contextId
string | null
parentId
string | null
authorId
string | null
authorName
string
content
string
createdAt
string format: date-time
updatedAt
string format: date-time
resolved
boolean
resolvedBy
string | null
resolvedAt
string | null format: date-time
position
Pin position on the page, when the comment was placed as a pin.
mentions
Array<string>
authorType
guest = a verified guest with no account (their email is never returned).
string
assigneeUserId
string | null
assigneeEmail
string | null
dueAt
string | null format: date-time
versionId
Id of the version that was live when the comment was written; null on older comments.
string | null
reactions
object
key
additional properties
object
count
integer
mine
boolean
Example
{ "data": { "authorType": "human" }}ASSIGNEE_NOT_FOUND — not a workspace member or collaborator; INVALID_REQUEST for a bad dueAt
FORBIDDEN (no comment access) or COMMENTS_DISABLED
COMMENT_NOT_FOUND
