---
title: "Create a permalink to the snapshot"
method: POST
path: "/me/files/{fileName}/{version}/permalink"
tags: ["me"]
---

# Create a permalink to the snapshot

`POST /me/files/{fileName}/{version}/permalink`

## Path parameters

- `fileName` string, required
- `version` integer, required

## Response `201`

Permalink created successfully

- string

## Other responses

- `404` — File or snapshot not found

## Changes

- **2025-01-22** `7a2b2f42a2f2` — 1 breaking, 1 warning
  - added the new path request parameter `fileName`
  - deleted the `path` request parameter `file_name`
- **2025-01-22** `d3210261c539` — 1 info
  - api operation id `createMyPermalink` was added
- **2025-01-21** `ad4cd30302ac` — 1 info
  - the endpoint scheme security `BearerAuth` was added to the API

[Change history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/me/files/:fileName/:version/permalink/post.md)

---

[API](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api.md) · [All operations](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lapisla-prover/lapisla-prover-api/revisions/7a2b2f42a2f2/schema)
