curl -X POST -H "X-User-Email: <email>" -H "X-User-Token: MyAPIToken" --data "password[payload]=mypassword&password[expire_after_days]=2&password[expire_after_views]=10" https://pwpush.com/p.json
| Param name | Description |
|---|---|
|
password required |
Push details Validations:
|
|
password[payload] required |
The password or secret text to share. Validations:
|
|
password[note] optional |
If authenticated, the note to label this push. Validations:
|
|
password[expire_after_days] optional |
Expire secret link and delete after this many days. Validations:
|
|
password[expire_after_views] optional |
Expire secret link and delete after this many views. Validations:
|
|
password[deletable_by_viewer] optional |
Allow users to delete passwords once retrieved. Validations:
|
|
password[retrieval_step] optional |
Helps to avoid chat systems and URL scanners from eating up views. Validations:
|