Skip to content
Docs
Qubitara eSign

SCIM API reference

Updated Version 2ESIGN-53

This page is for IT admins and developers who need to know how the Qubitara eSign SCIM 2.0 endpoint behaves. SCIM is a standard that lets your identity provider (IdP: the system that holds your company accounts) add and remove users in other apps.

This endpoint is live today. The rest of the Developers section is planned. Your identity provider calls this endpoint after you turn on SCIM under Org Settings → SCIM. For the setup steps in the app, see SCIM provisioning.

Endpoint and authentication#

You find the endpoint URL and the bearer token on the SCIM tab of Org Settings. A bearer token is a secret that your IdP sends with each call.

The SCIM tab in Org Settings, with the Enable SCIM toggle, the SCIM Endpoint URL, the hidden Bearer Token and the Regenerate link.
The SCIM tab in Org Settings, with the Enable SCIM toggle, the SCIM Endpoint URL, the hidden Bearer Token and the Regenerate link.

Item

Value

Base URL

https://<org>.esign.qubitara.com/api/v1/scim/v2/<org> (shown as SCIM Endpoint URL under Org Settings → SCIM)

Authentication

Authorization: Bearer <token> where the token is the Bearer Token shown on the same tab

Enable

Enable SCIM toggle ("Automatically provision and deprovision users")

Token rotation

Regenerate: "Regenerating the token will revoke the old one immediately"

Protocol

SCIM 2.0 (RFC 7643 core schema (opens in a new tab), RFC 7644 protocol (opens in a new tab))

Content type

application/scim+json (also accepts application/json) (to be confirmed)

TLS

HTTPS only; minimum TLS version (to be confirmed) (Entra requires TLS 1.2 or higher)

Example (replace qubitara with your slug):

bash
export SCIM="https://qubitara.esign.qubitara.com/api/v1/scim/v2/qubitara"
export TOKEN="<bearer token from Org Settings → SCIM>"

curl "$SCIM/Users?startIndex=1&count=10" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/scim+json"

Discovery endpoints#

SCIM clients may call these endpoints before they start provisioning. It is not verified that all three exist (to be confirmed).

Endpoint

Purpose

GET /ServiceProviderConfig

Advertises supported features (patch, filter, bulk, sort, etag)

GET /ResourceTypes

Lists User and Group

GET /Schemas

Returns the schemas for User and Group

Users#

Supported attributes#

Qubitara eSign uses the core User schema urn:ietf:params:scim:schemas:core:2.0:User. These attributes matter:

Attribute

Required

Used for

userName

Yes

Unique identifier; must be the user's email. Used for matching on SSO sign-in (to be confirmed)

emails[type eq "work"].value

Recommended

Email; should equal userName

name.givenName, name.familyName

Recommended

Display name in Members

displayName

Optional

Display name if present; otherwise built from given + family name (to be confirmed)

active

Yes

true = active member; false = deactivated (see deprovisioning)

externalId

Recommended

IdP object ID; stored and returned

title, department

Optional

Ignored (to be confirmed)

Enterprise extension (urn:ietf:params:scim:schemas:extension:enterprise:2.0:User)

Optional

Accepted and ignored (to be confirmed)

SCIM user attributes do not set roles (to be confirmed). A new user gets the Member role by default (to be confirmed). After that, roles are set in one of two ways:

  • An admin sets the role on the Members page.

  • Group role mapping sets the role automatically. See Groups.

Create a user#

bash
curl -X POST "$SCIM/Users" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
    "userName": "[email protected]",
    "externalId": "00u1abcd2EFGHIJ3k4l5",
    "name": { "givenName": "Asha", "familyName": "Rao" },
    "displayName": "Asha Rao",
    "emails": [ { "value": "[email protected]", "type": "work", "primary": true } ],
    "active": true
  }'

Response 201 Created:

json
{
  "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
  "id": "01KZJ7Q8W3M5N2P4R6T8V0X1Y3",
  "externalId": "00u1abcd2EFGHIJ3k4l5",
  "userName": "[email protected]",
  "name": { "givenName": "Asha", "familyName": "Rao" },
  "displayName": "Asha Rao",
  "emails": [ { "value": "[email protected]", "type": "work", "primary": true } ],
  "active": true,
  "meta": {
    "resourceType": "User",
    "created": "2026-09-28T09:00:00Z",
    "lastModified": "2026-09-28T09:00:00Z",
    "location": "https://qubitara.esign.qubitara.com/api/v1/scim/v2/qubitara/Users/01KZJ7Q8W3M5N2P4R6T8V0X1Y3"
  }
}

