SCIM API overview
Use the System for Cross-Domain Identity Management (SCIM) API to automate user provisioning and deprovisioning within your organization. The API integrates with identity providers (IdPs) through the SCIM 2.0 standard, allowing you to synchronize user management between your IdP and Twilio.
The SCIM API uses the OAuth 2.0 Authorization Code grant for authentication. The workflow is as follows:
- Create an OAuth application in the Twilio Admin Center with the required SCIM scopes.
- Authorize the application to obtain an authorization code.
- Exchange the authorization code for access and refresh tokens.
- Use the access token to make requests to the SCIM API endpoints. Use the SCIM endpoints to create Twilio users, update them, and deactivate them.
Steps 2–4 are typically handled by an identity provider (for example, Okta).
Get started with the SCIM API by using the following resources:
- Okta integration: Configure SCIM provisioning with Okta as your identity provider.
- Set up OAuth for SCIM: Create and configure an OAuth application for SCIM access.
- SCIM API reference: See the complete API reference for user management endpoints.