Distill provides a RESTful API that follows industry-standard REST principles, making it intuitive and easy to integrate with your applications.
The API base URL and all endpoints require proper authentication using Bearer tokens.
https://distill.id/api/curl -X POST https://distill.id/api/ \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{"sort": "asc"}'const response = await fetch('https://distill.id/api/shared', {
method: 'POST',
headers: {
'Authorization': 'Bearer token',
'Content-Type': 'application/json'
},
body: JSON.stringify({ sort: 'asc' })
});