Skip to main content
POST
Create Entity
Creates a new entity. Can be used with or without authentication. When authenticated, author gains reputation.

Body Parameters

string
Optional ID of the user creating the entity. Must match the authenticated user.
string
External reference ID
string
Optional origin identifier
string
Title of the entity
string
Content body of the entity
array
Array of attachment objects
array
Array of keywords associated with the entity
array
List of mentioned users with { id: string, username: string } format
object
object
Optional custom metadata object
boolean
If true, excludes assigning a user ID

Response

string
Unique entity identifier
string
ID of the user who created the entity
string
Short identifier for easy sharing
string
External reference ID if provided
string
Origin identifier if provided
string
Entity title
string
Entity content
array
Array of attachment objects
array
Array of keywords
array
Array of mentioned users
object
object
Custom metadata
string
Creation timestamp in ISO 8601 format
string
Last update timestamp in ISO 8601 format

Error Responses


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.