---
title: "Get post-install script"
method: GET
path: "/api/vps/v1/post-install-scripts/{postInstallScriptId}"
tags: ["VPS: Post-install scripts"]
---

# Get post-install script

`GET /api/vps/v1/post-install-scripts/{postInstallScriptId}`

Retrieve post-install script by its ID.

Use this endpoint to view specific automation script details.

## Path parameters

- `postInstallScriptId` integer, required

## Response `200`

Success response

- VPSV1PostInstallScriptPostInstallScriptResource
  - `id` integer — Post-install script ID
  - `name` string — Name of the script
  - `content` string — Content of the script
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
