Stats and account

How do I create a link from code?

POST the address to https://isha.re/api/v1/links. Without a key, the call counts on the IP address. With a key, it counts on the account. The response is the short link. Keep the stats key if you want the opens later. The API reference has the request, the response, and the errors.