---
title: "One-time link to continue on the Mac (10 minutes, single use)"
method: POST
path: "/v1/cloud/handoff/codes"
tags: ["v1", "Cloud Infrastructure"]
---

# One-time link to continue on the Mac (10 minutes, single use)

`POST /v1/cloud/handoff/codes`

## Request

- Base URL: `https://memory.papr.ai`
- URL: `https://memory.papr.ai/v1/cloud/handoff/codes`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Request body

- HandoffCodeRequest
  - `appNamespaceId` string, nullable
  - `appSlug` string, nullable
  - `view` string, nullable
  - `source` string, nullable: Where the handoff started

## Response `200`

Successful Response

- HandoffCodeResponse
  - `code` string, required
  - `url` string, required
  - `expiresAt` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `0e7a5c0d125d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/papr-ai/apis/papr-memory-api/changes/v1/cloud/handoff/codes/post.md)

---

[API](https://skmtc.dev/papr-ai/apis/papr-memory-api.md) - [All operations](https://skmtc.dev/papr-ai/apis/papr-memory-api/llms.txt) - [OpenAPI document](https://skmtc.dev/papr-ai/apis/papr-memory-api/revisions/6fc381dc78b3?raw)
