Need to use curl to convert pdf to word document

Hi I have professional license for Aspose, Currently we are using in dotnet. But would like to know is there any curl to convert pdftoword.


Yes, you can convert a PDF document to a Word document using the Aspose.Words Cloud API. Please check documentation for quick start and find the sample cURL command for reference.

# First get Access Token
# Get Client ID and Secret ID from
curl -X POST "" -d "grant_type=client_credentials&client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxx" -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json"

# Convert PDF document from local drive to DOCX
curl -X PUT "" 
-H "Authorization: Bearer eyJhbGciOiJSUzI1N........TExijTytmAcg" 
-H "Content-Type: multipart/form-data" 
-F Document="@C:/Temp/Test.pdf" 
--output C:/Temp/Test.docx