Title: API usage
Last modified: October 12, 2024

---

# API usage

 *  Resolved [CYoyo](https://wordpress.org/support/users/cyoyo/)
 * (@cyoyo)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/api-usage/)
 * I am trying to use API to create short link. while checking the API documentation.
   I see the authorization method is Bearer <token>. In this case, what is the token?
   where I can find it?
 * [https://docs.kaizencoders.com/url-shortify/api-documentation/links](https://docs.kaizencoders.com/url-shortify/api-documentation/links)

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

 *  [DFC005](https://wordpress.org/support/users/dfc005/)
 * (@dfc005)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/api-usage/#post-18070373)
 * Yes, I’m trying to work out how to use the API as well.
 * I’ve setup some new key/secret via the Tools -> Rest API section but cannot find
   any documention or examples on how to use this?
 * I assume it should be quite straight forward. Little help?
 *  Thread Starter [CYoyo](https://wordpress.org/support/users/cyoyo/)
 * (@cyoyo)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/api-usage/#post-18074475)
 * I have figured it out. it is actually not that straight forward. based on the
   API documentation ([https://docs.kaizencoders.com/url-shortify/api-documentation/links](https://docs.kaizencoders.com/url-shortify/api-documentation/links)),
   this plugin is using bearer for authorization. So you need to have an authorization
   plugin in your wordpress which can convert your username and password to a token.
   I am using this plugin (JWT Authentication for WP-API) to help me convert user
   name and password to token. The install of “JWT Authentication for WP-API)” may
   not be straight forward, you may want to check for their documentation or find
   a Youtube video for more guidance.
    -  This reply was modified 1 year, 6 months ago by [CYoyo](https://wordpress.org/support/users/cyoyo/).
 *  [DFC005](https://wordpress.org/support/users/dfc005/)
 * (@dfc005)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/api-usage/#post-18075262)
 * So the whole section in the plugin for Rest API and creating key/secrets etc 
   is just pointless?
 *  Thread Starter [CYoyo](https://wordpress.org/support/users/cyoyo/)
 * (@cyoyo)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/api-usage/#post-18077318)
 * I am not sure how the backend process work, but based on my understanding, the
   key/secrets are not for bearer authorization which requires a token instead of
   key/secretes.

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

The topic ‘API usage’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [CYoyo](https://wordpress.org/support/users/cyoyo/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/api-usage/#post-18077318)
 * Status: resolved