---
title: "Creates a new share code."
method: POST
path: "/Share"
tags: ["Share", "Share"]
---

# Creates a new share code.

`POST /Share`

## Request body

- CreateShareRequest — Creates a new share code for a given shocker.
  - `ShockerId` integer — ShockerId of the shocker to share.

## Response `200`

Share code has been created, should return share code.

- string

## 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)
