---
updatedAt: 2026-05-11T06:52:42.000Z
agentTools:
  projectIndex: https://platform.simpplr.com/llms.txt
---

# Create a new feed

This API allows us to create a new feed

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "version": "1.0.0",
    "title": "Simpplr User API Documentation",
    "description": ""
  },
  "x-proxy-enabled": true,
  "tags": [
    {
      "name": "Feed",
      "description": "Everything about Feed"
    }
  ],
  "servers": [
    {
      "url": "https://{endpoint}/v1",
      "variables": {
        "env": {
          "default": "app"
        },
        "endpoint": {
          "default": "platform.app.simpplr.com"
        }
      }
    }
  ],
  "paths": {
    "/wfeed/feeds": {
      "post": {
        "operationId": "createFeedUser",
        "tags": [
          "Feed"
        ],
        "summary": "Create a new feed",
        "description": "This API allows us to create a new feed",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "textHtml": {
                    "type": "string",
                    "description": "The HTML content of the feed item"
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "public",
                      "site",
                      "accessible_audience",
                      "site_target_audience",
                      "site_members",
                      "content"
                    ],
                    "description": "The scope of the feed item.\nNon-ABAC scopes: public, site\nABAC scopes: accessible_audience (like public scope in ABAC), site_target_audience (when site is public in ABAC), site_members (only for private site), content (for content feed post in ABAC scenarios)\n"
                  },
                  "siteId": {
                    "type": "string",
                    "format": "uuid",
                    "nullable": true,
                    "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                    "description": "The ID of the site (required when scope is 'site', null for public scope)"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "post",
                      "question"
                    ],
                    "description": "The type of feed item"
                  },
                  "title": {
                    "type": "string",
                    "nullable": true,
                    "maxLength": 255,
                    "description": "The title of the feed item (required when type is 'question')"
                  },
                  "listOfAttachedFiles": {
                    "type": "array",
                    "items": {
                      "title": "Files",
                      "type": "object",
                      "description": "File object with provider-specific properties",
                      "properties": {
                        "fileId": {
                          "type": "string",
                          "description": "File identifier"
                        },
                        "provider": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string",
                          "nullable": true,
                          "description": "File name"
                        },
                        "type": {
                          "type": "string",
                          "nullable": true,
                          "description": "File type/MIME type"
                        },
                        "size": {
                          "type": "integer",
                          "minimum": 0,
                          "nullable": true,
                          "description": "File size in bytes"
                        },
                        "thumbnail": {
                          "type": "string",
                          "nullable": true,
                          "description": "Thumbnail URL"
                        }
                      },
                      "required": [
                        "fileId",
                        "provider"
                      ],
                      "allOf": [
                        {
                          "oneOf": [
                            {
                              "type": "object",
                              "title": "Intranet File",
                              "description": "File stored in intranet with UUID fileId",
                              "properties": {
                                "provider": {
                                  "type": "string",
                                  "enum": [
                                    "intranet"
                                  ]
                                },
                                "fileId": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "name": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "File name"
                                },
                                "size": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "nullable": true,
                                  "description": "File size in bytes"
                                },
                                "type": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "File type/MIME type"
                                },
                                "thumbnail": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "Thumbnail URL"
                                }
                              },
                              "required": [
                                "provider",
                                "fileId"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "title": "Google Drive File",
                              "description": "File stored in Google Drive with required metadata",
                              "properties": {
                                "provider": {
                                  "type": "string",
                                  "enum": [
                                    "googledrive"
                                  ]
                                },
                                "fileId": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "size": {
                                  "type": "integer",
                                  "minimum": 0
                                },
                                "type": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "thumbnail": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "Thumbnail URL"
                                }
                              },
                              "required": [
                                "provider",
                                "fileId",
                                "name",
                                "size",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "title": "Box File",
                              "description": "File stored in Box with required metadata",
                              "properties": {
                                "provider": {
                                  "type": "string",
                                  "enum": [
                                    "box"
                                  ]
                                },
                                "fileId": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "size": {
                                  "type": "integer",
                                  "minimum": 0
                                },
                                "type": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "thumbnail": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "Thumbnail URL"
                                }
                              },
                              "required": [
                                "provider",
                                "fileId",
                                "name",
                                "size",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "title": "OneDrive File",
                              "description": "File stored in OneDrive with required metadata",
                              "properties": {
                                "provider": {
                                  "type": "string",
                                  "enum": [
                                    "onedrive"
                                  ]
                                },
                                "fileId": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "size": {
                                  "type": "integer",
                                  "minimum": 0
                                },
                                "type": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "thumbnail": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "Thumbnail URL"
                                }
                              },
                              "required": [
                                "provider",
                                "fileId",
                                "name",
                                "size",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "title": "SharePoint File",
                              "description": "File stored in SharePoint with required metadata",
                              "properties": {
                                "provider": {
                                  "type": "string",
                                  "enum": [
                                    "sharepoint"
                                  ]
                                },
                                "fileId": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "size": {
                                  "type": "integer",
                                  "minimum": 0
                                },
                                "type": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "thumbnail": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "Thumbnail URL"
                                }
                              },
                              "required": [
                                "provider",
                                "fileId",
                                "name",
                                "size",
                                "type"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "title": "Dropbox File",
                              "description": "File stored in Dropbox with required metadata",
                              "properties": {
                                "provider": {
                                  "type": "string",
                                  "enum": [
                                    "dropbox"
                                  ]
                                },
                                "fileId": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "size": {
                                  "type": "integer",
                                  "minimum": 0
                                },
                                "type": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "thumbnail": {
                                  "type": "string",
                                  "nullable": true,
                                  "description": "Thumbnail URL"
                                }
                              },
                              "required": [
                                "provider",
                                "fileId",
                                "name",
                                "size",
                                "type"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      ]
                    },
                    "default": [],
                    "description": "Array of attached files"
                  },
                  "contentId": {
                    "type": "string",
                    "format": "uuid",
                    "nullable": true,
                    "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                    "description": "The ID of the content (required for content feed posts)"
                  }
                },
                "oneOf": [
                  {
                    "description": "Public post (siteId: null)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "public"
                        ],
                        "description": "The scope of the feed item - public"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": true,
                        "example": null,
                        "description": "The ID of the site (null for public scope)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "post"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 255,
                        "description": "The title of the feed item (optional for posts)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "Public question (siteId: null, title required)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "public"
                        ],
                        "description": "The scope of the feed item - public"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": true,
                        "example": null,
                        "description": "The ID of the site (null for public scope)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "question"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": false,
                        "maxLength": 255,
                        "description": "The title of the feed item (required for questions)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "type",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "Site post (siteId required)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "site"
                        ],
                        "description": "The scope of the feed item - site-specific"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the site (required for site scope)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "post"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 255,
                        "description": "The title of the feed item (optional for posts)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "siteId",
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "Site question (siteId and title required)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "site"
                        ],
                        "description": "The scope of the feed item - site-specific"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the site (required for site scope)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "question"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": false,
                        "maxLength": 255,
                        "description": "The title of the feed item (required for questions)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "siteId",
                      "type",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "ABAC accessible audience post (siteId: null)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "accessible_audience"
                        ],
                        "description": "The scope of the feed item - accessible_audience (ABAC, like public scope)"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": true,
                        "example": null,
                        "description": "The ID of the site (null for accessible_audience scope in ABAC)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "post"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 255,
                        "description": "The title of the feed item (optional for posts)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "ABAC site target audience post (siteId required)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "site_target_audience"
                        ],
                        "description": "The scope of the feed item - site_target_audience (ABAC, when site is public)"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the site (required for site_target_audience scope in ABAC)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "post"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 255,
                        "description": "The title of the feed item (optional for posts)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "siteId",
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "ABAC site members post (siteId required, private sites only)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "site_members"
                        ],
                        "description": "The scope of the feed item - site_members (ABAC, only for private site)"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the site (required for site_members scope in ABAC, only for private site)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "post"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 255,
                        "description": "The title of the feed item (optional for posts)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "siteId",
                      "type"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "Content feed post (siteId and contentId required)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "site"
                        ],
                        "description": "The scope of the feed item - site-specific"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the site (required for site scope)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "post"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 255,
                        "description": "The title of the feed item (optional for posts)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      },
                      "contentId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the content (required for content feed posts)"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "siteId",
                      "type",
                      "contentId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "description": "ABAC content feed post (siteId and contentId required)",
                    "properties": {
                      "textHtml": {
                        "type": "string",
                        "description": "The HTML content of the feed item"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "content"
                        ],
                        "description": "The scope of the feed item - content (ABAC, for content feed post)"
                      },
                      "siteId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the site (required for content scope in ABAC)"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "post"
                        ],
                        "description": "The type of feed item"
                      },
                      "title": {
                        "type": "string",
                        "nullable": true,
                        "maxLength": 255,
                        "description": "The title of the feed item (optional for posts)"
                      },
                      "listOfAttachedFiles": {
                        "type": "array",
                        "items": {
                          "$ref": "#/paths/~1wfeed~1feeds/post/requestBody/content/application~1json/schema/properties/listOfAttachedFiles/items"
                        },
                        "default": [],
                        "description": "Array of attached files"
                      },
                      "contentId": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": false,
                        "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                        "description": "The ID of the content (required for content feed posts)"
                      }
                    },
                    "required": [
                      "textHtml",
                      "scope",
                      "siteId",
                      "type",
                      "contentId"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success response for feed creation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success",
                      "description": "Response status",
                      "enum": [
                        "success",
                        "error"
                      ]
                    },
                    "result": {
                      "type": "object",
                      "description": "Contains the ID of newly created feed",
                      "properties": {
                        "feedId": {
                          "type": "string",
                          "example": "49502e9f-a6e6-4773-a0b4-64be9388b7b1",
                          "description": "Unique identifier of the newly created feed"
                        }
                      }
                    },
                    "message": {
                      "type": "string",
                      "example": "Feed created successfully",
                      "description": "Descriptive message about the operation result"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error response for feed creation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "error",
                      "description": "Response status",
                      "enum": [
                        "success",
                        "error"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "example": "Failed to create feed",
                      "description": "Descriptive error message about the operation failure"
                    },
                    "errors": {
                      "type": "array",
                      "description": "List of validation or processing errors",
                      "items": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string",
                            "example": "textHtml",
                            "description": "Field that caused the error"
                          },
                          "message": {
                            "type": "string",
                            "example": "textHtml is required",
                            "description": "Error message for the specific field"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "Unauthorized": {
        "description": "Authorize error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "example": "Missing/Invalid authentication token"
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error_code": {
                  "type": "integer",
                  "example": 2001
                },
                "message": {
                  "type": "string",
                  "example": "Something went wrong, please try again"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiAuthSecurity": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the implicit grant flow.",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://platform.test.simpplr.xyz/v1",
            "scopes": {
              "read": "read data",
              "write": "create/update data",
              "everything": "allow full access"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiAuthSecurity": []
    }
  ]
}
```