Our Safely.link API let developer create short-links.
Here is how:

Send a HTTP POST/GET request to:
http://safely.link/wp-content/plugins/safelinkstart/api/api.php

Following parameters are allowed:

url //Specify the URL you want to shorten. (string,required)
pass //Set a password, leave blank for no password. (string, required)
stats //1 to enable stats, 0 to disable (number, required)
apikey=1234 //API key for beta version (string, required)

Example request:


POST /wp-content/plugins/safelinkstart/api/api.php HTTP/1.1
Host: safely.link
Accept: */*
Content-Type: text/html
Content-Length: 48

url=http://example.com&pass=password1234&stats=1&apikey=1234

Example response:

{"message":"http://safely.link/?l=c1ade4","status":"done"}