---
title: "Post Microsite Claim Guest Sessions"
method: POST
path: "/microsite/claim-guest-sessions"
tags: ["microsite"]
---

# Post Microsite Claim Guest Sessions

`POST /microsite/claim-guest-sessions`

## Request

- Base URL: `https://backend.praktiki.io` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.praktiki.io/microsite/claim-guest-sessions`
- Auth: HTTP bearer

Move a guest's microsite progress to the account the caller just signed in to (PRA-255 item 29).

Ownership: the caller's own token proves the account, and `guest_id_token` (verified, anonymous,
another uid) proves the guest. The guest token expires after an hour, so send it right after sign-in.

## Request body

- MicrositeClaimGuestRequest
  - `guest_id_token` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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