Skip to main content
Server Scripts & Files

Execute a server script

Asynchronous Request

Executes an already deployed server script.

POST
/servers/{serverSlug}/scripts/{scriptId}/execute
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

scriptIdintegerrequired

ID of the script

Server script execution initiated

X-Callback-IDstringheader

CallbackID