Skip to main content
POST
/
v1
/
file
/
hash
Get MD5 Hash of File by URL
curl --request POST \
  --url https://api.pdf.co/v1/file/hash \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "url": "<string>",
  "httpusername": "<string>",
  "httppassword": "<string>"
}'

Authorizations

x-api-key
string
header
required

Body

application/json
url
string<uri>
default:pdfco-test-files.s3.us-west-2.amazonaws.compdf-split/sample.pdf
required

URL to the source file url attribute.

httpusername
string

HTTP auth user name if required to access source URL.

httppassword
string

HTTP auth password if required to access source URL.