Documentation Index Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Creates a new comment or reply on a specific entity. Comments can include text, a GIF, mentions, attachments, and metadata. Only authenticated users (or master clients) may create comments.
Body Parameters
ID of the entity to attach the comment to
Text content of the comment. Required unless gif is provided.
Alternative text for the GIF
List of mentioned users with { id: string, username: string } format
ID of the parent comment (for replies)
ID of a referenced (quoted) comment
Optional external reference ID
List of attached files or resources
Custom metadata for this comment
Allowed only for master clients. Posts the comment on behalf of a user.
Response
Unique comment identifier
ID of the entity this comment belongs to
ID of the user who created the comment
Attached files or resources
Creation timestamp in ISO 8601 format
Last update timestamp in ISO 8601 format
Error Responses
Missing Entity ID - 400 Bad Request
{
"error" : "Missing entity ID" ,
"code" : "comment/missing-entity-id"
}
Missing Content - 400 Bad Request
{
"error" : "Missing required comment content" ,
"code" : "comment/missing-content"
}
Missing User ID - 400 Bad Request
{
"error" : "Missing user ID" ,
"code" : "comment/missing-user-id"
}
Entity Not Found - 404 Not Found
{
"error" : "Entity not found" ,
"code" : "comment/entity-not-found"
}
Server Error - 500 Internal Server Error
{
"error" : "Internal server error" ,
"code" : "comment/server-error" ,
"details" : "[error message]"
}
Notes
Either content or gif must be present.
If userId is provided, the request must come from a master client.
Reputation is awarded to the user who posts the comment.
Notifications are triggered automatically:
To the entity author
To the parent comment author (for replies)
To each mentioned user (excluding duplicates)
API usage for comments is tracked via Redis.