---
title: "SCIM user provisioning"
description: "Use SCIM to create, update, deactivate and remove the users of a Softr app from your identity provider. Connection values, endpoints, attributes and errors."
canonical: "https://docs.softr.io/admin/scim"
updated: "2026-12-04"
---

# SCIM user provisioning

SCIM (System for Cross-domain Identity Management, [RFC 7644](https://datatracker.ietf.org/doc/html/rfc7644)) is the standard that identity providers (IdPs) use to manage users in other apps. Connect it when you want your IdP to decide who has an account in your Softr app. When you add, change, deactivate or remove a person in your IdP, Softr gets the change.

SCIM works well next to [single sign-on](/apps/single-sign-on). SSO authenticates a person when they sign in. SCIM creates and updates their user record before that, and keeps it current.

> **Note**
>
> SCIM user provisioning is available on the [Enterprise plan](https://www.softr.io/pricing). [Contact sales](https://www.softr.io/contact-sales) to enable it for your workspace.

SCIM manages the users of an app, not the collaborators of your workspace. To manage collaborators, see [Members and roles](/admin/members).

## What SCIM does in Softr

| Action in your IdP                                | Result in Softr                                                                                                                                                                                            |
| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Assign a person to the Softr app                  | Softr creates a user in your app. If the app's **Automatically send invitation email when a new user is created** setting is on, Softr also sends the invitation. See [Add and manage users](/apps/users). |
| Assign a person who already has a user in the app | Softr links to the existing user and changes nothing. The IdP then sends updates as usual.                                                                                                                 |
| Update a person's name or email                   | Softr updates the user record.                                                                                                                                                                             |
| Deactivate a person (`active: false`)             | Softr deactivates the user, who can no longer sign in.                                                                                                                                                     |
| Reactivate a person (`active: true`)              | Softr reactivates the user.                                                                                                                                                                                |
| Unassign a person or delete them in your IdP      | Softr removes the user from the app.                                                                                                                                                                       |

## Before you start

You need:

- A workspace on the Enterprise plan, with SCIM enabled by Softr.
- A Softr API token. See [Authentication](/api/authentication#create-a-token).
- The ID of the app to provision into.
- Admin access to your IdP, which must support SCIM 2.0 and Bearer token authentication. Okta and Microsoft Entra ID both work.

The token owner must have access to the app's workspace. The token also needs read and write access to the app (`applications:read` and `applications:write`). Tokens without scope restrictions have both.

Create the token under **API tokens** in your account menu.

![The API page with Personal access tokens, the No token created yet message, an arrow pointing at Create, and a banner to connect AI tools via MCP](/admin/account/api-tokens.2x.webp)

## Connect your identity provider

Every SCIM-capable IdP follows the same flow. Only the screens differ. Your IdP asks for a base URL (sometimes called Tenant URL) and a Bearer token.

| Field                               | Value                                                                    |
| ----------------------------------- | ------------------------------------------------------------------------ |
| **SCIM Base URL** or **Tenant URL** | `https://studio-api.softr.io/scim/v2/applications/{applicationId}/Users` |
| **Authentication**                  | HTTP Bearer token: header `Authorization: Bearer YOUR_SOFTR_API_KEY`     |
| **Content type**                    | `application/scim+json`                                                  |

Replace `{applicationId}` with your app's ID and `YOUR_SOFTR_API_KEY` with your Softr API token.

1. **Add Softr in your IdP**

   Add Softr as a SCIM-enabled application, or open the application you already use for SSO. Configure SCIM on that same application.
2. **Enter the base URL and token**

   Paste the SCIM base URL, with your app's ID in place of `{applicationId}`. Paste your Softr API token as the Bearer token.
3. **Test the connection**

   Select your IdP's **Test Connection** or **Verify** button. It sends a request to Softr to check the URL and the token.
4. **Turn on provisioning and assign people**

   Turn on the actions you want: create users, update attributes and deactivate users. Then assign the people or groups who need access. Your IdP pushes them to Softr.

For the exact screens, see your IdP's documentation:

- [Okta: configure SCIM provisioning](https://help.okta.com/oie/en-us/content/topics/provisioning/scim/scim-app-integration.htm)
- [Microsoft Entra ID: provision users with SCIM](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/use-scim-to-provision-users-and-groups)
- [OneLogin: SCIM Provisioner](https://developers.onelogin.com/scim)

## Endpoints

All endpoints sit under the base URL. Limits are per minute.

| Method   | Path          | Purpose                                            | Limit |
| -------- | ------------- | -------------------------------------------------- | ----- |
| `GET`    | `/Users`      | List or filter users in the app.                   | 300   |
| `GET`    | `/Users/{id}` | Get one user by ID.                                | 300   |
| `POST`   | `/Users`      | Create a user.                                     | 100   |
| `PUT`    | `/Users/{id}` | Replace a user's attributes. Entra ID uses it.     | 100   |
| `PATCH`  | `/Users/{id}` | Update some attributes. Okta and most IdPs use it. | 60    |
| `DELETE` | `/Users/{id}` | Remove a user from the app.                        | 30    |

`POST` returns `201` for a new user. If a user with that email already exists, it returns `200` with that user.

### Pagination and filters

`GET /Users` takes `startIndex` (starts at 1) and `count`. `count` defaults to 100 and is capped at 500. With `count=0`, the response gives only the total number of users.

The endpoint supports one filter, the form Okta and Entra ID send when they look up a user. The match ignores case, and the response holds at most one user.

```text
GET /Users?filter=userName eq "user@example.com"
```

## Attributes

| SCIM attribute                                        | How Softr uses it                                                                                                   |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `userName`                                            | The user's email. Required on create, unless `emails` has an address. The value must be a valid email.              |
| `emails[].value`                                      | Used as the email when `userName` is missing. Softr picks the primary entry, then the first one.                    |
| `displayName`                                         | The user's full name. It wins over `name`.                                                                          |
| `name.formatted`, `name.givenName`, `name.familyName` | Used for the full name when `displayName` is missing. Softr uses `formatted`, or joins the given and family names.  |
| `active`                                              | `true` activates the user. `false` deactivates them. On create, `false` creates the user and then deactivates them. |
| `password`                                            | Optional and write-only. Most IdPs don't send one.                                                                  |

### Update with PATCH

`PATCH` supports the `add` and `replace` operations, on these paths: `active`, `displayName`, `name.formatted`, `userName`, `emails[primary eq true].value` and `password`. A request with no path can carry several of these as one object. Other paths return `400`.

## Test with curl

Test the endpoint with `curl` before you point your IdP at it.

### Create a user

```bash
curl --request POST 'https://studio-api.softr.io/scim/v2/applications/YOUR_APP_ID/Users' \
  --header 'Authorization: Bearer YOUR_SOFTR_API_KEY' \
  --header 'Content-Type: application/scim+json' \
  --data-raw '{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
    "userName": "jane@example.com",
    "name": {
      "givenName": "Jane",
      "familyName": "Doe"
    },
    "emails": [
      { "value": "jane@example.com", "type": "work", "primary": true }
    ],
    "active": true
  }'
```

### Deactivate a user

```bash
curl --request PATCH 'https://studio-api.softr.io/scim/v2/applications/YOUR_APP_ID/Users/USER_ID' \
  --header 'Authorization: Bearer YOUR_SOFTR_API_KEY' \
  --header 'Content-Type: application/scim+json' \
  --data-raw '{
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
    "Operations": [
      { "op": "replace", "path": "active", "value": false }
    ]
  }'
```

## Error responses

Errors use the SCIM error schema (`urn:ietf:params:scim:api:messages:2.0:Error`).

| Status | Meaning                                                                                                                                 |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| `400`  | The request is malformed. Typical causes: a missing or invalid email, an unsupported PATCH operation or path, or an unsupported filter. |
| `401`  | The Bearer token is missing or invalid, or its owner cannot reach the app.                                                              |
| `403`  | The token lacks read or write access to the app, or SCIM is not enabled for the workspace's plan.                                       |
| `404`  | The user does not exist.                                                                                                                |
| `409`  | The email conflicts with another user. Creating a user whose email already exists does not return this. It returns the existing user.   |

## Limits

- Softr supports the `Users` resource only. `Groups` provisioning is not supported. Manage [user groups](/apps/user-groups) in Softr while SCIM keeps the user records in sync.
- `PATCH` supports `add` and `replace` only. It does not support `remove`.
- `GET /Users` supports only the `userName eq "value"` filter.
