Using the JSON API, various tools exist to interface with Password Pusher to automate password distribution.
We have no limits on how many passwords you can push (and have no intentions of adding limits) but we do have a rate limiter so the site doesn’t get taken down by bad scripts or bad actors. Limit your tools to maximum 1 password every few seconds and you should be fine.
A nodeJS CLI wrapper to easily push passwords to pwpush.com.
NPM PackagePassword-related scriptlets module to help with account provisioning or password resets.
PowerShell ScriptPushes the password to pwpush.com and retrieves the link.
PowerShell ScriptCommand line Python password pusher via pwpush.com
Python ScriptThis API allows you to interface with Password Pusher via JSON. This can be utilized by existing utilities such as curl, wget or any programming language. See the examples below for some ideas.
curl -X POST --data "password[payload]=mypassword&password[expire_after_days]=2&password[expire_after_views]=10" https://pwpush.com/p.json
You can test this in your browser Javascript console by going to the front page of Password Pusher and enter:
$.post('https://pwpush.com/p.json',
{ 'password[payload]': 'mypassword', 'password[expire_after_days]': '2',
'password[expire_after_views]': '10' },
function(data) { console.log('Share this secret URL: https://pwpush.com/p/' + data.url_token) } )
See more explanation and examples in our Github Wiki.