POST
/
extract_pii

Authorizations

x-api-key
string
headerrequired

Headers

x-api-key
string
required

Your API key.

Body

application/json
file_content
string
required

The base64 encoded content of the file to be parsed.

file_type
enum<string>
required

The type of the file. Supported values are 'pdf' and 'docx'.

Available options:
pdf,
docx

Response

200 - application/json
json
object

The extracted PII in json format.

pageCount
integer

The number of pages processed.