File Push Retrieval

Retrieves a file push including it’s payload and details. If the push is still active, this will burn a view and the transaction will be logged in the push audit log.

Example Request

curl -X GET \
  -H "Authorization: Bearer MyAPIToken" \
  https://pwpush.com/f/fk27vnslkd.json

Example Response

{
  "expire_after_days": 2,
  "expire_after_views": 5,
  "expired": false,
  "url_token": "quyul5r5w18",
  "files": '{"file1.extension":"/pfb/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MywicHVyIjoiYmxvYl9pZCJ9fQ==--acf3b59f1884a16ef5d178848c32af856338064f/file1.extension","file2.extension":"/pfb/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NCwicHVyIjoiYmxvYl9pZCJ9fQ==--34b10a5eca9026f8cc41bbd71c4d684abbe607bf/file2.extension"}'
  ...
}

Note: The files attached to the push are listed as a string of JSON with filenames and paths only.  This will be improved in v2 of the API.

{
  "file1.extension": "/pfb/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MywicHVyIjoiYmxvYl9pZCJ9fQ==--acf3b59f1884a16ef5d178848c32af856338064f/file1.extension",
  "file2.extension": "/pfb/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NCwicHVyIjoiYmxvYl9pZCJ9fQ==--34b10a5eca9026f8cc41bbd71c4d684abbe607bf/file2.extension"
}

Supported Formats

JSON

Params

Param name Description
url_token
required

Secret URL token of a previously created push.

Validations:

  • Must be a String