Skip to content

WordPress

The simplest path needs no code: in the app, open Connections, Websites, Add website, WordPress, and connect with your site address, username and an Application Password. Articles then publish to WordPress as a draft or live, and update or unpublish there too. If you would rather run it yourself, pull finished articles over the API and POST them to the WordPress REST API as below.

  1. YouConnect the siteSite address, username and an Application Password.
  2. YouPublish an articleAs a draft or live.
  3. BrainpercentSends it to WordPressLater updates and unpublishing too.
  4. Your siteHas the postDraft or live, as you chose.
This is the path with no code. The rest of this page is for running it yourself.

01Pull

  • GET articles https://www.brainpercent.app/api/v1/articles?status=cms
  • GET one for the full body and meta_description.
  • POST wp/v2/posts with an Application Password on your site.
curl "https://www.brainpercent.app/api/v1/articles?status=cms&limit=5" \
  -H "Authorization: Bearer bp_your_key"

02Push

WordPress 5.6+ Application Passwords, HTTPS required. Map title, content, excerpt, and Yoast fields if that plugin is installed. We do not write those fields for you.

Generate first with Articles, then this pull.