---
title: "Changes to Generate a link to send in an email message."
method: POST
path: "/admin/generate_link"
---

# Changes to Generate a link to send in an email message.

`POST /admin/generate_link`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 51 revisions.

- **2025-02-07** `4d0f1a6c1ad9`: 5 info
- **2024-10-03** `b43a341e0cfe`: 1 info
- **2023-02-01** `144a34ca6d74`: 1 breaking

## Changes

- **2025-02-07** `4d0f1a6c1ad9`: 5 info
  - added the optional property `error_code` to the response with the `400` status
  - added the optional property `error_code` to the response with the `401` status
  - added the optional property `error_code` to the response with the `403` status
  - added the optional property `error_code` to the response with the `404` status
  - added the optional property `error_code` to the response with the `422` status
- **2024-10-03** `b43a341e0cfe`: 1 info
  - endpoint added
- **2023-02-01** `144a34ca6d74`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/docs/admin/generate_link/post.md) - [API](https://skmtc.dev/supabase/apis/supabase-auth-rest-api.md) - [Page](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/changes/admin/generate_link/post)
