# Create new application data entry Creates a new data entry for the specified application. The data can be owned by a user, group, user within a group context, or the platform itself. Ownership determines access permissions. The data structure is flexible, supporting any JSON content with optional type categorization and tags for filtering. Endpoint: POST /api/v1/apps/{appId}/data Version: 1.0 Security: header ## Path parameters: - `appId` (string, required) Application ID that owns this data. Must be a valid APP type TypeId. Example: "us_01hxcvk1hjexere4pvtrj0ymqq" ## Request fields (application/json): - `ownerId` (string, required) Owner identifier of the data. Can be a user ID, group ID, user-in-group format userId:groupId, or 'platform' Example: "usr_01hq8c8em5hj1vr2f4h1t9db9q" - `type` (string, required) Type identifier for categorizing the data Example: "user_profile" - `tags` (array,null) Optional list of tags for additional categorization Example: ["personal","profile"] - `data` (string, required) JSON string containing the actual data payload Example: "{\"name\": \"John Doe\", \"bio\": \"Developer\"}" ## Response 200 fields (application/json): - `id` (string, required) Unique identifier for the app data Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `applicationId` (string,null) Optional application ID that this data belongs to Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `ownerId` (string, required) Owner identifier of the data. Can be a user ID, group ID, user-in-group format userId:groupId, or 'platform' Example: "us_01hq8c8em5hj1vr2f4h1t9db9q" - `type` (string, required) Type identifier for categorizing the data Example: "user_profile" - `tags` (array,null) Optional list of tags for additional categorization Example: ["personal","profile"] - `data` (string, required) JSON string containing the actual data payload Example: "{\"name\": \"John Doe\", \"bio\": \"Developer\"}" - `createdAt` (string, required) Timestamp when the data was created Example: "2022-03-10T16:15:50Z" - `updatedAt` (string, required) Timestamp when the data was last updated Example: "2022-03-10T16:15:50Z" ## Response 400 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation ## Response 401 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation ## Response 403 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation