Loading...
Loading...
Integrate document generation and management into your applications.
All API requests require an API key sent in the X-API-Key header. You can also use the Authorization: Bearer <key> header.
API keys are prefixed with dt_ and scoped to specific permissions (e.g. DOCUMENTS_READ, AI_GENERATE).
Generate and manage keys from your dashboard settings.
Rate limits are applied per API key on a 1-minute sliding window. Default limits depend on your plan:
Rate limit info is returned in response headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
curl -X GET "https://createdocs.ai/api/v1/documents?page=1&limit=10" \
-H "X-API-Key: dt_your_api_key_here"const response = await fetch('https://createdocs.ai/api/v1/documents', {
headers: {
'X-API-Key': 'dt_your_api_key_here',
},
});
const { data, meta } = await response.json();
console.log(data);import requests
response = requests.get(
"https://createdocs.ai/api/v1/documents",
headers={"X-API-Key": "dt_your_api_key_here"},
)
data = response.json()
print(data["data"])curl -X POST "https://createdocs.ai/api/v1/generate" \
-H "X-API-Key: dt_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"templateId": "your_template_id",
"inputData": {
"companyName": "Acme Corp",
"recipientName": "Jane Doe"
},
"saveDocument": true,
"title": "NDA - Acme Corp"
}'