# Hostingsurge Automation API

**Canonical:** https://apis.io/apis/hostingsurge-com/hostingsurge-com-automation-api/  
**Provider:** Hostingsurge — https://apis.io/providers/hostingsurge-com/  
**Base URL:** https://hostingsurge.com/api/v1  
**Documentation:** https://hostingsurge.com/developers

Hostingsurge Automation API is one of 37 APIs that [Hostingsurge](https://apis.io/providers/hostingsurge-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Automation. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

The Automation API from Hostingsurge — 8 operation(s) for automation.

## Operations (13)

| Method | Path | Summary |
|---|---|---|
| GET | `/projects/{projectId}/cron` | List recurring scheduled commands |
| POST | `/projects/{projectId}/cron` | Create a recurring scheduled command (cron job) in the project's container |
| PATCH | `/projects/{projectId}/cron/{cronJobId}` | Update a cron job's command, schedule, container or enabled state |
| DELETE | `/projects/{projectId}/cron/{cronJobId}` | Remove a cron job |
| GET | `/projects/{projectId}/cron/{cronJobId}/executions` | Recent runs of a cron job (newest first) |
| POST | `/projects/{projectId}/cron/{cronJobId}/run` | Trigger an existing recurring cron job immediately, without waiting for its own… |
| POST | `/projects/{projectId}/run-command` | Run a one-off command in the project's container and wait for its bounded output |
| GET | `/projects/{projectId}/hooks` | List deploy hooks (secrets never shown again) |
| POST | `/projects/{projectId}/hooks` | Create a deploy hook: POST its url (returned once) to deploy the given branch |
| DELETE | `/projects/{projectId}/hooks/{hookId}` | Remove a deploy hook |
| GET | `/projects/{projectId}/webhook` | Push-to-deploy webhook status (url, last delivery); never returns the secret |
| POST | `/projects/{projectId}/webhook` | Create or rotate the project's push-to-deploy secret (returned once) |
| DELETE | `/projects/{projectId}/webhook` | Turn push-to-deploy off |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-automation-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-builder-visual-op-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-policy-templates-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-pending-changes-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-confirm-prices-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-collection-input-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-create-shop-input-body-schema.json

## Other Hostingsurge APIs (12)

- [Hostingsurge Accelerator API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-accelerator-api/)
- [Hostingsurge Agents API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-agents-api/)
- [Hostingsurge Alerts API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-alerts-api/)
- [Hostingsurge Analytics API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-analytics-api/)
- [Hostingsurge Assistant API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-assistant-api/)
- [Hostingsurge Backups API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-backups-api/)
- [Hostingsurge Billing API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-billing-api/)
- [Hostingsurge Builder API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-builder-api/)
- [Hostingsurge Business API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-business-api/)
- [Hostingsurge Certificates API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-certificates-api/)
- [Hostingsurge Databases API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-databases-api/)
- [Hostingsurge Deployments API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-deployments-api/)

## Tags

Automation

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/hostingsurge-com/hostingsurge-com-automation-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/hostingsurge-com/.
