curl -X POST -H "X-User-Email: <email>" -H "X-User-Token: MyAPIToken" -F "file_push[files][]=@/path/to/file/file1.extension" -F "file_push[files][]=@/path/to/file/file2.extension" https://pwpush.com/f.json
Param name | Description |
---|---|
file_push
required |
Push details Validations:
|
file_push[payload]
required |
The URL encoded secret text to share. Validations:
|
file_push[passphrase]
optional |
Require recipients to enter this passphrase to view the created push. Validations:
|
file_push[note]
optional |
If authenticated, the URL encoded note for this push. Visible only to the push creator. Validations:
|
file_push[expire_after_days]
optional |
Expire secret link and delete after this many days. Validations:
|
file_push[expire_after_views]
optional |
Expire secret link and delete after this many views. Validations:
|
file_push[deletable_by_viewer]
optional |
Allow users to delete the push once retrieved. Validations:
|
file_push[retrieval_step]
optional |
Helps to avoid chat systems and URL scanners from eating up views. Validations:
|