WorkerWorker Script

Download Worker

GET
Fetch raw script content for your worker. Note this is the original script content, not JSON encoded.

Path parameters

script_namestringRequired
Name of the script, used in URLs and route configuration.
account_identifierstringRequired
Identifier
GET
1curl https://api.cloudflare.com/client/v4/accounts/023e105f4ecef8ad9ca31a8372d0c353/workers/scripts/this-is_my_script-01 \
2 -H "Authorization: Bearer <token>"