What happens in the app:

  • Audit Logs records "User Provisioned (SCIM) — user". This was observed.

  • The user is expected to appear under Members with status Active and the default role. The Provisioned summary card is expected to go up by one (to be confirmed).

If a user with the same userName already exists, the endpoint returns 409 Conflict with scimType: "uniqueness" (to be confirmed). IdPs normally avoid this, because they look for the user first.

Look up a user by filter#

An identity provider checks for an existing user before it creates one.

bash
curl -G "$SCIM/Users" \
  -H "Authorization: Bearer $TOKEN" \
  --data-urlencode 'filter=userName eq "[email protected]"' \
  --data-urlencode 'startIndex=1' --data-urlencode 'count=100'
json
{
  "schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
  "totalResults": 1,
  "startIndex": 1,
  "itemsPerPage": 1,
  "Resources": [ { "id": "01KZJ7Q8W3M5N2P4R6T8V0X1Y3", "userName": "[email protected]", "active": true } ]
}

totalResults, startIndex and itemsPerPage are integers, not strings. Okta requires this.

Supported filters: userName eq "...", externalId eq "...", emails.value eq "..." (to be confirmed). Operators other than eq and and return 400 with scimType: "invalidFilter" (to be confirmed).

Get, list and paginate#

bash
curl "$SCIM/Users/01KZJ7Q8W3M5N2P4R6T8V0X1Y3" -H "Authorization: Bearer $TOKEN"
curl "$SCIM/Users?startIndex=101&count=100"   -H "Authorization: Bearer $TOKEN"

Pagination uses startIndex, which starts at 1, together with count. The largest count is not known (to be confirmed); 200 is common. An unknown user returns 404 with a SCIM error body (to be confirmed).

Update a user (PATCH)#

Microsoft Entra ID, OneLogin and JumpCloud send PATCH. This example changes a name:

bash
curl -X PATCH "$SCIM/Users/01KZJ7Q8W3M5N2P4R6T8V0X1Y3" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
    "Operations": [
      { "op": "replace", "path": "name.familyName", "value": "Rao-Menon" },
      { "op": "replace", "path": "displayName", "value": "Asha Rao-Menon" }
    ]
  }'

The endpoint returns 200 with the updated user, or 204 No Content (to be confirmed).

Replace a user (PUT)#

Okta custom SCIM integrations built with the App Integration Wizard "always use PUT (never PATCH)" for user updates (Okta and SCIM 2.0 (opens in a new tab)).

The endpoint accepts a full User object on PUT /Users/{id}. It treats optional attributes that you leave out as cleared (to be confirmed).

bash
curl -X PUT "$SCIM/Users/01KZJ7Q8W3M5N2P4R6T8V0X1Y3" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
    "id": "01KZJ7Q8W3M5N2P4R6T8V0X1Y3",
    "userName": "[email protected]",
    "name": { "givenName": "Asha", "familyName": "Rao-Menon" },
    "emails": [ { "value": "[email protected]", "type": "work", "primary": true } ],
    "active": true
  }'

You cannot change userName to an email that another member already uses (409 uniqueness) (to be confirmed).

Deactivate a user (PATCH active=false)#

Every large IdP removes access this way.

bash
curl -X PATCH "$SCIM/Users/01KZJ7Q8W3M5N2P4R6T8V0X1Y3" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
    "Operations": [ { "op": "replace", "path": "active", "value": false } ]
  }'

IdPs send this change in three forms:

  • The PATCH above.

  • Okta OIN-style clients may send the value nested: { "op": "replace", "value": { "active": false } }.

  • Okta AIW clients send a full PUT with "active": false.

All three forms must deactivate the user (to be confirmed).

Delete a user#

bash
curl -X DELETE "$SCIM/Users/01KZJ7Q8W3M5N2P4R6T8V0X1Y3" -H "Authorization: Bearer $TOKEN"

