> For the complete documentation index, see [llms.txt](https://docs.stormss.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stormss.cc/developers/enterprise-reference/generate-a-scan-pin.md).

# Generate A Scan Pin

## Checking A Users Scan History

<mark style="color:green;">`POST`</mark> [`https://stormss.cc/api/enterprise/gen_pin/`](https://stormss.cc/api/enterprise/gen_pin/)

Generates A Scan Pin For Storm Enterprise

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**JSON**

| Name      | Type     | Description      |
| --------- | -------- | ---------------- |
| `api_key` | *string* | **API Key**      |
| `Version` | s*tring* | **Game Versio**n |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "pin": "A1D3M1"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
