workos/workos-php
The official WorkOS PHP library gives PHP applications convenient access to the WorkOS API. Install via Composer, configure WORKOS_API_KEY and WORKOS_CLIENT_ID, and integrate SSO, Directory Sync, Admin Portal, Magic Link, and more.
use American spelling and add agent spelling rule (#455) (68cd9ea)
#447 feat(generated): regenerate from spec
Features
UserRoleAssignmentSourceGroupgroup to UserRoleAssignmentSource#452 feat(generated)!: regenerate from spec (9 changes)
⚠️ Breaking
AddDataIntegrationsUpsertApiKeyRequestAddDataIntegrationsUpsertClientCredentialsRequestAddDataIntegrationsUpsertApiKeyRequestConnectionOwnerAddDataIntegrationsUpsertClientCredentialsRequestConnectionOwnerFeatures
RevokeLinkexternal_user_id to GenerateLinkPOST /portal/revoke_linkPOST /portal/generate_linkAgentBlueprintInvocableAsAgentBlueprintsCreateRequestInvocableAsAgentBlueprintsUpdateRequestInvocableAsinvocable_as to AgentBlueprintinvocable_as to AgentBlueprintsCreateRequestinvocable_as to AgentBlueprintsUpdateRequestAgentBlueprintInvocableAsInstanceTypesAgentBlueprintsCreateRequestInvocableAsInstanceTypesAgentBlueprintsUpdateRequestInvocableAsInstanceTypesGET /audit_logs/actionsGET /audit_logs/actions/{actionName}/schemasPOST /audit_logs/actions/{actionName}/schemasPOST /audit_logs/eventsPOST /audit_logs/exportsGET /audit_logs/exports/{auditLogExportId}GET /authorization/organization_memberships/{organization_membership_id}/role_assignmentsPOST /authorization/groups/{group_id}/role_assignmentsPUT /authorization/groups/{group_id}/role_assignmentsGET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}POST /authorization/organization_memberships/{organization_membership_id}/checkGET /authorization/organization_memberships/{organization_membership_id}/resourcesGET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_id}/permissionsGET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_type_slug}/{external_id}/permissionsPOST /authorization/organization_memberships/{organization_membership_id}/role_assignmentsGET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}PATCH /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/organization_membershipsGET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/role_assignmentsGET /authorization/resourcesPOST /authorization/resourcesGET /authorization/resources/{resource_id}PATCH /authorization/resources/{resource_id}GET /authorization/resources/{resource_id}/organization_membershipsGET /authorization/resources/{resource_id}/role_assignmentsDirectorySyncResponseDirectorySyncRateLimitErrorPOST /directories/{id}/syncPUT /feature-flags/{slug}/disablePUT /feature-flags/{slug}/enableDELETE /user_management/organization_memberships/{id}GET /organizations/{id}/audit_logs_retentionPUT /organizations/{id}/audit_logs_retentionPOST /organizations/{organization_id}/it_contacts/{contact_id}/inviteestablished_by_user_id to ConnectedAccountWriteResponsestate_reason to ConnectedAccountWriteResponseestablished_by_user_id to ConnectedAccountstate_reason to ConnectedAccountestablished_by_user_id to DataIntegrationsListResponseDataConnectedAccountstate_reason to DataIntegrationsListResponseDataConnectedAccountPOST /data-integrations/{slug}/api-keyPOST /data-integrations/{slug}/client-credentialsPOST /organizations/{organization_id}/connected_accounts/{slug}POST /user_management/users/{user_id}/connected_accounts/{slug}ConnectedAccountWriteResponseConnectedAccountWriteResponseWarningaccount_display_name to CreateOrganizationConnectedAccountaccount_identifier to CreateOrganizationConnectedAccountaccount_display_name to OrganizationConnectedAccountaccount_identifier to OrganizationConnectedAccountaccount_display_name to CreateConnectedAccountaccount_identifier to CreateConnectedAccountaccount_display_name to ConnectedAccountInputaccount_identifier to ConnectedAccountInputaccount_display_name to DataIntegrationsCreateApiKeyConnectionRequestaccount_identifier to DataIntegrationsCreateApiKeyConnectionRequestaccount_display_name to DataIntegrationsUpsertApiKeyRequestaccount_identifier to DataIntegrationsUpsertApiKeyRequestaccount_display_name to ReauthorizeDataIntegrationsUpsertApiKeyRequestaccount_identifier to ReauthorizeDataIntegrationsUpsertApiKeyRequestaccount_display_name to DataIntegrationsUpsertApiKeyRequest2account_identifier to DataIntegrationsUpsertApiKeyRequest2account_display_name to DataIntegrationsGetDataIntegrationAuthorizeUrlRequestaccount_display_name to AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestaccount_display_name to ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestaccount_display_name to DataIntegrationsCreateClientCredentialsConnectionRequestaccount_identifier to DataIntegrationsCreateClientCredentialsConnectionRequestaccount_display_name to DataIntegrationsUpsertClientCredentialsRequestaccount_identifier to DataIntegrationsUpsertClientCredentialsRequestaccount_display_name to ReauthorizeDataIntegrationsUpsertClientCredentialsRequestaccount_identifier to ReauthorizeDataIntegrationsUpsertClientCredentialsRequestaccount_display_name to DataIntegrationsUpsertClientCredentialsRequest2account_identifier to DataIntegrationsUpsertClientCredentialsRequest2ConnectedAccountWriteResponseConnectionRoleConnectedAccountWriteResponseAuthMethodConnectedAccountWriteResponseStatePOST /data-integrations/{slug}/api-keyPOST /data-integrations/{slug}/authorizePOST /data-integrations/{slug}/client-credentialsAddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestAddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwnerReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwnerDataIntegrationsCreateApiKeyConnectionRequestDataIntegrationsCreateClientCredentialsConnectionRequestDataIntegrationsCreateApiKeyConnectionRequestConnectionOwnerDataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwnerPOST /data-integrations/{slug}/api-keyPOST /data-integrations/{slug}/client-credentialsconfig to DataIntegrationVendedCredentialDataIntegrationVendedCredentialCreateOrganizationConnectedAccountCreateConnectedAccountAddDataIntegrationsUpsertApiKeyRequestReauthorizeDataIntegrationsUpsertApiKeyRequestDataIntegrationsUpsertApiKeyRequest2AddDataIntegrationsUpsertClientCredentialsRequestReauthorizeDataIntegrationsUpsertClientCredentialsRequestDataIntegrationsUpsertClientCredentialsRequest2CreateOrganizationConnectedAccountStateCreateConnectedAccountStateAddDataIntegrationsUpsertApiKeyRequestConnectionOwnerReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwnerDataIntegrationsUpsertApiKeyRequest2ConnectionOwnerAddDataIntegrationsUpsertClientCredentialsRequestConnectionOwnerReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwnerDataIntegrationsUpsertClientCredentialsRequest2ConnectionOwnerOrganizationsDataProviders.updateOrganizationDataInstallation.connection_intentUserManagementDataProviders.updateUserDataInstallation.connection_intentOrganizationConnectedAccountOrganizationConnectedAccountStatePOST /radar/attemptsPUT /radar/attempts/{id}POST /radar/lists/{type}/{action}code_verifier to TokenQueryPOST /user_management/invitationsPOST /user_management/invitations/{id}/resendPOST /user_management/waitlist_entries/{id}/approvePUT /user_management/users/{id}Fixes
POST /agents/blueprints/{agent_blueprint_id}/tokensPipes.createApiKeyConnection from ConnectedAccount to ConnectedAccountWriteResponsePipes.upsertApiKey from ConnectedAccount to ConnectedAccountWriteResponsePipes.createClientCredentialsConnection from ConnectedAccount to ConnectedAccountWriteResponsePipes.upsertClientCredentials from ConnectedAccount to ConnectedAccountWriteResponseOrganizationsDataProviders.createOrganizationDataInstallation from ConnectedAccount to ConnectedAccountWriteResponseOrganizationsDataProviders.updateOrganizationDataInstallation from ConnectedAccount to ConnectedAccountWriteResponseUserManagementDataProviders.createUserDataInstallation from ConnectedAccount to ConnectedAccountWriteResponseUserManagementDataProviders.updateUserDataInstallation from ConnectedAccount to ConnectedAccountWriteResponsePOST /organizations/{organization_id}/connected_accounts/{slug}POST /user_management/users/{user_id}/connected_accounts/{slug}PUT /data-integrations/{slug}/api-keyPipes.getDataIntegrationAuthorizeUrlPOST /data-integrations/{slug}/authorizePUT /data-integrations/{slug}/client-credentialsPipes.upsertApiKeyPipes.upsertClientCredentialsDataIntegrationCredentialsResponse.credentialconnected_account_id from DataIntegrationsUpsertApiKeyRequestconnected_account_id from DataIntegrationsUpsertClientCredentialsRequestOrganizationsDataProviders.createOrganizationDataInstallation from OrganizationConnectedAccount to CreateOrganizationConnectedAccountUserManagementDataProviders.createUserDataInstallation from ConnectedAccountInput to CreateConnectedAccountOrganizationsDataProviders.createOrganizationDataInstallation from ConnectedAccountInput to OrganizationConnectedAccountOrganizationsDataProviders.updateOrganizationDataInstallation from ConnectedAccountInput to OrganizationConnectedAccountPUT /organizations/{organization_id}/connected_accounts/{slug}POST /connectionsPOST /connections/{connectionId}/saml_sp_signing_cert#454 feat(generated)!: regenerate from spec (3 changes)
Features
POST /user_management/usersPOST /user_management/magic_authFixes
POST /user_management/authenticate#456 fix(generated): regenerate from spec
Features
revoked_at to AgentRegistrationPOST /agents/registrations/{id}/revokedeps: update actions/deploy-pages action to v5.0.1 (#444) (7282b2c)
#438 fix(generated): regenerate from spec
Features
connected_account_id to DataIntegrationsVendCredentialsRequestconnected_account_id to DataIntegrationsGetUserTokenRequestUserManagementDataProviders.getUserDataInstallation.connected_account_idGET /user_management/users/{user_id}/connected_accounts/{slug}UserManagementDataProviders.updateUserDataInstallation.connected_account_idPUT /user_management/users/{user_id}/connected_accounts/{slug}UserManagementDataProviders.deleteUserDataInstallation.connected_account_idDELETE /user_management/users/{user_id}/connected_accounts/{slug}connected_accounts to DataIntegrationsListResponseDataPUT /data-integrations/{slug}PUT /data-integrations/{slug}/api-keyPUT /data-integrations/{slug}/client-credentialsPOST /data-integrations/{slug}/credentialsPOST /data-integrations/{provider}/token#443 feat(generated): regenerate from spec (4 changes)
Features
PortalLinkResponse.linkAgentsSessions.list.organization_idClaimViewResponse.user_codeAgentAdminValidateCredentialRequest.credentialValidateApiKey.valueOrganizationApiKeyWithValue.valueUserApiKeyWithValue.valueAuthenticationChallenge.codeAuthenticationFactorEnrolledTotp.secretAuthenticationFactorEnrolledTotp.qr_codeAuthenticationFactorEnrolledTotp.uriAuthenticationChallengesVerifyRequest.codesupports_multiple_connections to DataIntegrationsVendCredentialsRequestsupports_multiple_connections to DataIntegrationsGetUserTokenRequestUserManagementDataProviders.getUserDataInstallation.supports_multiple_connectionsUserManagementDataProviders.updateUserDataInstallation.supports_multiple_connectionsUserManagementDataProviders.deleteUserDataInstallation.supports_multiple_connectionsUserManagementDataProviders.getUserDataIntegrations.supports_multiple_connectionsPipesOwnershipuser to CreateDataIntegrationOwnershipuser to DataIntegrationOwnershipGET /data-integrations/{slug}/organizationPUT /data-integrations/{slug}/organizationDELETE /data-integrations/{slug}/organizationPipes.listDataIntegrations.ownershipGET /data-integrationsPUT /user_management/users/{user_id}/connected_accounts/{slug}DELETE /user_management/users/{user_id}/connected_accounts/{slug}DataIntegrationCredentialsResponseCredential.valueconnection_owner to DataIntegrationsUpsertApiKeyRequestconnection_owner to DataIntegrationsUpsertClientCredentialsRequestDataIntegrationsUpsertApiKeyRequestConnectionOwnerDataIntegrationsUpsertClientCredentialsRequestConnectionOwnerAccountSelectionRequiredErrorconnected_account_id to DataIntegrationsUpsertApiKeyRequestconnected_account_id to DataIntegrationsUpsertClientCredentialsRequestownership to CreateDataIntegrationownership to DataIntegrationconnection_owner to DataIntegrationsVendCredentialsRequestconnection_owner to DataIntegrationsGetUserTokenRequestCreateDataIntegrationOwnershipDataIntegrationOwnershipDataIntegrationsVendCredentialsRequestConnectionOwnerDataIntegrationsGetUserTokenRequestConnectionOwnerPOST /data-integrations/{slug}/credentialsPOST /data-integrations/{provider}/tokenCreateConnectionKeyPair.keyTokenQuery.codeSSOLogoutAuthorizeResponse.logout_urlCreateAuthkitOAuthResourceAuthkitOAuthResourceUserManagementAuthkitOAuthResourcesDeviceAuthorizationResponse.verification_uri_completeVerifyEmailAddress.codeConfirmEmailChange.codeMagicAuth.codeUserInvite.accept_invitation_urlEmailVerification.codePasswordReset.password_reset_urlAuthenticateResponse.authkit_authorization_codeDeviceAuthorizationResponse.device_codeDeviceAuthorizationResponse.user_codeAuthorizationCodeSessionAuthenticateRequest.codeAuthorizationCodeSessionAuthenticateRequest.code_verifierMagicAuthCodeSessionAuthenticateRequest.codeEmailVerificationCodeSessionAuthenticateRequest.codeMfaTotpSessionAuthenticateRequest.codeRadarEmailChallengeCodeSessionAuthenticateRequest.codeRadarSmsChallengeCodeSessionAuthenticateRequest.codeDeviceCodeSessionAuthenticateRequest.device_codeInvitation.accept_invitation_urlMagicAuthSendMagicAuthCodeAndReturnResponse.codeRadarChallenge.codeCreateObjectRequest.valueVaultObject.valueUpdateObjectRequest.valueFixes
userland_user from CreateDataIntegrationOwnershipuserland_user from DataIntegrationOwnershipPOST /user_management/users/{user_id}/connected_accounts/{slug}PUT /data-integrations/{slug}/api-keyPUT /data-integrations/{slug}/client-credentialsPOST /data-integrations/{slug}/credentialsPOST /data-integrations/{provider}/tokenGET /user_management/users/{user_id}/connected_accounts/{slug}PUT /user_management/users/{user_id}/connected_accounts/{slug}DELETE /user_management/users/{user_id}/connected_accounts/{slug}DataIntegrationInstallation.user_id#445 fix(generated): regenerate from spec (1 change)
Features
POST /auth/factors/{id}/challengeconnection_owner to DataIntegrationsListResponseDataDataIntegrationsListResponseDataConnectionOwnerconnection_role to DataIntegrationsListResponseDataConnectedAccountaccount_identifier to DataIntegrationsListResponseDataConnectedAccountaccount_display_name to DataIntegrationsListResponseDataConnectedAccountDataIntegrationsListResponseDataConnectedAccountConnectionRoleconnection_role to DataIntegrationInstallationaccount_identifier to DataIntegrationInstallationaccount_display_name to DataIntegrationInstallationDataIntegrationInstallationConnectionRoleconnection_owner to DataIntegrationsGetDataIntegrationAuthorizeUrlRequestDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwnerPipes: $workos->pipes().getOrganizationConnectedAccount, createOrganizationConnectedAccount, updateOrganizationConnectedAccount, deleteOrganizationConnectedAccount, listOrganizationDataProvidersconnection_role to ConnectedAccountaccount_identifier to ConnectedAccountaccount_display_name to ConnectedAccountConnectedAccountConnectionRolepipes.account_connection.add_failed to CreateWebhookEndpointEventspipes.account_connection.connected to CreateWebhookEndpointEventspipes.account_connection.connection_failed to CreateWebhookEndpointEventspipes.account_connection.disconnected to CreateWebhookEndpointEventspipes.account_connection.reauthorization_needed to CreateWebhookEndpointEventspipes.account_connection.add_failed to UpdateWebhookEndpointEventspipes.account_connection.connected to UpdateWebhookEndpointEventspipes.account_connection.connection_failed to UpdateWebhookEndpointEventspipes.account_connection.disconnected to UpdateWebhookEndpointEventspipes.account_connection.reauthorization_needed to UpdateWebhookEndpointEventsFixes
POST /auth/factors/{id}/challenge#446 fix(generated): regenerate from spec (2 changes)
Fixes
CreateDataIntegrationAuthMethodsPOST /auth/factors/{id}/challenge#428 feat(generated)!: regenerate from spec (2 changes)
⚠️ Breaking
Events.list.eventsFeatures
Groups.list.searchclient_id to ConnectedAccountclient_secret_last_4 to ConnectedAccountconfig to ConnectedAccountclient_id to DataIntegrationsListResponseDataConnectedAccountclient_secret_last_4 to DataIntegrationsListResponseDataConnectedAccountconfig to DataIntegrationsListResponseDataConnectedAccountPOST /data-integrations/{slug}/credentialsCustomProviderDefinition.authorization_url optionalCustomProviderDefinition.token_url optionalDataIntegrationsUpsertClientCredentialsRequestclient_credentials to CreateDataIntegrationAuthMethodsPUT /data-integrations/{slug}/client-credentialsXOAuth to ConnectionTypeXOAuth to ProfileConnectionTypeXOAuth to ConnectionsConnectionTypeGrokOAuth to ConnectionTypeGrokOAuth to ProfileConnectionTypeGrokOAuth to ConnectionsConnectionTypeDELETE /user_management/users/{id}password_salt_position to CreateUserpassword_salt_position to UpdateUserRadarSmsChallengeCodeSessionAuthenticateRequest.verification_id optionalRadarSmsChallengeCodeSessionAuthenticateRequest.phone_number optionalCreateUserPasswordSaltPositionUpdateUserPasswordSaltPositionXOAuth to AuthenticateResponseAuthenticationMethodXOAuth to UserIdentitiesGetItemProviderGrokOAuth to AuthenticateResponseAuthenticationMethodGrokOAuth to UserIdentitiesGetItemProvideragent.registration.refreshed to CreateWebhookEndpointEventsagent.registration.refreshed to UpdateWebhookEndpointEventsFixes
DataIntegration.credentialsPOST /user_management/authenticatePOST /user_management/usersPUT /user_management/users/{id}pkce: Default clientId to the client's configured client ID (#423) (f65713b)
#425 fix(generated): regenerate from spec
Features
config to DataIntegrationsGetDataIntegrationAuthorizeUrlRequestclient_credentials to DataIntegrationAuthMethodsclient_credentials to DataIntegrationsListResponseDataAuthMethodsclient_credentials to DataIntegrationsListResponseDataConnectedAccountAuthMethodconfig to Pipes modelsclient_credentials to ConnectedAccountAuthMethodFixes
POST /user_management/invitationsPOST /user_management/invitations/{id}/resendPOST /user_management/magic_authPOST /user_management/authenticate#426 fix(generated): regenerate from spec
Fixes
callback_endpoint from Connectiondeps: update actions/cache action to v5.1.0 (#419) (d963179)
prevent oagen generated files from being PR'ed (26d03a0)
scope SDK bot App token permissions (293b5ef)
#420 fix(generated): regenerate from spec
Features
expired to AuditLogExportState#421 feat(generated)!: regenerate from spec (3 changes)
Features
ClaimViewResponseClaimViewResponseOrganizationAgentAdminLinkClaimAttemptToExternalUserRequestAgentAdminLinkClaimAttemptToExternalUserRequestUserClaimViewResponseStatusPATCH /agents/claims/attemptsAgentRegistrationAgentCredentialValidationAgentRegistrationAgentIdentityAgentRegistrationClaimAgentAdminValidateCredentialRequestAgentRegistrationClaimClaimCompletionAgentRegistrationStatusAgentRegistrationKindAgentAdminValidateCredentialRequestTypeAgentsagent_registration_id to ApiKeyValidationResponseApplicationsRegistrationTypesApplications.list.registration_typesDirectoryUsers.list.idp_idDirectoryUsers.list.emailOrganizationAuthorizedConnectApplicationListOrganizationAuthorizedConnectApplicationListDataOrganizationAuthorizedConnectApplicationListListMetadataOrganizationsAuthorizedApplicationsDataIntegrationInstallationauth_methods to CreateDataIntegrationapi_key to CreateDataIntegrationapi_key to UpdateDataIntegrationauth_methods to DataIntegrationinstallation to DataIntegrationCreateDataIntegrationAuthMethodsDataIntegrationAuthMethodsDataIntegrationCredentialsResponseDataIntegrationCredentialsResponseCredentialDataIntegrationsUpsertApiKeyRequestDataIntegrationsVendCredentialsRequestDataIntegrationCredentialsResponseErrorPUT /data-integrations/{slug}/api-keyPOST /data-integrations/{slug}/credentialsSSO.authorize.promptssha256 to CreateUserPasswordHashTypessha256 to UpdateUserPasswordHashTypeGET /user_management/radar_challenges/{id}agent.registration.revoked to CreateWebhookEndpointEventsagent.registration.revoked to UpdateWebhookEndpointEventsagent.registration.deleted to CreateWebhookEndpointEventsagent.registration.deleted to UpdateWebhookEndpointEventsradar.challenge_created to CreateWebhookEndpointEventsradar.challenge_created to UpdateWebhookEndpointEventsagent.registration.expired to CreateWebhookEndpointEventsagent.registration.expired to UpdateWebhookEndpointEventsWidgetSessionToken.organization_id optional#422 feat(generated)!: regenerate from spec (5 changes)
⚠️ Breaking
#416 fix(generated): regenerate from spec
Features
UserRoleAssignmentSourcesource to UserRoleAssignmentUserRoleAssignmentSourceTypeUserManagementAuthentication.authorize.max_ageGET /user_management/cors_originsGET /user_management/redirect_urisFixes
#409 fix(generated): regenerate from spec
Features
DataIntegrationCredentialsResponseDataIntegrationCredentialsResponseCredentialDataIntegrationsUpsertApiKeyRequestDataIntegrationsVendCredentialsRequestDataIntegrationCredentialsResponseErrorPUT /data-integrations/{slug}/api-keyPOST /data-integrations/{slug}/credentials#411 feat(generated)!: regenerate from spec (1 change)
⚠️ Breaking
SessionReauthenticatedSessionReauthenticatedDataSessionReauthenticatedDataImpersonatorSessionReauthenticatedDataAuthMethodSessionReauthenticatedDataStatusFeatures
agent.registration.created to CreateWebhookEndpointEventsagent.registration.claim.attempt.created to CreateWebhookEndpointEventsagent.registration.claim.completed to CreateWebhookEndpointEventsagent.registration.credential.issued to CreateWebhookEndpointEventsagent.registration.organization.switched to CreateWebhookEndpointEventsauthentication.reauthentication_succeeded to CreateWebhookEndpointEventsagent.registration.created to UpdateWebhookEndpointEventsagent.registration.claim.attempt.created to UpdateWebhookEndpointEventsagent.registration.claim.completed to UpdateWebhookEndpointEventsagent.registration.credential.issued to UpdateWebhookEndpointEventsagent.registration.organization.switched to UpdateWebhookEndpointEventsauthentication.reauthentication_succeeded to UpdateWebhookEndpointEventssession.reauthenticated to CreateWebhookEndpointEventssession.reauthenticated to UpdateWebhookEndpointEventspipes.connected_account.connection_failed to CreateWebhookEndpointEventspipes.connected_account.connection_failed to UpdateWebhookEndpointEventsUserRoleAssignmentSourcesource to UserRoleAssignmentUserRoleAssignmentSourceTypeUserManagementAuthentication.authorize.max_ageGET /user_management/cors_originsGET /user_management/redirect_urisAuditLogExportCreation.range_startAuditLogExportCreation.range_endexpired to AuditLogExportStateFixes
intent_options from GenerateLinksession.reauthenticated from CreateWebhookEndpointEventssession.reauthenticated from UpdateWebhookEndpointEvents#413 feat(generated): regenerate from spec (1 change)
Features
DataIntegrationCredentialsDtoCustomProviderDefinitionCreateDataIntegrationUpdateCustomProviderDefinitionUpdateDataIntegrationDataIntegrationDataIntegrationListDataIntegrationListListMetadataDataIntegrationCredentialDataIntegrationCustomProviderDataIntegrationCredentialsTypeCustomProviderDefinitionAuthenticateViaUpdateCustomProviderDefinitionAuthenticateViaDataIntegrationStateDataIntegrationCredentialTypeDataIntegrationCustomProviderAuthenticateViaGET /data-integrationsPOST /data-integrationsGET /data-integrations/{slug}PUT /data-integrations/{slug}DELETE /data-integrations/{slug}POST /user_management/users/{user_id}/connected_accounts/{slug}PUT /user_management/users/{user_id}/connected_accounts/{slug}#414 feat(generated): regenerate from spec (2 changes)
Features
SendRadarSmsChallengeSendRadarSmsChallengeResponseUrnWorkosOAuthGrantTypeRadarEmailChallengeCodeSessionAuthenticateRequestUrnWorkosOAuthGrantTypeRadarSmsChallengeCodeSessionAuthenticateRequestMagicAuthSendMagicAuthCodeAndReturnResponseUserCreateResponseip_address to CreateMagicCodeAndReturnuser_agent to CreateMagicCodeAndReturnradar_auth_attempt_id to CreateMagicCodeAndReturnsignals_id to CreateMagicCodeAndReturnip_address to CreateUseruser_agent to CreateUsersignals_id to CreateUsersignals_id to AuthorizationCodeSessionAuthenticateRequestsignals_id to PasswordSessionAuthenticateRequestradar_auth_attempt_id to PasswordSessionAuthenticateRequestradar_auth_attempt_id to UrnWorkosOAuthGrantTypeMagicAuthCodeSessionAuthenticateRequestPOST /user_management/radar_challengessignals_id to RadarStandaloneAssessRequestFixes
UserManagementAuthentication.authenticateUserManagementUsers.create from User to UserCreateResponseUserManagementMagicAuth.sendMagicAuthCodeAndReturn from MagicAuth to MagicAuthSendMagicAuthCodeAndReturnResponse#405 fix(generated): regenerate from spec
Fixes
roles to organization membership models#401 feat(generated)!: regenerate from spec (11 changes)
⚠️ Breaking
Pipes.createDataIntegrationToken was renamed to Pipes.getAccessTokenFeatures
ReplaceGroupRoleAssignmentEntryReplaceGroupRoleAssignmentsDeleteGroupRoleAssignmentsByCriteriaPOST /authorization/groups/{group_id}/role_assignmentsPUT /authorization/groups/{group_id}/role_assignmentsDELETE /authorization/groups/{group_id}/role_assignmentsGET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}DELETE /authorization/groups/{group_id}/role_assignments/{role_assignment_id}ClientApiTokenClientApiTokenResponseClientauth_method to ConnectedAccountapi_key_last_4 to ConnectedAccountConnectedAccountAuthMethodCreateGroupRoleAssignmentGroupRoleAssignmentGroupRoleAssignmentListGroupRoleAssignmentResourceUserOrganizationMembershipListUserOrganizationMembershipListListMetadataDataIntegrationCredentialsDataIntegrationConfigurationResponseDataIntegrationConfigurationListResponseConfigureDataIntegrationBodyauth_methods to DataIntegrationsListResponseDataauth_method to DataIntegrationsListResponseDataConnectedAccountapi_key_last_4 to DataIntegrationsListResponseDataConnectedAccountDataIntegrationCredentialsCredentialsTypeDataIntegrationsListResponseDataAuthMethodsDataIntegrationsListResponseDataConnectedAccountAuthMethodPipesProviderUserInviteListUserInviteListListMetadataAuthorizationCodeSessionAuthenticateRequest.client_secret optionalRefreshTokenSessionAuthenticateRequest.client_secret optionalwidgets:pipes:manage to WidgetSessionTokenScopesFixes
UserManagementOrganizationMembership.list from UserOrganizationMembership to UserOrganizationMembershipListUserManagementInvitations.list from UserInvite to UserInviteList#397 feat(generated)!: regenerate from spec (5 changes)
⚠️ Breaking
expires_at required in API key modelsDsyncDeactivatedDsyncDeactivatedDataDsyncDeactivatedDataDomainDsyncDeactivatedDataTypeDsyncDeactivatedDataStatedomain_sign_up_rate_limit from RadarStandaloneResponseControlreturn_to from RevokeSessionFeatures
ExpireApiKeyApiKeyUpdatedApiKeyUpdatedDataApiKeyUpdatedDataOwnerUserApiKeyUpdatedDataOwnerApiKeyUpdatedDataPreviousAttributePOST /api_keys/{id}/expireSnowflake to AuditLogConfigurationLogStreamTypename to UserObjectDsyncTokenCreatedDsyncTokenCreatedDataDsyncTokenRevokedDsyncTokenRevokedDataname to user management modelsapi_key.updated to CreateWebhookEndpointEventsapi_key.updated to UpdateWebhookEndpointEventsdeps: update googleapis/release-please-action action to v5 (#389) (f973f21)
deps: update shivammathur/setup-php action to v2.37.0 (#388) (f9e113f)
use shared workos/renovate-config preset (99aad6c)
#392 feat(generated)!: regenerate from spec (10 changes)
⚠️ Breaking
listOrganizationMemberships, createOrganizationMembership, getOrganizationMembership, updateOrganizationMembership, deleteOrganizationMembership, deactivateOrganizationMembership, and reactivateOrganizationMembership methodsOrganizationMembershipServicegetAuthorizationUrl() parameter screenHint from UserManagementAuthenticationScreenHint to RadarStandaloneAssessRequestAction typeUserManagementAuthenticationScreenHint enumUserManagementOrganizationMembershipGroups service
$workos->userManagementOrganizationMembershipGroups() accessorlistOrganizationMembershipGroups() has been moved to the new OrganizationMembershipServicedeviceFingerprint parameter from Radar.createAttempt() methodbotScore parameter from Radar.createAttempt() methoddeviceFingerprint and botScore fields from RadarStandaloneAssessRequest modelRadarStandaloneAssessRequestAction: Login, Signup, SignUp2, SignUp3, SignIn2, SignIn3RadarStandaloneAssessRequestAction: SignUp from 'sign up' to 'sign-up', SignIn from 'sign in' to 'sign-in'RadarStandaloneResponseControl: CredentialStuffing, IpSignUpRateLimitRadarAction to RadarListActionRadarType to RadarListTypeAuditLogActionJson to AuditLogActionAuditLogExportJson to AuditLogExportAuditLogExportJsonState to AuditLogExportStateAuditLogSchemaJson to AuditLogSchemaAuditLogSchemaJsonActor to AuditLogSchemaActorInputAuditLogSchemaJsonTarget to AuditLogSchemaTargetInputAuditLogsRetentionJson to AuditLogsRetentioncreateSchema() method parameter types changed: AuditLogSchemaActor → AuditLogSchemaActorInput, AuditLogSchemaTarget → AuditLogSchemaTargetInputWebhookEndpointJson to WebhookEndpointWebhookEndpointJsonStatus to WebhookEndpointStatusUpdateWebhookEndpoint.status field type from WebhookEndpointJsonStatus to WebhookEndpointStatusPIPES_CONNECTED_ACCOUNT_CONNECTED, PIPES_CONNECTED_ACCOUNT_DISCONNECTED, PIPES_CONNECTED_ACCOUNT_REAUTHORIZATION_NEEDED eventsresourceId, resourceExternalId, resourceTypeSlug filter parameters to listRoleAssignments()roleSlug filter parameter to listRoleAssignmentsForResourceByExternalId() and listRoleAssignmentsForResource()search parameter from listResources() methodWorkOS\Vault class with generated WorkOS\Service\Vault
WorkOS\Vault class (lib/Vault.php) with client-side encrypt/decrypt helpers has been removed$workos->vault() now returns WorkOS\Service\Vault with a different API surfacecreateDataKey(), createDecrypt(), createRekey(), listKv(), createKv(), getName(), getKv(), updateKv(), deleteKv(), listKvMetadata(), listKvVersions()Features
OrganizationMembershipService with methods: listOrganizationMemberships(), createOrganizationMembership(), getOrganizationMembership(), updateOrganizationMembership(), deleteOrganizationMembership(), deactivateOrganizationMembership(), reactivateOrganizationMembership(), and listOrganizationMembershipGroups()$workos->organizationMembership()UserManagement and UserManagementOrganizationMembershipGroups servicesVault service with methods: createDataKey(), createDecrypt(), createRekey(), listKv(), createKv(), getName(), getKv(), updateKv(), deleteKv(), listKvMetadata(), and listKvVersions()CreateDataKeyResponse, DecryptResponse, ObjectMetadata, ObjectModel, ObjectSummary, ObjectWithoutValue, ObjectVersion, VersionListResponseVaultOrder for sort direction$workos->vault()expires_at field to ApiKey, OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, UserApiKeyWithValue modelsexpires_at field to ApiKeyCreatedData and ApiKeyRevokedData event data modelsexpiresAt parameter to createOrganizationApiKey() and createUserApiKey() methodsApplicationCredentialsListItem.lastUsedAt field type from ?string to ?\DateTimeImmutableNewConnectApplicationSecret.lastUsedAt field type from ?string to ?\DateTimeImmutablePipeConnectedAccount, PipesConnectedAccountConnected, PipesConnectedAccountDisconnected, PipesConnectedAccountReauthorizationNeededPipeConnectedAccountState with values connected and needs_reauthorizationWorkOS client with service accessors like $workos->sso(), $workos->userManagement(), and $workos->authorization(). Direct use of many legacy top-level service classes and transport internals has been removed or renamed.guzzlehttp/guzzle:^7, paragonie/halite:^5.1, and ext-curl:^8.2.PaginatedResponse, and named arguments are strongly recommended because many method signatures changed in v5.connection to getAuthorizationUrl (#29) (ade7019)Full Changelog: https://github.com/workos/workos-php/compare/4.30.0...4.30.1
Full Changelog: https://github.com/workos/workos-php/compare/v4.29.0...4.30.0
roles to directory user and SSO profile by @kendallstrautman in https://github.com/workos/workos-php/pull/311Full Changelog: https://github.com/workos/workos-php/compare/v4.28.0...v4.29.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.27.0...v4.28.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.26.0...v4.27.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.25.0...v4.26.0
permissions attribute to Role by @MrCrayfish in https://github.com/workos/workos-php/pull/287Full Changelog: https://github.com/workos/workos-php/compare/v4.24.0...v4.25.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.22.0...v4.23.0
metadata support (#268)email standard attribute to DirectoryUser (#261)emails, job_title, and username standard attributes as deprecated. Enable the equivalent auto-mapped custom attributes instead (#261)Full Changelog: https://github.com/workos/workos-php/compare/v4.21.0...v4.22.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.20.0...v4.21.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.19.0...v4.20.0
lastSignInAt to user (https://github.com/workos/workos-php/pull/257)Full Changelog: https://github.com/workos/workos-php/compare/v4.18.0...v4.19.0
return_to option to getLogoutUrl (#254)Full Changelog: https://github.com/workos/workos-php/compare/v4.17.0...v4.18.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.16.0...v4.17.0
stripeCustomerId Parameter to Organization Methods by @Hannes-Kruger in https://github.com/workos/workos-php/pull/250Full Changelog: https://github.com/workos/workos-php/compare/v4.15.0...v4.16.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.14.0...v4.15.0
Full Changelog: https://github.com/workos/workos-php/compare/v4.13.0...v4.14.0
How can I help you explore Laravel packages today?