Developers API | Support | Simple URL Shortener https://support.shorturl.gg Knowledge Help Portal | Business and Marketing SEO Forums. Find your answers here Wed, 05 Apr 2023 22:02:42 +0000 en-US hourly 1 https://support.shorturl.gg/wp-content/uploads/2020/08/url-chain-32px.png Developers API | Support | Simple URL Shortener https://support.shorturl.gg 32 32 GET request with JSON or TEXT | Developers API https://support.shorturl.gg/knowledge-base/get-request-with-json-or-text-developers-api/ https://support.shorturl.gg/knowledge-base/get-request-with-json-or-text-developers-api/#respond Fri, 09 Oct 2020 19:18:43 +0000 https://support.shorturl.gg/?post_type=ht_kb&p=768
Simple URL Shortener API | GET request with responses in JSON or TEXT formats
Simple URL Shortener | Premium Feature Banner

Our API for business integration (For PHP integrations please see here.) and developers returns API query responses in JSON or TEXT formats formats which can be used in various business implementation scenarios such as for example; marketing campaigns, CRM systems, sms text messages etc...

Currently there is two methods for sending GET requests that we support which can be used for automation of shortening links through our API to generate links through external business applications.

All you have to do is to send a GET request with your API token and URL as per the following two example methods below:



When you send the are request to our API, you will receive a JSON back with the server response:



If you want a TEXT response then just add &format=text at the end of your request as the below example. This will return just the short link. Note that if an error occurs, it will not output anything.





Please be aware of that:
  • The api & url are required values in the query string and the other values like alias, format & type are optional to use.
  • If you want to use our multi domain feature then take a look at this article here.
]]>
https://support.shorturl.gg/knowledge-base/get-request-with-json-or-text-developers-api/feed/ 0
Using multi-domain in API calls | Developers API https://support.shorturl.gg/knowledge-base/using-multi-domain-in-api-calls-developers-api/ https://support.shorturl.gg/knowledge-base/using-multi-domain-in-api-calls-developers-api/#respond Fri, 09 Oct 2020 18:50:31 +0000 https://support.shorturl.gg/?post_type=ht_kb&p=798
Simple URL Shortener | Premium Feature Banner

When you use the API to generate short links from your long links for your business it might in some cases be desirable to use an other TLD than Simple URL shortener’s default shorturl.gg TLD.

In that case we support other domain names that we offer through our multi domain feature where you case use another system pre-defined domain name than the system default. However we do unfortunately not yet support that you use your own domain name yet.

All you have to do when sending your query to our API is to change our the default domain name and use another domain name TLD instead in your query string to the API. See the example below

]]>
https://support.shorturl.gg/knowledge-base/using-multi-domain-in-api-calls-developers-api/feed/ 0
Introduction into Simple Url Shortener API https://support.shorturl.gg/knowledge-base/introduction-into-simple-url-shortener-api/ https://support.shorturl.gg/knowledge-base/introduction-into-simple-url-shortener-api/#respond Fri, 09 Oct 2020 22:09:07 +0000 https://support.shorturl.gg/?post_type=ht_kb&p=821
Simple URL Shortener | API overview
Simple URL Shortener | Premium Feature Banner

 

Our API is for businesses and developers that need to implement Simple URL Shortener's API though their business own solutions and/or On-premises software applications. This will provide a short introduction on our API solution and what you can use it for. For more direct technical information please refer to the support article pages of the "Developers API" section.
With our API you can integrate your own applications and shorten your links from within these systems without having to be logged into your Simple URL Shortener account itself. All you need is your private API key and follow our documentation which you can find here in our support portal.
The API documentation explains how you can use our URL shortener API and integrate into your business systems in regards to your specific needs of coding language.

We offer a simple way to build our API shorting service into your business critical system so you can automate your link shortening requirements for efficient link management and building powerful marketing campaigns that amplifies the engagement of you audience.Our enterprise-grade security lets you integrate with other technologies with peace of mind.

You are allowed to use our API for:

  • Marketing campaigns in general
  • Large-scale SMS communications and marketing
  • Sales campaigns
  • Email marketing
  • Deep linking in Android, iOS, Linux mobile applications.
  • Integrations into core business applications such as CRM, CMS, EPR, Accounting, telemarketing software etc
We do not allow that our API is used for services that offer any types of sexual content or for abusing our service by sending spam of any form. Any abuse will result in the termination of your account.

 

