API docs
Everything below is plain HTTPS + JSON. Authenticated endpoints use your login cookie (dd_token) — with curl, keep it in a cookie jar (-c/-b cookies.txt).
Run a script from an executor
Fetch any public or unlisted script (private scripts return 404). The fastest one-liner uses the raw link (served as text/plain, cached for 60s):
loadstring(game:HttpGet("https://drawdump.com/raw/<id>/<filename>"))()
Need the metadata first (game, key system, status)? Fetch the JSON, then run script — never pass JSON itself to loadstring:
local data = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://drawdump.com/api/script/fetch/<id>"))
loadstring(data.script)()
Or get the plain script through the API directly with ?raw=1:
loadstring(game:HttpGet("https://drawdump.com/api/script/fetch/<id>?raw=1"))()
Reference shape of GET /api/script/fetch/<id>:
{
"id": "d59c63c69e",
"title": "My hub",
"game": "Blox Fruits",
"key_system": "keyless",
"status": "working",
"views": 12,
"likes": 3,
"script": "-- Luau code here"
}
List & search scripts
GET /api/snippets?q=esp&page=1&sort=top&game=Blox%20Fruits
sort: latest (default) | top (most liked) | views (most viewed)
game: exact game name, e.g. Universal
Likes & comments
POST /api/snippets/<id>/like # toggle like (login)
GET /api/snippets/<id>/comments # list comments
POST /api/snippets/<id>/comments # {"body": "..."} (login + verified email)
DELETE /api/comments/<cid> # own comment, or any on your script
Upload & manage (login + verified email)
POST /api/snippets # JSON body or multipart file
PUT /api/snippets/<id> # update your own script
DELETE /api/snippets/<id> # delete your own script
POST /api/snippets/<id>/thumbnail # multipart "thumb" image (2 MB max)
DELETE /api/snippets/<id>/thumbnail # remove your cover image
POST /api/auth/avatar # multipart "avatar" image (256 KB max)
DrawDump publishes Luau (Roblox) scripts only — accepted files are .lua, .luau or .txt, and the language is always stored as luau.
Script fields: filename (optional on the API — auto-generated from the title as title-slug.lua), title (required, up to 120 chars), description (1000 chars), visibility (public/unlisted/private), game or game_id (Roblox universe/place ID), key_system (keyless/key/paid), status (working/patched/mixed), discord (discord.gg invite).
Covers are automatic: uploaded thumbnails and profile pictures are re-compressed server-side (progressive JPEG, covers ≤ 896×504, avatars ≤ 256px) so pages stay fast, and animated GIFs keep their animation. When a script has a game_id and no uploaded cover, DrawDump fetches the official 768×432 Roblox game art and uses it as the cover — on the API, in cards, on the og:image share preview, and everywhere else.
Auth
POST /api/auth/register # {"email","password","terms_ok":true} → 6-digit code by email
POST /api/auth/verify-code # {"code":"123456"}
POST /api/auth/accept-terms # (during a session) re-record your terms acceptance
POST /api/auth/resend-verification
POST /api/auth/login # {"email","password"}
POST /api/auth/logout
POST /api/auth/forgot-password # {"email"} → 1-hour reset link by email
POST /api/auth/reset-password # {"token","password"}
GET /api/auth/me # current user or null
Account (login)
POST /api/user/profile # {"username","display_name"} — change your handle / nickname
POST /api/user/password # {"current_password","new_password"}
GET /api/users/check?u=name # { available } — username availability
GET /api/users/<name> # public profile (by username)
Usernames: 3–24 chars of lowercase a–z, 0–9, dot, underscore or dash — no leading dot, no double punctuation, no reserved words. Display names are optional free-form nicknames (up to 24 chars, HTML stripped). Your profile link /u/<username> follows the username (email-prefix links were retired for privacy).
Limits
- Scripts: 5 MB max (UTF-8 text). Avatars: 256 KB. Covers: 2 MB. Images: PNG/JPG/GIF/WebP only — uploads are auto-compressed.
- Uploads & comments: 60 per hour · Likes: 300 per hour · Raw fetch limits: 240/min, executor API 300/hour. Auth & game-lookup attempts are separately rate-limited.
- API clients:
POST /api/auth/registeranswers400until you send"terms_ok": truealongside email/password — this is the server-side consent gate, not a browser-only checkbox. - Report abuse from any script page (⚑ Report) — registered accounts only; reports notify the admins instantly. Every script page also carries the site Terms and Privacy links in the footer.
- Verification funnel: after signing up you land on the code page — upload/dashboard stay locked until the 6-digit code is confirmed. The code is only re-sent when you press "Resend" (the old code stays valid).
- Notifications: the header bell (red dot on your avatar) shows new likes, comments and — for admins — reports.
- Unverified accounts older than 30 minutes are auto-purged on boot.