---
title: "Swap in a fresh signed prekey (weekly rotation)"
method: POST
path: "/devices/keys/rotate-signed"
tags: ["E2EE"]
---

# Swap in a fresh signed prekey (weekly rotation)

`POST /devices/keys/rotate-signed`

## Request

- Base URL: `https://api.shopseen.com/v1`
- URL: `https://api.shopseen.com/v1/devices/keys/rotate-signed`
- Auth: HTTP bearer

## Request body

- object
  - `signed_prekey` object, required
    - `id` integer, required
    - `public` string, required
    - `signature` string, required

## Response `200`

Signed prekey rotated

## Other responses

- `404`: No active key set for this user

---

[API](https://skmtc.dev/shopseen/apis/a-side-api.md) - [All operations](https://skmtc.dev/shopseen/apis/a-side-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shopseen/apis/a-side-api/revisions/f37f989e90da?raw)
