Get started now
POST

Create posts

https://yourdomain.com/api/v1/post/create

Headers

KeyValueDescription
AuthorizationBearer {{AuthToken}}Authorization token
Content-Typeapplication/json

Body

FieldsTypeDescriptionRequired
titleStringTitle of the posttrue
bodyMarkdownStringPost description in markdown formattrue
memberIdStringMember unique IDtrue

Example

{
  "title": "Title of the post",
  "bodyMarkdown": "A description to explain the feedback.",
  "memberId": "22ebabd0-44ae-11ea-b072-d34806b8641b"
}

Response

FieldsTypeDescription
status.codeIntegerResponse code from server
status.typeStringResponse status type (success/fail)
post.postIdStringAuto generated post ID
post.slugStringPost slug generated from post title
"status": {
  "code": 200,
  "type": "success"
},
"post": {
  "postId": "abd0-44ae-11ea-b072-d34806b864",
  "slug": "title-of-the-post-45645ewrft"
}