# Create new platform data entry

Creates a new data entry at the platform level, not associated with any specific application. The data can be owned by users, groups, or the platform itself. Requires Data.Manage permission for the specified owner. Supports flexible JSON content with optional type categorization and tags.

Endpoint: POST /api/v1/data
Version: 1.0
Security: header

## 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


