curl -X POST -H "X-User-Email: <email>" -H "X-User-Token: MyAPIToken" --data "file_push[payload]=myfile_push&file_push[expire_after_days]=2&file_push[expire_after_views]=10" https://pwpush.com/f.json
| Param name | Description |
|---|---|
|
file_push required |
Push details Validations:
|
|
file_push[payload] required |
The file_push or secret text to share. Validations:
|
|
file_push[note] optional |
If authenticated, the note to label this push. 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:
|