post https://api.hrflow.ai/v1/text/ocr
This endpoint allows you to extract a text from a document across all formats (pdf, docx, png, and more)
Prerequisites
- ✨ Create a Workspace
- 🔑 Get your API Key
- 🧠 Activate Text OCR API
Postman Endpoint
Try out the live API demo of this endpoint with Postman
Request headers
Content-Type : multipart/form-data
The body used in this request must be multipart/form-data encoded.
In cURL, you specify each message part using the -F (or --form) option. To upload a file in a message part, prefix the file name with the @ symbol. For more information on cURL syntax, see the cURL documentation.
Field | Value |
---|---|
Content-Type | multipart/form-data |
X-API-KEY | Your API Key. |
X-USER-EMAIL | Your HrFlow.ai account's email. |
Document supported extensions
Supported extensions by the Profile Parsing API are .pdf, .png, .jpg, .jpeg, .bmp, .doc, .docx, .odt, .rtf, .odp, ppt, and .pptx .