Oops! Facing network problem. Unable to load this page. Refresh

Hello Guest


Bulk URL(s) Short | API Document | Developer Resources | SPRL

Bulk URL(s) Short | API Document | Developer Resources | SPRL API Document Page

Bulk URL(s) Short

POST /url/bulk-short-url

Request Information

Request URLhttps://insprl.com/api/url/bulk-short-url
AuthenticationRequired How to Generate API keys?
AuthorizationStringUse your "CLIENT KEY" for this Parameter
client_idStringRequiredUse your "CLIENT ID" for this Parameter
urlsArrayRequiredAdd multiple urls which you want to get shorter.
slug_prefixStringOptionalAllowed only alpha-numeric characters, underscores, and dashes.
domainStringOptionalSpecify if you want to use custom domain
expiry_dateDateOptionalDate format: dd-mm-yyyy
codeNumericFind the code information below under "API Codes"
messageString / ArrayAs per the request handler
short_urlsArrayList of Shorten URLs
100successStringOn Success
101failedStringAuthorization Error
102failedArrayParameter Validation Error
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://insprl.com/api/url/get-short-url");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
   'Authorization: {CLIENT_KEY}'
)); curl_setopt($ch, CURLOPT_POSTFIELDS,
   'client_id' => '{CLIENT_ID}',
   'urls' => ['https://www.google.com','https://www.sunprograms.com'],
   'slug_prefix' => 'b1-',
   'domain' => 'mydomain.com',
   'expiry_date' => '11-02-2020'
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close ($ch);
"code": 100,
"message": "success",
"data": {
   "short_urls": ["https://byrl.me/sUJIrI","https://byrl.me/hg6IrI"],


If you'd like to use our REST API into your application, Feel free to contact us.

8088 948 172 or Contact Us

Latest From Blog

Read our latest posts from our blog

Email Marketing Do's and Don'ts

If your company or business isn’t using email promoting, ought to they? The solution is affirmative, as email is ..

01 Mar, 2021 Email Marketing
How to Use Email Marketing to Grow Your Business?

Email marketing is the use of email to promote products or services to convert prospects into customers and turn first ..

03 Jan, 2021 Email Marketing
Why must you use Shortened URL in your marketing initiatives?

You will agree that marketing is being creative. It is implementing bright ideas to get maximum mileage out of your ..

20 Dec, 2020 SRPL Shortener

This website uses cookies in order to offer you the most relevant information. We may place cookies on your computer for functional, marketing and tracking purposes to improve our site and to show personalised content. You can read more about our cookies here: Cookie Policy. Please accept cookies for optimal performance.

Yes, I accept Cookies.