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 entity. Can be used with or without authentication. When authenticated, author gains reputation.
Body Parameters
Optional ID of the user creating the entity. Must match the authenticated user.
Optional origin identifier
Content body of the entity
Array of attachment objects
Array of keywords associated with the entity
List of mentioned users with { id: string, username: string } format
Optional custom metadata object
If true, excludes assigning a user ID
Response
ID of the user who created the entity
Short identifier for easy sharing
External reference ID if provided
Origin identifier if provided
Array of attachment objects
GeoJSON type (always “Point”)
Array of [longitude, latitude]
Creation timestamp in ISO 8601 format
Last update timestamp in ISO 8601 format
Error Responses
Unauthorized - 403 Forbidden
{
"error": "User is not authorized to create this entity.",
"code": "entity/unauthorized"
}
Invalid Project ID - 400 Bad Request
{
"error": "Invalid projectId, project does not exist.",
"code": "report/invalid-foreign-key"
}
Server Error - 500 Internal Server Error
{
"error": "Internal server error.",
"code": "entity/server-error",
"details": "<Error message>"
}
Notes
- If
userId is provided, it must match the logged-in user unless the request is from a master key.
- Mentions will trigger a notification if the mentioned user is not the creator.
- User reputation is updated if an authenticated user creates the entity.