Skip to main content
GET
/
startup-scripts
/
{script}
Get a startup script
curl --request GET \
  --url https://console.wenium.com/api/startup-scripts/{script} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "data": {
    "id": 1,
    "name": "Install Nginx",
    "content": "#!/bin/bash\napt-get update\napt-get install -y nginx",
    "is_active": true,
    "user_id": 1,
    "created_at": "2026-07-03T00:00:00.000000Z",
    "updated_at": "2026-07-03T00:00:00.000000Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

script
integer
required

Response

200 - application/json

Startup script details

status
boolean
Example:

true

data
object