With our platform you have hassle free link management of shorting of thousands of links by integrating our platform into your applications and thereby gaining utmost efficiency for your business needs. Build your own work-flows in your applications to send securely short links to your customers and users.
You can use chose different domain names that we offer through our multi-domain feature and generate branded custom alias easily and generate millions on shortened links. We do not limit our API which gives you the edge of that you can generate as many links as you need without having to worry about API limits. You can read more about API call limits in the support articles here on our support portal.
]]>
https://support.shorturl.gg/knowledge-base/introduction-into-simple-url-shortener-api/feed/ 0
How to use the API in PHP applications | Developers API https://support.shorturl.gg/knowledge-base/how-to-use-the-api-in-php-applications/ https://support.shorturl.gg/knowledge-base/how-to-use-the-api-in-php-applications/#respond Fri, 09 Oct 2020 23:25:48 +0000 https://support.shorturl.gg/?post_type=ht_kb&p=822
Simple URL Shortener API | Get request in PHP applications php with json or txt
Simple URL Shortener | Premium Feature Banner
For integrating and develping Simple Url Shortener's API into PHP applications; we offer two variant methods that you can use to build-in our API into your PHP business applications,

All you need to is to use one of the following methods described below.

To use the API in your PHP application, you need to send a GET request via file_get_contents or cURL.
Please refer to the two listed methods using file_get_contents.



Using Get requests with JSON Responses in PHP

Using Get requests with plain text Responses in PHP



If you want to use our multi domain feature then take a look at this article here.
]]>
https://support.shorturl.gg/knowledge-base/how-to-use-the-api-in-php-applications/feed/ 0
How can I find and generate an API key? | Developers API https://support.shorturl.gg/knowledge-base/how-can-i-find-and-generate-an-api-key-developers-api/ https://support.shorturl.gg/knowledge-base/how-can-i-find-and-generate-an-api-key-developers-api/#respond Sat, 10 Oct 2020 01:18:04 +0000 https://support.shorturl.gg/?post_type=ht_kb&p=854
Simple URL Shortener | How can I obtain an API key for my account?
Simple URL Shortener | Premium Feature Banner

The system automatically generates a API key for you.

You can obtain and find your API key by going to your account and then chose tools Developers API and you will find your personal API listed there at the top of the page.

]]>
https://support.shorturl.gg/knowledge-base/how-can-i-find-and-generate-an-api-key-developers-api/feed/ 0
How do I raise the API limits for my account? https://support.shorturl.gg/knowledge-base/how-do-i-raise-the-api-limits-for-my-account/ https://support.shorturl.gg/knowledge-base/how-do-i-raise-the-api-limits-for-my-account/#respond Sat, 10 Oct 2020 02:16:15 +0000 https://support.shorturl.gg/?post_type=ht_kb&p=862
Simple URL Shortener | How can I raise the API limits?
Simple URL Shortener | Premium Feature Banner

As a Simple URL Shortener premium business user there is no need to request a change in your API limits as we do not enforce a hard limit of monthly API calls, instead you enjoy unlimited API requests under the terms of “fair use” of our service.

E.g. as long as you do not severely impair the API with such huge impact on our service that it affects negatively on the user experience of all our other users then there is no limit at all. However if this freedom of unlimited API calls is severely abused then we do reserve the right to add a hard limit to your account .

However, when all that is said and done; we do request that you do ensure that you are not making unnecessary API calls when it is not really needed.

For example: If multiple API calls can be avoided by the API call is triggered instead by a user’s own interaction of clicking a button then that is of course a preferred option because this puts less strain on the system.

]]>
https://support.shorturl.gg/knowledge-base/how-do-i-raise-the-api-limits-for-my-account/feed/ 0
How can I use direct redirects in the API? https://support.shorturl.gg/knowledge-base/how-can-i-use-direct-redirects-in-the-api/ https://support.shorturl.gg/knowledge-base/how-can-i-use-direct-redirects-in-the-api/#respond Wed, 05 Apr 2023 21:12:33 +0000 https://support.shorturl.gg/?post_type=ht_kb&p=3265

As a Simple URL Shortener premium business user there is multiple options when using the API and if you want to use the direct redirects instead of the “Page Redirect” then follow the instructions below to directly bypass and transparently redirect to your users to your page of choice though the API.

To use developers API with the direct redirect add the below code to the end of the URL:

so the final API call will be:
Apply this to your code base and run it and all your shortened URLs will redirect directly to the destination URL that you want your users to land.

Also please note that the example above use a custom branded domain value which is a premium paid feature. If you want to use your own custom domain then go to our pricing page for more information.

]]>
https://support.shorturl.gg/knowledge-base/how-can-i-use-direct-redirects-in-the-api/feed/ 0