Identify PDF
POST
/identify
const url = 'http://localhost:8080/identify';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/pdf'}, body: 'binary'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/identify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/pdf' \ --data binaryChecks whether a PDF was produced by this API and returns its document UUID if found.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/pdf
string format: binary
Responses
Section titled “ Responses ”Identification result
Media type application/json
IdentifyResponse
object
documentId
string | null
Example generated
{ "documentId": "example"}PDF content is empty or invalid
Failed to read PDF