Discussions

Ask a Question

Target already exist

We are using rebrand.ly via an external tool where weh can specify the target and the slashtag. If we don't enter a slashtag, we get a generated one. If we use the api with the same target twice, we will get two different slashtags via the api. is it possible to give back the existing slashtag, if a target which already exists is entered via the api? bit.ly does this.
ANSWERED

Why are my links flagged as unsafe?

I've been using Rebrandly for some time now and have never had a problem with the servie until now. The problem is as follows: I received an email saying that my domain isn't working. I get in, restart the DNS verification process and the status indicator turns green again. But every browser flagged my shortlinks as unsafe( ERR_CERT_AUTHORITY_INVALID or "The certificate chain is not complete.") I think the problem is that in the domain details (in Rebrandly Domain Managing page), the SSL field says: "SSL Certificate is not active yet". But to my knowledge, Rebrandly would provide free SSL certificate for me, so why does my domain not have SSL Certificate? How can I resolve this issue? Thank you all in advance!

How can I integrate Rebrandly with Buffer?

Is it possible to Integrate Rebrandly with Buffer? I saw your article about Tweetbot, is there a similar URL and method for Buffer?
ANSWERED

Rebrandly API Adding UTMs is it Possible?

I'm trying to figure out how to add UTMs to Rebrandly Get/new or Post request when creating a new short link. Is this possible via the current API. I don't see any mention in the API docs.
ANSWERED

Domains dropdown in my app

Hi, my web service is about promoting personal domains and I want to render a list of Rebrandly domains with their main links, like the following: - dietcoke.org [COPY] [VISIT] - dietcoke.net [COPY] [VISIT] - dietcoke.xyz [COPY] [VISIT] What's the best way to get this list?
ANSWERED

PHP example for deleting a branded link

Can anyone provide an example of how to delete a link with PHP? I see the creation example, but was a little confused on how to delete a link with PHP: <?php [...] $domain_data["fullName"] = "rebrand.ly"; $post_data["destination"] = "https://www.youtube.com/channel/UCHK4HD0ltu1-I212icLPt3g"; $post_data["domain"] = $domain_data; //$post_data["slashtag"] = "A_NEW_SLASHTAG"; //$post_data["title"] = "Rebrandly YouTube channel"; $ch = curl_init("https://api.rebrandly.com/v1/links"); curl_setopt($ch, CURLOPT_HTTPHEADER, array( "apikey: YOUR_API_KEY", "Content-Type: application/json", "workspace: YOUR_WORKSPACE_ID" )); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($post_data)); $result = curl_exec($ch); curl_close($ch); $response = json_decode($result, true); print "Short URL is: " . $response["shortUrl"]; ?>
ANSWERED

any chance to use my custom domain in tweetbot?

have a domain in Rebrandly I want to use in tweetbot http://www.nerdydork.com/wp-content/uploads/2012/07/2012-07-20-16.11.24.png

API Parameter forwarding

Dear Support, May I know how to do Parameter forwarding from long link to shortened link for API? e.g. want to keep "abc" and "xyz" dynamic in link http://example.com?param1="abc"&param2="xyz" Thanks.
ANSWERED

About Short Url Api

is it free Api or there is any cost.
ANSWERED

How to count link clicks via API?

Could you please suggest how to count link clicks via API? for example, I have generated a short link and I would like to get information via when it was clicked and a number of times? Thank you.