cURL
curl --request GET \ --url https://api.example.com/v1/files/{file_id}
{ "id": "<string>", "status": "pending_upload", "fileName": "<string>", "contentType": "application/pdf", "purpose": "authorization_attachment", "createdAt": "2023-11-07T05:31:56Z", "sizeBytes": 123, "completedAt": "2023-11-07T05:31:56Z", "uploadUrl": "<string>", "downloadUrl": "<string>" }
Successful Response
pending_upload
uploaded
ready
failed
application/pdf
image/jpeg
image/png
authorization_attachment
test_ingress_payer_document
generated_artifact
preview_document
inbound_document