Skip to main content
POST
Create a comment with optional image attachments

Authorizations

Authorization
string
header
required

Team API key sent as a Bearer token. Create a key in Wirespeed under Settings → Team. See https://docs.wirespeed.co/api-reference/authentication.

Body

multipart/form-data
entityId
string
required

Entity ID to attach the comment to

entityType
enum<string>
required

Type of entity

Available options:
CASE,
DETECTION
content
string
required

Comment text content

files
file[]

Up to 10 image files; each file must be 5 MB or smaller

Maximum array length: 10

Image file, maximum 5 MB

Response

id
string
required

Unique identifier of the comment

authorName
string
required

Display name of the comment author, falls back to email if user was deleted or name cannot be found

authorId
string | null
required

User ID of the comment author, null if user was deleted

content
string
required

Text content of the comment, empty if deleted

createdAt
string
required

Timestamp when the comment was created

updatedAt
string
required

Timestamp when the comment was last updated

deleted
boolean
required

Whether the comment has been soft-deleted

attachments
object[]
required

Image attachments on this comment