---
title: "Create On-Demand Backup"
method: POST
path: "/sites/{id}/ondemand-backups"
tags: ["sites"]
---

# Create On-Demand Backup

`POST /sites/{id}/ondemand-backups`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/sites/{id}/ondemand-backups`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:id/ondemand-backups/post.ts> (a function with typed inputs; its response is checked against the schema)

Create an on-demand backup for the specified site.

## Path parameters

- `id` integer, required

## Request body

- object
  - `backup_type` string

## Response `200`

Successful Response

- object
  - `message` string
  - `data` object

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
