curl -X POST -H "X-User-Email: <email>" -H "X-User-Token: MyAPIToken" --data "url[payload]=myurl&url[expire_after_days]=2&url[expire_after_views]=10" https://pwpush.com/r.json
Param name | Description |
---|---|
url
required |
Push details Validations:
|
url[payload]
required |
The URL encoded URL to redirect to. Validations:
|
url[passphrase]
optional |
Require recipients to enter this passphrase to view the created push. Validations:
|
url[note]
optional |
If authenticated, the URL encoded note for this push. Visible only to the push creator. Validations:
|
url[expire_after_days]
optional |
Expire secret link and delete after this many days. Validations:
|
url[expire_after_views]
optional |
Expire secret link and delete after this many views. Validations:
|
url[retrieval_step]
optional |
Helps to avoid chat systems and URL scanners from eating up views. Validations:
|