---
title: "Pin or unpin a memory to the top of the list"
method: POST
path: "/api/passport/memories/pin"
tags: ["Session"]
---

# Pin or unpin a memory to the top of the list

`POST /api/passport/memories/pin`

## Request

- Base URL: `https://passport.me`
- URL: `https://passport.me/api/passport/memories/pin`
- Auth: API key in cookie `passport_session`

## Request body

- object
  - `id` string, required
  - `pinned` boolean, required

## Response `200`

Updated

## Other responses

- `400`: Invalid request payload.
- `401`: Missing or invalid session cookie.
- `405`: Method not allowed.

---

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