Get information about a file on the web site.
GET
https://www.prayerletters.com/api/v1/files/{file_id}
URL Parameters
- file_id
- The ID of the file to be retrieved. It typically follows the format
f-###-####
, but is not guaranteed to do so, and should be treated as an opaque string.
Successful Response
HTTP/1.1 200 OK
{
"download_href" : "https://www.prayerletters.com/api/v1/files/f-13g-wt17/download",
"filename" : "newsletter.pdf",
"id" : "f-13g-wt17"
}
Error Responses
- 403 missing_scope
- In order to retrieve information about files, you need the orders.read scope.
- 404 not_found
- The file you requested doesn't exist.
API Basics
Contacts API
Files API
Fonts API
Lists API
Logos API
Payment API
Stock API
Webhooks API