v1.0.0
OpenAPI 3.1.1
Consentio SCIM 2.0 Provisioning API
Overview
SCIM 2.0 compliant API for enterprise user, group, and role provisioning.
This API implements:
- RFC 7643 - SCIM Core Schema
- RFC 7644 - SCIM Protocol
- ABAC - Attribute-Based Access Control for fine-grained permissions
Key Concepts
Scope Levels
Roles can be defined at two levels:
| Level | Scope | ScopeID | Examples |
|---|---|---|---|
| Organisation | organisation |
org_id | Org-wide admin, national buyer |
| Workspace | workspace |
workspace_id | Workspace editor, workspace viewer |
Resource Types
| Resource | Description | Scope |
|---|---|---|
| Users | User accounts with role assignments | Organisation |
| Groups | Collections of users with role assignments | Organisation only |
| Roles | Permission sets (ABAC) | Organisation or Workspace |
External IDs
All resources support external IDs for IdP integration:
- Accept
externalIdon create/update - Store and return both Consentio
idandexternalId - Filter by
externalIdsupported
ABAC Model
Roles define permissions and optional ABAC attributes for fine-grained access control:
Role: "Purchasing Manager"
├── scope: "organisation"
├── scopeId: "org_abc123"
└── permissions:
├── products:read
├── products:write
├── orders:read
├── orders:write
└── orders:approve
User Role Assignment
Users are assigned roles via a simple array of role IDs:
{
"urn:consentio:params:scim:schemas:extension:User:1.0": {
"roles": ["role_purchasing_manager", "role_product_editor"]
}
}
Group Role Assignment
Groups can have roles assigned. All group members inherit those roles:
{
"displayName": "Purchasing Team",
"members": [{"value": "usr_123"}],
"roles": ["role_purchasing_manager"]
}
Environments
| Environment | Base URL | Purpose |
|---|---|---|
| Production | https://api.consentio.co |
Live environment |
| Staging | https://staging.api.consentio.co |
UAT/Recette |
| Sandbox | https://sandbox.api.consentio.co |
Integration testing |
Authentication
All SCIM endpoints require OAuth 2.0 Bearer Token (JWT).
- Token obtained from SSO flow or API credentials
- User must have
adminrole in the organisation
Capabilities
| Feature | Supported | Notes |
|---|---|---|
| Users | ✅ | Full CRUD, PATCH operations |
| Groups | ✅ | Org-level with role assignment |
| Roles | ✅ | ABAC with permissions & attributes |
| External IDs | ✅ | Store and return both IDs |
| Bulk | ✅ | Up to 100 operations/request |
| Filter | ✅ | Standard SCIM filter syntax |
| Sort | ✅ | By any attribute |
| Patch | ✅ | RFC 7644 compliant |
| ETag | ❌ | Not supported |
| Change Password | ❌ | SSO-only users |
Contact
Technical questions: tech@consentio.co
Client Libraries