Beta Versions
Certain WorkOS features may be available only in the beta version of the SDK. Beta versions have the-beta.* suffix, for example,
3.2.0-beta.1. For more information on how to use beta
versions, refer to the README in the GitHub repository.
Releases
June 18, 2026
v8.2.0
Latest June 18, 2026
Bug Fixes
- #670 feat(generated)!: regenerate from spec (12 changes)
⚠️ Breaking
- organization_membership:
- Changed response for
UserManagementOrganizationMembership.list - pipes:
- SDK surface change: Symbol "AsyncPipes.create_data_integration_token" was removed
- user_management:
- Changed response for
UserManagementInvitations.list - widgets:
- SDK surface change: Symbol "WidgetSessionTokenResponse" was removed
Features
- authorization:
- Added model
ReplaceGroupRoleAssignmentEntry - Added model
ReplaceGroupRoleAssignments - Added model
DeleteGroupRoleAssignmentsByCriteria - Added endpoint
POST /authorization/groups/{group_id}/role_assignments - Added endpoint
PUT /authorization/groups/{group_id}/role_assignments - Added endpoint
DELETE /authorization/groups/{group_id}/role_assignments - Added endpoint
GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id} - Added endpoint
DELETE /authorization/groups/{group_id}/role_assignments/{role_assignment_id} - client:
- Added model
ClientApiToken - Added model
ClientApiTokenResponse - Added service
Client - connect:
- Added
auth_methodtoConnectedAccount - Added
api_key_last_4toConnectedAccount - Added enum
ConnectedAccountAuthMethod - groups:
- Added model
CreateGroupRoleAssignment - Added model
GroupRoleAssignment - Added model
GroupRoleAssignmentList - Added model
GroupRoleAssignmentResource - organization_membership:
- Added model
UserOrganizationMembershipList - Added model
UserOrganizationMembershipListListMetadata - pipes:
- Added model
DataIntegrationCredentials - Added model
DataIntegrationConfigurationResponse - Added model
DataIntegrationConfigurationListResponse - Added model
ConfigureDataIntegrationBody - Added
auth_methodstoDataIntegrationsListResponseData - Added
auth_methodtoDataIntegrationsListResponseDataConnectedAccount - Added
api_key_last_4toDataIntegrationsListResponseDataConnectedAccount - Added enum
DataIntegrationCredentialsCredentialsType - Added enum
DataIntegrationsListResponseDataAuthMethods - Added enum
DataIntegrationsListResponseDataConnectedAccountAuthMethod - Added service
PipesProvider - user_management:
- Added model
UserInviteList - Added model
UserInviteListListMetadata - Made
AuthorizationCodeSessionAuthenticateRequest.client_secretoptional - Made
RefreshTokenSessionAuthenticateRequest.client_secretoptional - widgets:
- Added
widgets:pipes:managetoWidgetSessionTokenScopes
June 17, 2026
v8.1.0
June 17, 2026
Bug Fixes
- #665 feat(generated)!: regenerate from spec (9 changes)
⚠️ Breaking
- api_keys:
- Made
expires_atrequired in API key models - directory_sync:
- Removed model
DsyncDeactivated - Removed model
DsyncDeactivatedData - Removed model
DsyncDeactivatedDataDomain - Removed enum
DsyncDeactivatedDataType - Removed enum
DsyncDeactivatedDataState - radar:
- Removed
domain_sign_up_rate_limitfromRadarStandaloneResponseControl - user_management:
- Removed
return_tofromRevokeSession
Features
- api_keys:
- Added model
ExpireApiKey - Added model
ApiKeyUpdated - Added model
ApiKeyUpdatedData - Added model
ApiKeyUpdatedDataOwner - Added model
UserApiKeyUpdatedDataOwner - Added model
ApiKeyUpdatedDataPreviousAttribute - Added endpoint
POST /api_keys/{id}/expire - audit_logs:
- Added
SnowflaketoAuditLogConfigurationLogStreamType - connect:
- Added
nametoUserObject - directory_sync:
- Added model
DsyncTokenCreated - Added model
DsyncTokenCreatedData - Added model
DsyncTokenRevoked - Added model
DsyncTokenRevokedData - user_management:
- Added
nameto user management models - webhooks:
- Added
api_key.updatedtoCreateWebhookEndpointEvents - Added
api_key.updatedtoUpdateWebhookEndpointEvents
May 26, 2026
v8.0.0
May 26, 2026
Bug Fixes
- #662 feat(generated)!: regenerate from spec (10 changes)
⚠️ Breaking
- user_management: Remove organization membership methods, move to new service
- Removed
list_organization_memberships,create_organization_membership,get_organization_membership,update_organization_membership,delete_organization_membership,deactivate_organization_membership, andreactivate_organization_membershipmethods from UserManagement. - Removed
RoleSingleandRoleMultipledataclasses from UserManagement. - Organization membership management is now handled by the new
OrganizationMembershipService. - Client accessor renamed from
client.user_management_organization_membership_groupstoclient.organization_membership. - organization_membership: Add new OrganizationMembershipService with membership and group operations
- Created new
OrganizationMembershipServicewithlist_organization_memberships,create_organization_membership,get_organization_membership,update_organization_membership,delete_organization_membership,deactivate_organization_membership,reactivate_organization_membership, andlist_organization_membership_groupsmethods. - Added
RoleSingleandRoleMultipledataclasses to support role assignment. - Added
AsyncOrganizationMembershipServicefor async operations. - vault: Replace hand-maintained Vault module with generated Vault service
- The old
workos.vaultmodule (vault.py) has been replaced by a generatedvault/_resource.pyservice. Method renames: read_object→get_kvread_object_by_name→get_nameget_object_metadata→ removed (no direct equivalent)list_objects→list_kvlist_object_versions→list_kv_versionscreate_object→create_kvupdate_object→update_kvdelete_object→delete_kvcreate_data_key(key_context=...)→create_data_key(context=...)decrypt_data_key→create_decrypt- Removed types:
DataKey,DataKeyPair,ObjectDigest,ObjectUpdateBy. Replaced by new generated models (CreateDataKeyResponse,DecryptResponse,ObjectMetadata,ObjectSummary,ObjectWithoutValue,VaultObject, etc.). - Added new methods:
create_rekey,list_kv_metadata. - Added
AsyncVaultfor async operations. - Client-side
encrypt/decrypt(AES-GCM) methods are preserved with the same signatures. - connect:
ConnectApplicationis now a discriminated union ConnectApplicationwas a single dataclass; it is now a discriminated union dispatcher based onapplication_type.- All Connect methods (
list_applications,create_application,get_application,update_application) now returnConnectApplicationVariant(a union ofConnectApplicationM2M,ConnectApplicationOAuth, orConnectApplicationUnknown). - Code using
isinstance(x, ConnectApplication)or accessing type-specific fields without checking the variant will need updating. - radar: Remove device_fingerprint and bot_score parameters from assess request
- Removed
device_fingerprintandbot_scoreoptional parameters fromRadar.create_attemptandAsyncRadar.create_attemptmethods. - Removed these fields from
RadarStandaloneAssessRequestmodel. - radar: Rename radar list/action enums and remove enum values
- Renamed
RadarActiontoRadarListActionandRadarTypetoRadarListType(affectsadd_list_entryandremove_list_entrymethod signatures). RadarStandaloneResponseBlocklistTypeis now a lazy re-export alias ofRadarListType.- Removed
credential_stuffingandip_sign_up_rate_limitvalues fromRadarStandaloneResponseControlenum. - Removed
login,signup,sign_up, andsign_invalues fromRadarStandaloneAssessRequestActionenum; onlysign-upandsign-inremain. - authorization: Remove search parameter and add resource/role filtering
- Removed
searchparameter fromAuthorization.list_resourcesandAsyncAuthorization.list_resources. - Added
resource_id,resource_external_id,resource_type_slugparameters tolist_role_assignmentsmethod. - Added
role_slugparameter tolist_role_assignments_for_resource_by_external_idandlist_role_assignments_for_resourcemethods. - api_keys: Add expires_at field to API key models
- Added
expires_atoptional field toCreateOrganizationApiKeymodel. - Added
expires_atoptional field toCreateUserApiKeymodel. - Added
expires_atto organizational and user API key models (OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, UserApiKeyWithValue). - Added
expires_atparameter tocreate_organization_api_keyandcreate_user_api_keymethods. - audit_logs: Rename audit log models and update service references
- Renamed
AuditLogActionJsontoAuditLogAction. - Renamed
AuditLogExportJsontoAuditLogExport. - Renamed
AuditLogSchemaJsontoAuditLogSchema. - Renamed
AuditLogSchemaJsonActortoAuditLogSchemaActorInputandAuditLogSchemaJsonTargettoAuditLogSchemaTargetInput. - Added new
AuditLogSchemaInputmodel (used for schema creation payloads). - Renamed
AuditLogsRetentionJsontoAuditLogsRetention. - Updated all service methods to use new model names.
- webhooks: Rename WebhookEndpointJson to WebhookEndpoint
- Renamed
WebhookEndpointJsonmodel toWebhookEndpoint. - Updated all service methods to use the new model name.
- Updated webhook endpoint status references.
Features
- common: Add new models for pipes events and enhancements
- Added
Actormodel representing the user or API key that performed an action. - Added
Errormodel for error response bodies. - Added
PipeConnectedAccountmodel with state enumeration. - Added pipe event models:
PipesConnectedAccountConnected,PipesConnectedAccountDisconnected,PipesConnectedAccountReauthorizationNeeded. - Added webhook event enum values for pipes connected account events.
- Renamed
AuditLogExportJsonStatetoAuditLogExportState. - Renamed
WebhookEndpointJsonStatustoWebhookEndpointStatus. - Updated
UserManagementAuthenticationScreenHintto useRadarStandaloneAssessRequestActiontype alias.
May 11, 2026
v7.0.1
May 11, 2026
May 7, 2026
v7.0.0
May 7, 2026
7.0.0 (2026-05-07)
⚠ BREAKING CHANGES
- api_keys: Restructure API key models for dual ownership
- common: Add user API key event models and refactor BYOK key provider
- authorization: Refactor role assignment models and add list endpoints
Features
- api_keys: Restructure API key models for dual ownership (8b5e91d)
- authorization: Refactor role assignment models and add list endpoints (8b5e91d)
- common: Add user API key event models and refactor BYOK key provider (8b5e91d)
- docs: Publish pdoc-generated API reference to GitHub Pages (#651) (05831ea)
- user_management: Add user API key management endpoints (8b5e91d)
Bug Fixes
- generated: Remove service-specific pagination order enums across SDK (8b5e91d)
May 1, 2026
v6.2.0
May 1, 2026
April 28, 2026
v6.1.0
April 28, 2026
April 24, 2026
v6.0.8
April 24, 2026
April 23, 2026
v6.0.7
April 23, 2026
April 22, 2026
v6.0.6
April 22, 2026
April 20, 2026
v6.0.5
April 20, 2026
April 16, 2026
v6.0.4
April 16, 2026
April 15, 2026
v6.0.3
April 15, 2026
April 13, 2026
v6.0.1
April 13, 2026
April 13, 2026
v6.0.0
April 13, 2026
6.0.0 (2026-04-13)
Top-level notices
- v6 is a breaking release and now requires Python 3.10 or newer.
- The SDK now uses generated sync and async clients with top-level imports from
workos. client.portalhas been renamed toclient.admin_portal, andclient.fgais not available in v6.
What's changed
- Rebuilt the Python SDK around a generated client/runtime with updated request handling, pagination, typed models, and error surfaces.
- Reorganized package exports and service modules to support the new v6 client shape across the SDK.
- Added release validation coverage, including package smoke tests and the runtime dependency updates needed for packaged installs.
See the [V6 migration guide](docs/V6_MIGRATION_GUIDE.md) before upgrading from v5.
March 16, 2026
v5.46.0
March 16, 2026
March 9, 2026
v5.45.0
March 9, 2026
March 9, 2026
v5.44.0
March 9, 2026
5.44.0 (2026-03-06)
Features
March 5, 2026
v5.43.0
March 5, 2026
February 20, 2026
v5.42.1
February 20, 2026
What's Changed
- Fix outdated organization_membership events by @mattgd in #560
- v5.42.1 by @workos-sdk-automation[bot] in #562
Full Changelog: v5.42.0...v5.42.1
February 17, 2026
v5.42.0
February 17, 2026
What's Changed
- Add permission and organization role support by @csrbarber in #548
- feat: Add ability to accept invitations by @gjtorikian in #552
- v5.42.0 by @workos-sdk-automation[bot] in #553
Full Changelog: v5.41.0...v5.42.0
February 12, 2026
v5.41.0
February 12, 2026
What's Changed
- chore: Configure Renovate by @renovate[bot] in #527
- chore(deps): update actions/create-github-app-token action to v2 by @renovate[bot] in #536
- Bump cryptography from 46.0.3 to 46.0.5 by @dependabot[bot] in #540
- Add sso subdict to sso auth events by @blackmad-cradle in #542
- chore(deps): update dependency node to v24 by @renovate[bot] in #539
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #535
- Add missing event types by @blackmad-cradle in #543
- Add API Keys support (create, list, delete) by @blackmad-cradle in #544
- v5.41.0 by @workos-sdk-automation[bot] in #547
New Contributors
- @renovate[bot] made their first contribution in #527
- @dependabot[bot] made their first contribution in #540
Full Changelog: v5.40.1...v5.41.0
February 4, 2026
v5.40.1
February 4, 2026
What's Changed
- Add custom_attributes field to OrganizationMembership by @ajworkos in #524
- Add
accepted_user_idto invitation by @gjtorikian in #525 - v5.40.1 by @workos-sdk-automation[bot] in #526
Full Changelog: v5.40.0...v5.40.1
January 22, 2026
v5.40.0
January 22, 2026
What's Changed
- ci: Migrate release workflow to Trusted Publishing by @birdcar in #517
- Implement the remaining Audit Logs functionality by @birdcar in #515
- Use correct var/secret names by @gjtorikian in #522
- v5.40.0 by @workos-sdk-automation[bot] in #523
New Contributors
- @workos-sdk-automation[bot] made their first contribution in #523
Full Changelog: v5.39.1...v5.40.0
January 20, 2026
v5.39.1
January 20, 2026
What's Changed
- Allow for same param name but different contextual usage by @gjtorikian in #520
- Bump to 5.39.1 by @gjtorikian in #521
Full Changelog: v5.39.0...5.39.1
January 15, 2026
v5.39.0
January 15, 2026
What's Changed
- Add context7.json to repo by @nicknisi in #504
- Add
read_object_by_namemethod for Vault API by @hexedpackets in #506 - Add Python SDK support for WorkOS Pipes by @birdcar in #507
- Bump version to v5.38.0 by @birdcar in #509
- Add new supported password hash types by @alastair in #461
- Move from setup.py to uv+pyproject.toml by @birdcar in #496
- Remove unused pypi environment for now by @birdcar in #513
- Correct params for
list_groupsandlist_usersby @gjtorikian in #512 - Release 5.38.1 by @birdcar in #514
- Add nox and nox-uv for DX testing improvements by @birdcar in #516
- v5.39.0 by @nicknisi in #518
New Contributors
- @hexedpackets made their first contribution in #506
- @birdcar made their first contribution in #507
- @alastair made their first contribution in #461
- @gjtorikian made their first contribution in #512
Full Changelog: v5.37.0...v5.39.0
January 13, 2026
v5.38.1
January 13, 2026
What's Changed
- Add new supported password hash types by @alastair in #461
- Move from setup.py to uv+pyproject.toml by @birdcar in #496
- Correct params for
list_groupsandlist_usersby @gjtorikian in #512 - Add Support for a JWT Leeway Parameter by @Th3R3p0 in #430
New Contributors
Full Changelog: v5.38.0...v5.38.1
January 12, 2026
v5.38.0
January 12, 2026
What's Changed
- Add context7.json to repo by @nicknisi in #504
- Add
read_object_by_namemethod for Vault API by @hexedpackets in #506 - Add Python SDK support for WorkOS Pipes by @birdcar in #507
Full Changelog: v5.37.0...v5.38.0
December 17, 2025
v5.37.0
December 17, 2025
What's Changed
- Add support for list user feature flags endpoint by @stanleyphu in #502
- v5.37.0 by @stanleyphu in #503
Full Changelog: v5.36.0...v5.37.0