Have you ever heard of APIs but thought, “OK, that’s just for developers…“?
With the New Version of Dokky, APIs can become incredibly useful even for those who’ve never written a line of code. APIs are simply a way for Dokky to communicate with other Programs, Automate Actions, and simplify Workflows that would normally take a long time.
Let’s see what you can do (even if you’re not an experienced Developer) and why it’s worth exploring the potential of these “superpowers.”

API stands for “Application Programming Interface“, but you can think of them as a series of “automated teller machines” where you can ask Dokky to do things for you: for example, Upload Documents, Search for Documents, view your Statistics on from the Platform, or even show all your Comments!
Imagine wanting to Automatically Publish your Company’s weekly Reports to your Document Suite, or create an External Dashboard (even just Excel or Google Sheets) that Shows
your File Downloads in real time… all this is possible thanks to the APIs.
Dokky Endpoints: 7 Practical Actions for Users and Developers
Here’s what you can do, practically, with the 7 endpoints offered by the Dokky APIs.
Endpoint | What it does | Practical example |
---|---|---|
Upload File | Upload a document and all associated data | Automate the upload of new PDFs generated on Dokky Suite |
Download File | Download a file using its ID | Download directly from your App or Script |
Delete File | Delete a specific File from Your Profile | Clean obsolete Documents from your Management Suite |
Search File | Search public Documents by Keyword | Trova file dal titolo o tag direttamente dal tuo gestionale |
User Stats | View your Account Statistics | Show Downloads, Comments, and other Profile Statistics |
User Documentations | List all your Files uploaded to Dokky | Sync your Document Backup System |
User Comments | Retrieve all comments received | Export testimonials or feedback for analysis |
How does it work in practice?
– Easy authentication: Once registered, Dokky generates a “JWT token” for you that represents your Identity on the Platform (and must be kept secret).
– All in JSON. Responses to API calls are in JSON format—great for programmers but (almost) readable by humans as well.
– Examples with Curl: Even without knowing PHP or Python, you can try right away with the example commands found in the documentation.
Example: Uploading a Document via API
Let’s say you have a Script that generates a new PDF Guide every day, and you want to Automatically Publish it to Dokky.
Here’s the basic terminal command (just change the file name, title, and description):
curl -X POST "https://dokky.scriptnet.net/api/V1/docs/api-upload" \
-H "X-Authorization: Bearer IL_TUO_TOKEN_JWT" \
-H "Content-Type: multipart/form-data" \
-F "file=@/percorso/al/tuo/file.pdf" \
-F "title=Nuova Guida" \
-F "description=La guida aggiornata di oggi" \
-F "tags=guide, aggiornamento, pdf" \
-F "category_id=2" \
-F "cc_license=CC BY"
Example: Retrieve your Profile Statistics
Want to see how many views your Files have received (perhaps to get an idea of which ones are most popular)?
curl -X POST "https://dokky.scriptnet.net/api/V1/stats/api-stats" \
-H "X-Authorization: Bearer IL_TUO_TOKEN_JWT" \
-H "Content-Type: application/json"
Typical answer:
{
"status": "success",
"data": {
"total_comments": 45,
"total_files": 120,
"total_views": 10500,
"total_downloads": 800,
"total_sales": 50
}
}
Why use them even if you’re not a developer?
• You can automate tedious processes (publishing, backups, reporting)
• You can connect Dokky to external services (like Google Drive, Zapier, Integromat)
• You can analyze your data (sales trends, comments received, most downloaded file types)
• Any user who feels like a “geek” can have fun with small scripts and customizations.
Want to learn more?
Check out the Official Documentation and try out some example commands!
The new Dokky Suite is increasingly pushing towards automation… and you can be part of this change.
API documentation link: https://dokky.scriptnet.net/api-docs