https://api.apyhub.com/extract/text/word-file
doc
, docx
, odf
) file and returns the extracted text as string output. This is the most straight forward way to use this service - submit a word file and receive the extracted text as a response.POST
multipart/form-data
Attribute | Type | Mandatory | Description |
---|---|---|---|
file | File | Yes | The source word file. |
preserve_paragraphs | Boolean | No | This preserves the paragraphs in the response, if true , defaults to false . |
Status Code | Description |
---|---|
200 | The request was successful. |
400 | Request is invalid or the file is not accessible. |
401 | Required authentication information is either missing or not valid for the resource. |
500 | There was an error in processing this request. |
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token
as the header parameter to pass the token.Authorization
header to send the basic authentication credentials.