v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Community Posts

Create a post

Create a post

post/public/api/community-posts

Headers

Acceptstring

e.g. application/json

Request body

descriptionstring
community_idstring
user_idstring
publish_typestring
publish_datestring

Example request

{
  "description": "<div>Welcome everyone!</div>",
  "community_id": "667ac0b15ba1350028ac0b99",
  "user_id": "6628ed6adc1960a7aa5c7ce4",
  "publish_type": "postnow",
  "publish_date": "2025-01-08T07:57:32.036Z"
}

Response

OK

post_idstring
descriptionstring
community_idstring
user_idstring
publish_typestring
publish_datestring
created_datestring
updated_datestring

Example response

{
  "post_id": "677e3e49b855a6001ff46388",
  "description": "<div>Welcome everyone!</div>",
  "community_id": "667ac0b15ba1350028ac0b99",
  "user_id": "6628ed6adc1960a7aa5c7ce4",
  "publish_type": "postnow",
  "publish_date": "2025-01-08T07:57:32.036Z",
  "created_date": "2025-01-08T08:58:49.102Z",
  "updated_date": "2025-01-08T08:58:49.102Z"
}