
Docs
Version 1.0.0
DataWise Document Exchange
API v1.0.0
Security Notice
The DataWise Document Exchange API uses API key authentication. Include your API key in the Authorization header as a Bearer token for all requests.
Authorization: Bearer YOUR_API_KEY
Sign up for a DataWise account if you have not already
Navigate to your dashboard and create a new application
Add a payment method and configure auto-recharge settings
Your API key will be displayed in the application settings
curl -X POST https://api.datawise.app/api/datawise_document_exchange \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: multipart/form-data" \ -F "ddx_outputFormat=pdf" \ -F "firstName=John" \ -F "ddx_template=@template.docx"
Best practice: Store your API key in environment variables
.env file:
DATAWISE_API_KEY=your_api_key_here
Usage in Node.js:
require('dotenv').config();
const apiKey = process.env.DATAWISE_API_KEY;| Error Code | Message | Solution |
|---|---|---|
| AUTH_NO_API_KEY | No API key provided | Include Authorization header with Bearer token |
| AUTH_INVALID_API_KEY | Invalid API key | Check your API key is correct and active |
| AUTH_APP_NOT_ACTIVE | Application is not active | Ensure your application is active |
| PAYMENT_INSUFFICIENT_FUNDS | Insufficient funds in account | Make sure your credit/debit card is valid and has funds |
Need Help?
© Copyright 2026, Datawise Document Exchange.