My API call is generating empty blog posts

Could someone kindly help me to understand why my API call is creating empty blogposts (with their titles only), although all variables are populated?

Share an example of the JSON structure you are posting, redacting anything you need to.

Posts don’t have a markdown field. You have two options if you want to use markdown as a source format

  1. Convert markdown to html first then pass a html field and use ?source=html on the request. That will convert the HTML to our native editor format and give you a the best editing experience later on
  2. Write the native lexical format directly and create a markdown card - mobile right now so don’t have a code sample to hand but if you create a post with a markdown card in our editor you can inspect the network call and see the format
3 Likes

Thank you very much, @Kevin :pray:t4:

1 Like