Getting started with DWS Processor API

Nutrient Document Web Services (DWS) Processor API is a service that enables fast and easy integration to instantly generate, convert, and modify PDF documents in your workflows.

This guide explains the steps to get started with DWS Processor API via DWS dashboard.

  1. Sign up(opens in a new tab) for a free account in the DWS dashboard.

  2. On the page that appears, select the DWS Processor API card.


    DWS Processor API card on dashboard


  3. Copy your live API key and select an API tool(opens in a new tab) to get started. Below you’ll see a demonstration of the PDF generation API.

    To make requests using your account, pass the API key to every call you make.

  4. Add an HTML file named index.html to your project folder. You can also use our sample file.

  5. Copy the code below and run it from the same folder you added the files to. For a list of all programming languages that support HTTP requests, refer to our supported languages guide.

POST https://api.nutrient.io/processor/generate_pdf HTTP/1.1
Content-Type: multipart/form-data; boundary=--customboundary
Authorization: Bearer <add-your-live-API-key-here>
--customboundary
Content-Disposition: form-data; name="html"; filename="index.html"
Content-Type: text/html
(html data)
--customboundary--

Similarly, you can use other DWS Processor API endpoints to convert, modify, and manipulate documents. To explore more endpoints, try other DWS Processor API endpoints(opens in a new tab) in our API playground.