CommunityHire an ExpertSign Up
Admin & SecuritySCIM provisioning
Security and compliance

SCIM user provisioning

Use SCIM to create, update, deactivate and remove the users of a Softr app from your identity provider. Connection values, endpoints, attributes and errors.

SCIM (System for Cross-domain Identity Management, RFC 7644) 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. SSO authenticates a person when they sign in. SCIM creates and updates their user record before that, and keeps it current.

SCIM manages the users of an app, not the collaborators of your workspace. To manage collaborators, see Members and roles.

What SCIM does in Softr

Action in your IdPResult in Softr
Assign a person to the Softr appSoftr 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.
Assign a person who already has a user in the appSoftr links to the existing user and changes nothing. The IdP then sends updates as usual.
Update a person’s name or emailSoftr 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 IdPSoftr 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.
  • 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

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.

FieldValue
SCIM Base URL or Tenant URLhttps://studio-api.softr.io/scim/v2/applications/{applicationId}/Users
AuthenticationHTTP Bearer token: header Authorization: Bearer YOUR_SOFTR_API_KEY
Content typeapplication/scim+json

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

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.

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.

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.

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:

Endpoints

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

MethodPathPurposeLimit
GET/UsersList or filter users in the app.300
GET/Users/{id}Get one user by ID.300
POST/UsersCreate 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.

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

Attributes

SCIM attributeHow Softr uses it
userNameThe user’s email. Required on create, unless emails has an address. The value must be a valid email.
emails[].valueUsed as the email when userName is missing. Softr picks the primary entry, then the first one.
displayNameThe user’s full name. It wins over name.
name.formatted, name.givenName, name.familyNameUsed for the full name when displayName is missing. Softr uses formatted, or joins the given and family names.
activetrue activates the user. false deactivates them. On create, false creates the user and then deactivates them.
passwordOptional 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

Terminal
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

Terminal
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).

StatusMeaning
400The request is malformed. Typical causes: a missing or invalid email, an unsupported PATCH operation or path, or an unsupported filter.
401The Bearer token is missing or invalid, or its owner cannot reach the app.
403The token lacks read or write access to the app, or SCIM is not enabled for the workspace’s plan.
404The user does not exist.
409The 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 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.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.