Upload to WordPress using WP REST API (Legacy)

Auto-upload your articles to your WordPress Site

Agility Writer

Last Update 6 maanden geleden

This upload feature supports from WordPress version 5.6 and onwards using the default WP REST API. For a better publishing experience, please use the Agility Writer WordPress integration plugin.


  1. For better security, you must create an Application Password (not a user login password) under the user profile. Ensure the user has Editor Role or Administrator Role so you can upload articles as Pages and Posts.
  2. Please follow this step to create the Application Password.
  3. Ensure your site runs on WordPress version 5.6 or higher, as this feature is natively supported in these versions.
  4. Log in to your WordPress dashboard and navigate to “Users” on the left sidebar.
  5. Find and click on the user you want to generate an application password for.
  6. Scroll down until you reach the “Application Passwords” section on the Edit Profile screen.
  7. Enter a descriptive name for the new password in the “New Application Password Name” field, such as “My Third-Party App”.
  8. Click the “Add New” button to generate a new application password.
  9. WordPress will display the generated password, so copy it securely, as it will not be shown again.
  10. Provide this newly created application password in the Application Password field.
  11. Username refers to the selected username in step #3.

How to Save All AI Images on WordPress Website

You can pull and save all the images from AgilityWriter to your WordPress website using “Auto Upload Images” plugin. Here are the steps:
  1. Search, install, and activate “Auto Upload Images” plugin on your WordPress: https://wordpress.org/plugins/auto-upload-images/
  2. Copy your article to your WordPress website as usual.
  3. The images’ URL is still pointing to https://app.agilitywriter.ai
  4. Save and publish the article.
  5. With the help of the plugin, it will pull and upload all the images to your web server.
  6. If you are using our “post to WordPress” function, the images will auto pull and upload to your web server.
  7. That’s all.

Note: Enable API Access for Agility Writer by Adding its IP to the Whitelist


Certain hosting providers or security plugins may restrict external API access. To ensure seamless integration with Agility Writer, kindly add our server IP address, 147.182.249.40, to your whitelist. This will permit us to submit API requests for article uploads.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us