Title: Transfer articles automatically by api
Last modified: November 2, 2023

---

# Transfer articles automatically by api

 *  [mugestan](https://wordpress.org/support/users/mugestan/)
 * (@mugestan)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/transfer-articles-automatically-by-api/)
 * Hello, I have two wordpress sites where articles are generated automatically 
   on the first site and I want to automatically transfer these articles which are
   saved as drafts in a certain category to the second site with wordpress. Is there
   a way for example with API?
    -  This topic was modified 2 years, 7 months ago by [James Huff](https://wordpress.org/support/users/macmanx/).
      Reason: link moved to proper field
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftransfer-articles-automatically-by-api%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/transfer-articles-automatically-by-api/#post-17171284)
 * You would need to hook an action like “save_post” in the source site. The action
   callback could gather appropriate post data and POST it to the destination site’s
   API.
    Ref: [https://developer.wordpress.org/rest-api/reference/posts/#create-a-post](https://developer.wordpress.org/rest-api/reference/posts/#create-a-post)
 * The request must be authenticated by the destination site. There are various 
   possible auth mechanisms. I recommend [Application Passwords](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/).
 *  Thread Starter [mugestan](https://wordpress.org/support/users/mugestan/)
 * (@mugestan)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/transfer-articles-automatically-by-api/#post-17174130)
 * Thanks
 *  Is there a module for this?
   I used the following module but it doesn’t work 
   properly: “Sync Post With Other Site”
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/transfer-articles-automatically-by-api/#post-17175047)
 * I’m not familiar with any, I’ve never had such a need. There are a good number
   of [sync plugins in the WP repository](https://wordpress.org/plugins/search/sync+posts/),
   but it looks like many are intended for syncing with a specific non-WP site. 
   But there still appear to be a few generic WP to WP sync plugins among the many.
 * You might try seeking help through the current plugin’s [dedicated support forum](https://wordpress.org/support/plugin/sync-post-with-other-site/)
   to see if it’s possible to get it working for you. That support forum doesn’t
   appear to be very active, but there’s no harm in asking for help anyway.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Transfer articles automatically by api’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/transfer-articles-automatically-by-api/#post-17175047)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