The endpoint returns 204 No Content (to be confirmed). JumpCloud sends DELETE. Entra sends it in some cases. The next section describes the effects.

What eSign does when a user is deprovisioned#

Deprovision means the IdP deactivates or deletes the user.

These entries were observed in Audit Logs:

  • The description "User Provisioned (SCIM) — user".

  • The description "Member Removed — organization".

  • The event badges Deleted and member_removed.

It was not observed which badge and description a SCIM deactivation or DELETE produces (to be confirmed).

The table shows the intended behavior for active=false and for DELETE:

Effect

active: false

DELETE

Sign-in

Blocked immediately (password, SSO, magic link, Google, Microsoft) (to be confirmed)

Blocked immediately

Active sessions

Terminated (to be confirmed)

Terminated (to be confirmed)

Member status

Shown as Inactive on Members (to be confirmed)

Removed from Members; "Member Removed" may also be logged (to be confirmed)

Documents they own

Retained in the Organization Workspace and visible to admins (to be confirmed)

Retained (to be confirmed)

Pending signature requests sent to them

Remain Action Required until voided or expired (to be confirmed)

Same (to be confirmed)

Group memberships

Retained (hidden) so reactivation restores role mapping (to be confirmed)

Removed

Audit log

Provisioning event with badge Deleted or Member Removed — organization (to be confirmed)

Same (to be confirmed)

Reactivation

PATCH active=true restores the member (to be confirmed)

A new POST /Users creates a new member record (to be confirmed)

Groups#

SCIM groups appear under Org Settings → Groups. The section is named "SCIM Groups: Groups provisioned from your identity provider via SCIM".

The Groups tab in Org Settings, with a list of SCIM groups, a Map role list for each group and the Refresh button.
The Groups tab in Org Settings, with a list of SCIM groups, a Map role list for each group and the Refresh button.

Each group shows a SCIM badge, a member count and an ID such as #01KZJEDP.

  • Map role: an admin chooses a role for each group: Owner, Admin, Member, Viewer or the default "No role". Members of the group get that eSign role automatically.

  • Refresh: gets the latest groups from the IdP.

The IdP must create the groups. Examples are Okta Push Groups, Entra group assignment with group mappings turned on, OneLogin rules and JumpCloud user groups. You cannot create groups on the Groups tab. See SCIM provisioning.

Create a group#

bash
curl -X POST "$SCIM/Groups" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"],
    "displayName": "HR Team",
    "externalId": "3f1e...",
    "members": [ { "value": "01KZJ7Q8W3M5N2P4R6T8V0X1Y3" } ]
  }'

The response is 201 with id, displayName, members[] and meta.

Audit Logs is expected to record "Group Synced (SCIM) — group" (to be confirmed). This description was observed, but the action that produces it was not.

displayName must be unique within the organization (to be confirmed).

Look up a group#

bash
curl -G "$SCIM/Groups" -H "Authorization: Bearer $TOKEN" \
  --data-urlencode 'filter=displayName eq "HR Team"'
  • Entra adds excludedAttributes=members to group list calls to keep responses small. The endpoint must accept it (to be confirmed).

  • Okta requires that GET /Groups/{id} without query parameters returns the full members list (Okta and SCIM 2.0 (opens in a new tab)).

Add and remove members (PATCH)#

bash
# Add members
curl -X PATCH "$SCIM/Groups/01KZJEDP" \
  -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
    "Operations": [ { "op": "add", "path": "members", "value": [ { "value": "01KZJ7Q8W3M5N2P4R6T8V0X1Y3" } ] } ]
  }'

# Remove one member (RFC-compliant form, sent by Okta and by Entra with the ?aadOptscim062020 flag)
curl -X PATCH "$SCIM/Groups/01KZJEDP" \
  -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
    "Operations": [ { "op": "remove", "path": "members[value eq \"01KZJ7Q8W3M5N2P4R6T8V0X1Y3\"]" } ]
  }'

# Replace the whole membership
curl -X PATCH "$SCIM/Groups/01KZJEDP" \
  -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
    "Operations": [ { "op": "replace", "path": "members", "value": [ { "value": "01KZ...A" }, { "value": "01KZ...B" } ] } ]
  }'

When the membership changes, added members get the mapped eSign role and removed members lose it. It is not known whether this happens at once or when you click Refresh (to be confirmed).

