---
title: "POST /api/database/views/{slug}/public/auth/"
method: POST
path: "/api/database/views/{slug}/public/auth/"
tags: ["Database table views"]
---

# POST /api/database/views/{slug}/public/auth/

`POST /api/database/views/{slug}/public/auth/`

Returns a valid never-expiring JWT token for this public shared view if the password provided matches with the one saved by the view's owner.

## Path parameters

- `slug` string, required

## Request body

- PublicViewAuthRequest
  - `password` string, required

## Response `200`

- PublicViewAuthResponse
  - `access_token` string, required

## Other responses

- `401`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
