---
title: "Creates a new link."
method: POST
path: "/Links"
tags: ["Links", "Links"]
---

# Creates a new link.

`POST /Links`

## Request body

- CreateLinkRequest — Creates a new share code for a given shocker.
  - `Name` string
  - `Intensity` integer
  - `Duration` integer
  - `RemainingActivations` integer, nullable
  - `ShowCountdown` boolean
  - `ShowUsages` boolean
  - `Editable` boolean
  - `ActivateOnLoad` boolean
  - `ShockEnabled` boolean
  - `VibrateEnabled` boolean
  - `BeepEnabled` boolean
  - `ForceWarning` boolean
  - `ForceLogin` boolean
  - `SingleUser` boolean
  - `ShockerId` integer
  - `ExpiryMinutes` integer, nullable

## Response `204`

Link has been created.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.dev/pishock/apis/pishock-public-api-v1.md) · [All operations](https://skmtc.dev/pishock/apis/pishock-public-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pishock/pishock-public-api-v1/revisions/271272058af7/schema)
