Title: Plugin: Offer an REST-API?
Last modified: August 20, 2016

---

# Plugin: Offer an REST-API?

 *  [Rosijanni](https://wordpress.org/support/users/rosijanni/)
 * (@rosijanni)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-offer-an-rest-api/)
 * Hi guys,
 * that’s kind of very different question. I should create a plugin that’s accessible
   by an native App. So… I know that WordPress has it’s API but is it possible to
   provide an (REST+JSON) API with a plugin?
    The plugin does it’s work in WordPress
   but datachange should be possible by App. Of course I could write some PHP code
   and put it to any place and access the database manually, but maybe offering 
   an API is possible directly through the plugin.
 * So… Are there any ideas or suggestions what to do?
 * Regards,
    Jan Galler

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

 *  [Matthew Boynes](https://wordpress.org/support/users/mboynes/)
 * (@mboynes)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-offer-an-rest-api/#post-3493037)
 * [Jetpack adds a JSON API](http://jetpack.me/support/json-api/) to WordPress.
 *  Thread Starter [Rosijanni](https://wordpress.org/support/users/rosijanni/)
 * (@rosijanni)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-offer-an-rest-api/#post-3493093)
 * Seems interesting, I installed the plugin. But that’s not exactly what I want.
   I need to offer my plugin’s data and not just the blog content or something like
   this. I’ve looked at Jetpacks page and the documentation. It seems nice but it
   doesn’t allow me to offer an custom endpoint that returns custom data.
 * It look like I’ve really to create a custom API and put it just somewhere on 
   the server. That disappoints me because I thought that it’s possible to do this
   by WordPress and use WordPress’ authentication to access the database.

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

The topic ‘Plugin: Offer an REST-API?’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 2 participants
 * Last reply from: [Rosijanni](https://wordpress.org/support/users/rosijanni/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-offer-an-rest-api/#post-3493093)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
