Forum Discussion

CarolineS's avatar
12 months ago

Unable to post Published blog posts via API (started recently)

Hi! We have an integration that posts blog posts via API. However, recently the integration has started only posting DRAFTS, not published posts. Has anyone else encountered this? It might have star...
  • Ryan_Gilmore's avatar
    12 months ago

    Hi,

    We encountered the same behavior. We added the following to the data object

     

    content_workflow_action: {
       workflow_action: "publish"
    }

     

     

    I found this article, Content Workflow API Updates are Here 

    You will need to add this when creating and updating if you do not want it in the draft state. I did not find any references as to what the allowed values of workflow_action are.

    Hope that helps.