---
title: "Move PTZ camera to preset"
method: POST
path: "/v1/cameras/{id}/ptz/goto/{slot}"
tags: ["Camera PTZ control & management"]
---

# Move PTZ camera to preset

`POST /v1/cameras/{id}/ptz/goto/{slot}`

## Request

- Base URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/protect/integration`
- URL: `https://api.ui.com/v1/connector/consoles/942A6FF664C0000000000964970E0000000009E710560000000068A9873F:9999999999/proxy/protect/integration/v1/cameras/{id}/ptz/goto/{slot}`
- Auth: none declared

Adjust the PTZ camera position to a specified preset

## Path parameters

- `id` string, required: The primary key of camera
- `slot` string, required: Which slot this preset belongs to (-1 home preset, >=0 other presets).

## Response `204`

The PTZ camera was moved to the given preset successfully.

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ubiquiti/apis/unifi-protect-api.md) - [All operations](https://skmtc.dev/ubiquiti/apis/unifi-protect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ubiquiti/apis/unifi-protect-api/revisions/e341e1381db1?raw)