Each change is expected to log "Group Synced (SCIM) — group" (to be confirmed).

To rename a group, send { "op": "replace", "path": "displayName", "value": "People Team" }.

Delete a group#

bash
curl -X DELETE "$SCIM/Groups/01KZJEDP" -H "Authorization: Bearer $TOKEN"

The endpoint returns 204 (to be confirmed). The intended behavior (to be confirmed):

  • The group leaves the Groups tab.

  • Its role mapping is removed.

  • Members keep any role that an admin gave them by hand.

Identity provider notes#

Microsoft Entra ID: add ?aadOptscim062020#

The default PATCH format of Entra does not fully follow SCIM. Without a flag, Entra does two things:

  • It sends {"op":"Replace","path":"active","value":"False"}, where the value is a string.

  • It removes group members with a non-standard body.

Add ?aadOptscim062020 to the Tenant URL. Entra then sends boolean active values and RFC-style members[value eq "..."] removals (Microsoft Learn: Known issues with SCIM 2.0 protocol compliance (opens in a new tab)). Use:

text
https://<org>.esign.qubitara.com/api/v1/scim/v2/<org>?aadOptscim062020

The flag does not apply to on-demand provisioning. A test with Provision on demand may still send the old form. The endpoint is expected to accept both forms (to be confirmed).

Entra runs a cycle every 40 minutes. See Microsoft Entra ID.

Okta: PUT only, no user DELETE#

Okta custom (App Integration Wizard) integrations send PUT for all user updates, and also for deactivation. They never send PATCH, and they never send DELETE for users.

Groups come through Push Groups. They use POST /Groups, PATCH /Groups/{id} and DELETE /Groups/{id} (Okta and SCIM 2.0 (opens in a new tab)).

In Okta:

  1. Set the unique identifier field to userName.

  2. Set the authentication mode to HTTP Header.

  3. Enter the eSign bearer token.

See Okta.

OneLogin and JumpCloud#

OneLogin uses POST, GET with a userName filter, PUT or PATCH (this depends on the connector), and /Groups.

The Enable button in OneLogin sends a validation GET. It shows Enabled on a 404 response. OneLogin does not document the path that it calls (Create a SCIM Test App (opens in a new tab)). It is not verified that eSign passes this check (to be confirmed).

JumpCloud sends PATCH and DELETE.

See OneLogin and Custom SAML.

Google Workspace#

Google Workspace offers automatic provisioning only for apps in its catalog. It does not offer it for custom SAML apps, so it cannot call this endpoint. See Google Workspace.

Error responses#

Errors are expected to follow the SCIM error schema (RFC 7644 §3.12).

Every row in the table below is not verified (to be confirmed). There is one exception. The 401 for a regenerated token follows from the product text "revoke the old one immediately".

json
{
  "schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
  "status": "409",
  "scimType": "uniqueness",
  "detail": "A user with userName [email protected] already exists."
}

HTTP

scimType

When

400

invalidSyntax, invalidFilter, invalidPath, invalidValue

Malformed body, unsupported filter or path

401

—

Missing, revoked or regenerated bearer token

403

—

SCIM not enabled for this organization (toggle off) (to be confirmed)

404

—

Unknown user or group ID

409

uniqueness

Duplicate userName or group displayName

429

—

Too many requests; limits (to be confirmed)

501

—

Unsupported operation, for example POST /Bulk (to be confirmed)

Unsupported operations#

Audit events#

Action

Audit Logs entry

Filter chip

POST /Users

User Provisioned (SCIM) — user

Provisioning

PATCH/PUT user

User Provisioned (SCIM) — user; badge (to be confirmed)

Provisioning

PATCH active=false or DELETE /Users/{id}

Badge Deleted or "Member Removed — organization" (member_removed); which one (to be confirmed)

Provisioning or Organization (to be confirmed)

POST/PATCH/DELETE group

Group Synced (SCIM) — group; for PATCH and DELETE (to be confirmed)

Provisioning

Entries that the IdP causes are expected to show the user "System" and an IP of – (to be confirmed). Both values were observed in Audit Logs, but they were not linked to specific SCIM calls.

To export the entries, click Export CSV on the Audit Logs page. See Audit trail.

Next steps#

Was this page helpful?