Exclusive Offer: Upgrade to the Recut URL Shortener Premium Lifetime Plan for only $50. Upgrade to Premium Now

How to get Recut URL Shortener API Key

recut

Recut URL Shortener offers a simple and efficient way to shorten URLs via its API. It automatically generates an API key when you successfully register at Recut APP. You can easily obtain an API key from your Recut account to use the API. Follow this step-by-step guide to get the API key and start shortening URLs via API.

How to Obtain Recut API Key

Visit Recut Website
Open the official website of Recut URL Shortener.

Login or Sign Up

  • If you are already have an account, click on the login button at the top right and provide your credentials.
  • If you do not have an account yet, click the Sign Up (register) button and create a free account.

Get Your Dashboard
Once you have logged in or signed up, you will be redirected to your dashboard page.

How to Find the API Key (For PC/Laptop Users)

  • If using a PC/laptop, find your name or profile icon located on the top right side of the screen.
  • Click on it, and a dropdown menu will appear.
  • Select the Settings option.
  • Your API key will be visible on the right side of the Settings page.

Locate the API Key (Mobile Users)

  • On a mobile device, tap the settings gear icon (⚙️) in the upper right corner of the screen.
  • From the menu, select Settings and scroll down to see your API key.

Optional — Regenerate Your API Key

If you think someone else has gained access to your key, or for security reasons, you want a new key, regenerate it from the same settings page by clicking on the ” Regenerate Button “.

Accessing Your Recut API Token

After obtaining your Recut API key, you can use it to shorten URLs through the Recut API. Keep this key secure and include it in every API request for authentication.

Example:

<?php
$curl = curl_init();

curl_setopt_array($curl, array(
    CURLOPT_URL => "https://app.recut.in/api/url/add",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 10,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => array(
        "Authorization: Bearer YOURAPIKEY",
        "Content-Type: application/json",
    ),
    CURLOPT_POSTFIELDS => json_encode(array(
        'url' => 'https://google.com'
    )),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
?>

Replace YOURAPIKEY with your real API key and url (https://google.com) with the link you want to shorten.

Server Response:

{
    "error": 0,
    "id": 3,
    "shorturl": "https:\/\/rcut.in\/xyzabc123"
}

shorturl is the shortlink / shorturl generated by Recut API.

Summary:

It’s very simple and fast to get the API key for Recut URL Shortener. Just follow the steps and you will get your API key and start shortening URLs with Recut URL Shortener API. For more detailed API documentation, please visit the API docs page.

https://recut.in/

Gaurav Kumar: SEO expert, blogger, and backlink strategist and web developer. Get actionable tips on Recut URL Shortener.


Leave a Reply

Your email address will not be published. Required fields are marked *

Take control of your links

You are one click away from taking control of all of your links, and instantly get better results.

recut

Recut: The Free URL Shortener you need. Create branded short links, QR codes, and bio pages with advanced tracking. All for free. Try it now!

newsletter

© 2024 Recut URL Shortener