Title: API documentation
Last modified: March 12, 2024

---

# API documentation

 *  Resolved [valuebg](https://wordpress.org/support/users/valuebg/)
 * (@valuebg)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/api-documentation-14/)
 * >  - Add: Added REST API to create, update, delete short links.
 * How to use this feature advertised in the latest release?

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

 *  Plugin Author [Mike L](https://wordpress.org/support/users/mikeatkaizencoders/)
 * (@mikeatkaizencoders)
 * [2 years ago](https://wordpress.org/support/topic/api-documentation-14/#post-17515674)
 * Hello,
   Thanks for reaching out to us.Just want to inform you that we have started
   working on the documentation but it’s not yet completed. We are also making some
   changes to API handling.Once we done with the API changes, we will update the
   documentation also and make it available to everyone.
 *  [maven1129](https://wordpress.org/support/users/maven1129/)
 * (@maven1129)
 * [2 years ago](https://wordpress.org/support/topic/api-documentation-14/#post-17527583)
 *     ```wp-block-code
       We shoudl be seeing this kind of stuf fin your code, as we had to custom build to get proper APi functionality... but alas, you still do not have this type of functionality!
   
       public function create_item( $request ) {$params = $request->get_params();
   
       $url = Helper::get_data( $params, 'url', '' );$title = Helper::get_data( $params, 'title', '' );$domain = Helper::get_data( $params, 'domain', '' );$post_id = Helper::get_data( $params, 'post_id', 0 );$slug = Helper::get_data( $params, 'slug', '' );
   
       if ( ! empty( $url ) ) {$url = sanitize_url( $url );}
   
       $data = array('url' => $url,'title' => $title,'domain' => $domain,'post_id' => $post_id,'slug' => $slug,);
       ```
   
 *  Thread Starter [valuebg](https://wordpress.org/support/users/valuebg/)
 * (@valuebg)
 * [2 years ago](https://wordpress.org/support/topic/api-documentation-14/#post-17539802)
 * Yes I was expecting something like this ^^^
   Is it just an example? Or you made
   it work?Mike: can you post some working code here? We don’t need a big explainantion
   just where to start using the advertised feature.
 *  Thread Starter [valuebg](https://wordpress.org/support/users/valuebg/)
 * (@valuebg)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/api-documentation-14/#post-17691520)
 * **👉 REST API to create short links.
   Able to create short links using WordPress
   REST API from anywhere.
   
   You should probably remove this from your advertising
   until it works.
 *  [maven1129](https://wordpress.org/support/users/maven1129/)
 * (@maven1129)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/api-documentation-14/#post-17694112)
 * Mike! Give us an update man!!
 *  Plugin Author [Mike L](https://wordpress.org/support/users/mikeatkaizencoders/)
 * (@mikeatkaizencoders)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/api-documentation-14/#post-17694130)
 * [@valuebg](https://wordpress.org/support/users/valuebg/) [@maven1129](https://wordpress.org/support/users/maven1129/)
   
   Please find our latest updates about API [here](https://wordpress.org/support/topic/api-details-needed-please/#post-17552207).
   It will help you get started with creating short links using API.Hope that helps.
 *  Thread Starter [valuebg](https://wordpress.org/support/users/valuebg/)
 * (@valuebg)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/api-documentation-14/#post-17937776)
 * [@mikeatkaizencoders](https://wordpress.org/support/users/mikeatkaizencoders/)
   It really doesn’t help. Can you please implement this to be usable?
   It doesn’t
   seem very difficult. Do you recommend we hack it ourselves even though you advertised
   the feature?

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

The topic ‘API documentation’ is closed to new replies.

 * ![](https://ps.w.org/url-shortify/assets/icon-256x256.png?rev=3360016)
 * [URL Shortify - Simple and Easy URL Shortener](https://wordpress.org/plugins/url-shortify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/url-shortify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/url-shortify/)
 * [Active Topics](https://wordpress.org/support/plugin/url-shortify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/url-shortify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/url-shortify/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 9 replies
 * 3 participants
 * Last reply from: [valuebg](https://wordpress.org/support/users/valuebg/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/api-documentation-14/#post-17937776)
 * Status: resolved