API Docs
The following scripts were created for PHP and made available for your convenience. These scripts make it so you can share your links and text with SPaste much faster and easier. These scripts require PHP 5.3+
Please note that these scripts should be run by accountholders and should not be ran by your web clients or users. You are responsible for running these scripts and your account will be subject to review if these scripts are abused.
Shrinker
This script lets you shrink a URL and specify a link to automatically shrink.
How to use:
shrinker.php?link=https://www.spaste.com/
Download: https://www.spaste.com/shrinker.txt
Paster
This script lets you shrink txt and specify a title & automatically paste the contents.
How to use:
paster.php?title=Untitled&content=Cool