Actions29
- Server Actions
- File Actions
- Database Actions
- Backup Actions
- Account Actions
File → Get Upload URL
AI-generatedSummary
Retrieve a temporary signed URL to upload a file to a specific directory on a given server in the Pterodactyl panel.
Inputs
- Authentication (required) — Choose between Client API (user-level access) and Application API (admin-level access) to authenticate the request.
- Server Identifier (required) — The alphanumeric identifier of the server (e.g., abc12def) where the file will be uploaded; this is found in the server's URL in the Pterodactyl panel.
- Directory — The target directory path on the server to upload the file to. Defaults to "/".
Output shape
a single JSON object containing the signed upload URL and related upload metadata as returned from the Pterodactyl API.
The returned JSON includes the signed URL for file upload within the specified server and directory. Error responses are returned in the JSON's error property if the operation fails. Only one output item is produced per execution.