---
title: "Softr API authentication"
description: "Authenticate Softr API requests with a Personal Access Token: create a token, choose its scopes, and send it in the Softr-Api-Key header over HTTPS only."
canonical: "https://docs.softr.io/api/authentication"
updated: "2026-12-04"
---

# Softr API authentication

Every Softr API request must be made over HTTPS and carry a Personal Access Token. The token decides which workspaces the request can reach and what it can do there.

## Send the token

Pass the token in the `Softr-Api-Key` header. The base URL of the database API is:

```text
https://tables-api.softr.io/api/v1
```

```bash
curl -X GET 'https://tables-api.softr.io/api/v1/databases' \
  -H 'Softr-Api-Key: <your-token>'
```

The App Users API uses another base URL and one more header, `Softr-Domain`. See [App users endpoints](#app-users-endpoints).

## Token scope

- A token reaches **Everything** (every project in every workspace, now and later), or the workspaces and projects you pick with **Select specific**. It can only reach the databases it covers.
- For each area (**Applications & Forms**, **Databases** and **Workflows**), the token carries an access level. For the Database API, **View only** allows reads, **Edit data** also allows record changes, and **Full access** also allows changes to databases, tables and fields. See [Permissions](/mcp/overview#permissions).
- A token inherits the access rights of the user who created it.
- Softr supports Personal Access Tokens only. OAuth access tokens may come later.

> **Note**
>
> You must be the owner of the app or a workspace collaborator to make API calls. Guest collaborators can't. For a call from a workflow, you can also use the [Call API](/workflows/steps#call-api) step.

## Create a token

1. **Open API tokens**

   Open your Softr [dashboard](https://studio.softr.io/dashboard), select your workspace in the top-left corner, and go to **API tokens**.

   ![API tokens page](/softr-api/api-setup-and-endpoints/image1.webp)
2. **Create the token**

   Select **Create**, give the token a recognizable name, and pick an expiration period.

   ![Create new token](/softr-api/api-setup-and-endpoints/image2.webp)

   _Name your token_
3. **Choose the scopes**

   Define the **scopes**: what the token can access and the permissions it has. Then select **Continue**.

   ![Define scopes](/softr-api/api-setup-and-endpoints/image3.webp)

   _Define scopes_
4. **Copy the token**

   Copy the token and store it somewhere safe. Softr shows it only once.

   ![Token created](/softr-api/api-setup-and-endpoints/image4.webp)

   _Copy your token_

## App users endpoints

The App Users API manages the users of one Softr app. It lives at `https://studio-api.softr.io/v1/api`. Each request carries the `Softr-Api-Key` header and a `Softr-Domain` header with your app's subdomain or custom domain, such as `acme.softr.app`. Publish the app first.

| Endpoint                                                | What it does                                            |
| ------------------------------------------------------- | ------------------------------------------------------- |
| [Create user](/api/users/create-user)                   | Adds a user to the app                                  |
| [Delete user](/api/users/delete-user)                   | Removes a user from the app                             |
| [Deactivate user](/api/users/deactivate-user)           | Blocks sign-in and keeps the account                    |
| [Activate user](/api/users/activate-user)               | Allows a deactivated user to sign in again              |
| [Invite user](/api/users/invite-user)                   | Sends the invitation email                              |
| [Generate a magic link](/api/users/generate-magic-link) | Creates a permanent login link                          |
| [Sync users](/api/users/sync-users)                     | Syncs users with the app's data source                  |
| [Validate an auth token](/api/users/validate-token)     | Checks a user's JWT from your backend. Needs no API key |
