URL shortening service for SmugMug galleries, images and videos. (Huh?)
Developers can easily plug SmugURL into their apps using our RESTful API. Request a URL by making a call to:
http://smugurl.com/?api&url={smugmug url}&name={name of link}
url should point to somewhere on the SmugMug.com domain. Optionally, you can use name to create a fancy URL (i.e. http://smugurl.com/username/name_of_link), or leave it blank to create a shorthand URL. Both values should be escaped/encoded to ensure integrity.
The API will return the new URL in plain text, or "error:" followed by the reason if there was a problem.