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 PowerShell module for the JSON API with authentication.
PowerShell ScriptA nodeJS CLI wrapper to easily push passwords to pwpush.com.
NPM PackagePassword-related scriptlets module to help with account provisioning or password resets.
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:
fetch(
"https://pwpush.com/p.json", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
password: {
payload: "mypassword",
expire_after_days: 2,
expire_after_views: 10
}
})
})
.then(response => response.json())
.then(data => { console.log("Share this secret URL: https://pwpush.com/p/" + data.url_token); });
See more explanation and examples in our Github Wiki.