---
title: "List script transfer targets"
method: GET
path: "/api/scripts/{handle}/{host}/{slug}/transfer"
---

# List script transfer targets

`GET /api/scripts/{handle}/{host}/{slug}/transfer`

## Request

- Base URL: `https://reduck.ai`
- URL: `https://reduck.ai/api/scripts/{handle}/{host}/{slug}/transfer`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

List the scopes this script could move into: your personal scope, plus the projects where you may create scripts.

## Path parameters

- `handle` string, required: The owner a resource is addressed under: "@username" for a personal scope, or a bare slug for a project.
- `host` string, required: The site the script automates, as a hostname.
- `slug` string, required: The script's unique identifier within its host, unique per owner.

## Response `200`

OK

- object
  - `targets` TransferTarget[], required
    - `kind` 'user' | 'project', required: Which namespace the destination is: a personal scope, or a project.
    - `handle` string, required
    - `name` string, required
    - `can_transfer_out` boolean, required: Whether the caller could move the script back out of this scope once it has landed.

## Other responses

- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `409`: The script is archived, so there is nowhere it can move.

---

[API](https://skmtc.dev/reduck/apis/reduck-api.md) · [All operations](https://skmtc.dev/reduck/apis/reduck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/reduck/apis/reduck-api/revisions/a573b91206d6?raw)
