---
title: "POST /core/users/{id}/recovery/"
method: POST
path: "/core/users/{id}/recovery/"
tags: ["core"]
---

# POST /core/users/{id}/recovery/

`POST /core/users/{id}/recovery/`

Create a temporary link that a user can use to recover their account

## Path parameters

- `id` integer, required

## Request body

- UserRecoveryLinkRequest — Payload to create a recovery link
  - `token_duration` string

## Response `200`

- Link — Returns a single link
  - `link` string, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
