---
title: "A private status page opened by its password - that browser keeps it open for thirty days, or until the password changes"
url: https://xovris.ai/docs/api/operations/postpublicstatusbyslugunlock/
---

# A private status page opened by its password - that browser keeps it open for thirty days, or until the password changes

`POST /v1/public/status/{slug}/unlock`

Open to anyone, so no Idempotency-Key is kept: nobody is signed in to keep it for, and replaying one caller's answer to another would hand it over.

No token needed: anyone may call this.

## Parameters

- `slug` (string, path, required)

## Request body

### `application/json`

- `page` (string)
- `password` (string)

Example:

```json
{
  "page": "string",
  "password": "string"
}
```

## Answers

- `200`: Done. (application/json: T8034d554cb38)
- `303`: A form post from the page's own frame: the password opened the page, and the browser goes back to it, marked for thirty days.
- `401`: A status page: the page itself for a browser (Accept: text/html), its JSON for a script, its Atom feed for a reader. (text/html: string; application/json: object; application/atom+xml: string)
- `404`: A status page: the page itself for a browser (Accept: text/html), its JSON for a script, its Atom feed for a reader. (text/html: string; application/json: object; application/atom+xml: string)
- `default`: Any other refusal or failure. The answer says what happened and what to do next. (application/json: Problem)

## A call

The address is https://api.xovris.ai/v1/public/status/{slug}/unlock - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/public/status/{slug}/unlock' \
  --header 'Content-Type: application/json' \
  --data '{"page":"string","password":"string"}'
```
