Turf API Documentation
  1. Posts
Turf API Documentation
  • Users
    • Create Community Member
      POST
    • Update Community Member's Profile
      PUT
    • Get Community Members
      GET
    • Block Community Member
      PUT
    • Get Community Member's Details
      GET
    • Get Member's Created Posts
      GET
    • Get Member's Saved Posts
      GET
    • Get Member's Comments
      GET
  • Channels
    • Get Community Channels
      GET
  • Posts
    • Create Discussion Post
      POST
    • Update Discussion Post
      PUT
    • Create Article Post
      POST
    • Update Article Post
      PUT
    • Create Comment On Post
      POST
    • Update Comment On Post
      PUT
    • Delete Existing Comment
      DELETE
    • Top Community Posts
      GET
    • Get Channel's Posts
      GET
    • Get Discussion Post Details
      GET
    • Get Article Post Details
      GET
    • Create comment on comment
      POST
  • Courses
    • Top Community Courses
      GET
  • Segments
    • Get Community Segments
      GET
    • Add Member To Segment
      POST
    • Remove Member From Segment
      DELETE
  • Gamification
    • Get Community Badges
    • Award Badge To Member
    • Remove Badge From Member
  1. Posts

Create Article Post

POST
https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/post/article
The Create Article Post API creates a new article post in your community environment. Article posts support advanced formatting from Rich Text Editors (RTE) in HTML format.

Request

Header Params

Body Params application/json

Examples

Responses

🟢201Created
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/post/article' \
--header 'x-api-key: api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "createdBy": "olivier22-van-den-hoogen",
  "channelId": "faqs",
  "postTitle": "<h1>Great article!</h1>",
  "postDescription": "<h2>Community Guidelines</h2><p>Welcome to our amazing community! Here are some <strong>important guidelines</strong> to follow:</p><ul><li>Be respectful to all members</li><li>No spam or self-promotion without permission</li><li>Use appropriate language and content</li></ul><p>For questions, please <a href=\"mailto:support@example.com\" target=\"_blank\">contact our support team</a>.</p><blockquote><p><em>\"Building a better community together!\"</em></p></blockquote><p>Thanks for being part of our community!</p>"
}'
Response Response Example
201 - Example 1
{
    "message": "string",
    "data": {
        "postId": "string"
    }
}
Modified at 2025-09-04 00:40:02
Previous
Update Discussion Post
Next
Update Article Post
Built with