How to securely supply files for post/fax

Updated 5 years ago

Our send letters and send fax endpoints accept a public URL to a PDF file.

If you prefer to not supply a public URL, there's another option: You can pass a file object to our 'uploads' endpoint first, which returns a URL that can be used with any of our send endpoints. The uploads endpoint returns a URL which is public by default, but can be changed to private here: If you set it to Private, only we will be able to access that URL. It will also be destroyed within 10 mins.

To clarify:

  1. Update this setting to Private:
  2. POST your file to /uploads
  3. Passed the returned URL from the API response above to the send letters or send fax endpoints.

How Did We Do?

Powered by HelpDocs (opens in a new tab)