---
title: "Request password enabled website access"
method: POST
path: "/public/request-password-enabled-website-access"
tags: ["Misc"]
---

# Request password enabled website access

`POST /public/request-password-enabled-website-access`

Returns a signed token that can be used to access the website. This will only work if you have set a website password in Settings > Security

Rate limit: Maximum 5 requests in a window of 1m.

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `fermionSchoolId` string, required
      - `password` string, required — Password to access the password-enabled website

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `signedFermionSchoolIdToken` string, required — Signed JWT token containing the fermionSchoolId. This token expires in 1 day and can be used to access the website.
    - object
      - `status` 'error', required
      - `errorMessage` string, required

---

[API](https://skmtc.net/fermion/apis/fermion-backend-api.md) · [All operations](https://skmtc.net/fermion/apis/fermion-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fermion/fermion-backend-api/revisions/7ce364c8820b/schema)
