To generate a short URL in Lost.in you only need to make a GET petition to this URL:
You can add an optional argument 'k=password' (change password for you secret alphanumeric word) to protect the link with a password:
Error codes:
That's all, I can't do easier.