Used to interact with the current user's organization memberships, invitations and suggestions.
Get a list of the organization memberships of the current user.
Returns the response for Client wrapped array of OrganizationMembership objects.
Request was not successful
Request was not successful
{- "response": {
- "data": [
- {
- "id": "string",
- "object": "organization_membership",
- "role": "string",
- "created_at": 0,
- "updated_at": 0,
- "organization": {
- "id": "string",
- "object": "organization",
- "name": "string",
- "max_allowed_memberships": 0,
- "admin_delete_enabled": true,
- "slug": "string",
- "logo_url": "string",
- "image_url": "string",
- "has_image": true,
- "members_count": 0,
- "pending_invitations_count": 0,
- "public_metadata": { },
- "created_at": 0,
- "updated_at": 0
}, - "public_user_data": {
- "user_id": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "identifier": "string"
}
}
], - "total_count": 0
}, - "client": {
- "object": "client",
- "id": "string",
- "sign_in": {
- "object": "sign_in_attempt",
- "id": "string",
- "status": "abandoned",
- "supported_identifiers": [
- "email_address"
], - "identifier": "string",
- "user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true
}, - "supported_first_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "first_factor_verification": {
- "status": "unverified",
- "strategy": "password",
- "attempts": 0,
- "expire_at": 0
}, - "supported_second_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "second_factor_verification": {
- "status": "unverified",
- "strategy": "phone_code",
- "attempts": 0,
- "expire_at": 0
}, - "created_session_id": "string",
- "abandon_at": 0
}, - "sign_up": {
- "object": "sign_up_attempt",
- "id": "string",
- "status": "abandoned",
- "required_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "missing_fields": [
- "string"
], - "unverified_fields": [
- "string"
], - "verifications": {
- "email_address": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "phone_number": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "external_account": {
- "status": "unverified",
- "strategy": "string",
- "external_verification_redirect_url": "string",
- "error": {
- "message": "string",
- "long_message": "string",
- "code": "string",
- "meta": { },
- "clerk_trace_id": "string"
}, - "expire_at": 0,
- "attempts": 0
}
}, - "username": "string",
- "email_address": "string",
- "phone_number": "string",
- "web3_wallet": "string",
- "password_enabled": true,
- "first_name": "string",
- "last_name": "string",
- "unsafe_metadata": { },
- "public_metadata": { },
- "external_id": "string",
- "created_session_id": "string",
- "created_user_id": "string",
- "abandon_at": 0,
- "legal_accepted_at": 1700690400000
}, - "sessions": [
- {
- "id": "string",
- "object": "session",
- "actor": { },
- "status": "active",
- "last_active_at": 0,
- "expire_at": 0,
- "abandon_at": 0,
- "user": {
- "id": "string",
- "object": "user",
- "external_id": "string",
- "primary_email_address_id": "string",
- "primary_phone_number_id": "string",
- "primary_web3_wallet_id": "string",
- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "public_metadata": { },
- "private_metadata": { },
- "unsafe_metadata": { },
- "email_addresses": [
- {
- "id": "string",
- "object": "email_address",
- "email_address": "string",
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "matches_sso_connection": true,
- "created_at": 0,
- "updated_at": 0
}
], - "phone_numbers": [
- {
- "id": "string",
- "object": "phone_number",
- "phone_number": "string",
- "reserved_for_second_factor": true,
- "default_second_factor": true,
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "backup_codes": [
- null
], - "created_at": 0,
- "updated_at": 0
}
], - "web3_wallets": [
- {
- "id": "string",
- "object": "web3_wallet",
- "web3_wallet": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null,
- "message": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "passkeys": [
- {
- "id": "string",
- "object": "passkey",
- "name": "string",
- "last_used_at": 0,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "organization_memberships": [
- {
- "id": "string",
- "object": "organization_membership",
- "role": "string",
- "created_at": 0,
- "updated_at": 0,
- "organization": {
- "id": null,
- "object": null,
- "name": null,
- "max_allowed_memberships": null,
- "admin_delete_enabled": null,
- "slug": null,
- "logo_url": null,
- "image_url": null,
- "has_image": null,
- "members_count": null,
- "pending_invitations_count": null,
- "public_metadata": { },
- "created_at": null,
- "updated_at": null
}, - "public_user_data": {
- "user_id": null,
- "first_name": null,
- "last_name": null,
- "profile_image_url": null,
- "image_url": null,
- "has_image": null,
- "identifier": null
}
}
], - "password_enabled": true,
- "two_factor_enabled": true,
- "totp_enabled": true,
- "backup_code_enabled": true,
- "external_accounts": [
- {
- "object": "external_account",
- "id": "string",
- "provider": "string",
- "provider_user_id": "string",
- "approved_scopes": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "image_url": "string",
- "username": "string",
- "public_metadata": { },
- "label": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": { },
- "expire_at": null,
- "attempts": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "saml_accounts": [
- {
- "id": "string",
- "object": "saml_account",
- "provider": "string",
- "active": true,
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "provider_user_id": "string",
- "public_metadata": { },
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": null,
- "expire_at": null,
- "attempts": null
}, - "saml_connection": {
- "id": null,
- "name": null,
- "domain": null,
- "active": null,
- "provider": null,
- "sync_user_attributes": null,
- "allow_subdomains": null,
- "allow_idp_initiated": null,
- "disable_additional_identifications": null,
- "created_at": null,
- "updated_at": null
}
}
], - "last_sign_in_at": 0,
- "banned": true,
- "locked": true,
- "lockout_expires_in_seconds": 0,
- "verification_attempts_remaining": 0,
- "updated_at": 0,
- "created_at": 0,
- "delete_self_enabled": true,
- "create_organization_enabled": true,
- "create_organizations_limit": 0,
- "last_active_at": 0,
- "legal_accepted_at": 1700690400000
}, - "public_user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "identifier": "string"
}
}
], - "last_active_session_id": "string",
- "updated_at": 0,
- "created_at": 0
}
}
Delete the membership of the given organization.
Returns a Deleted User object.
Request was not successful
Request was not successful
Request was not successful
{- "response": {
- "id": "string",
- "object": "string",
- "deleted": true
}, - "client": {
- "object": "client",
- "id": "string",
- "sign_in": {
- "object": "sign_in_attempt",
- "id": "string",
- "status": "abandoned",
- "supported_identifiers": [
- "email_address"
], - "identifier": "string",
- "user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true
}, - "supported_first_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "first_factor_verification": {
- "status": "unverified",
- "strategy": "password",
- "attempts": 0,
- "expire_at": 0
}, - "supported_second_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "second_factor_verification": {
- "status": "unverified",
- "strategy": "phone_code",
- "attempts": 0,
- "expire_at": 0
}, - "created_session_id": "string",
- "abandon_at": 0
}, - "sign_up": {
- "object": "sign_up_attempt",
- "id": "string",
- "status": "abandoned",
- "required_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "missing_fields": [
- "string"
], - "unverified_fields": [
- "string"
], - "verifications": {
- "email_address": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "phone_number": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "external_account": {
- "status": "unverified",
- "strategy": "string",
- "external_verification_redirect_url": "string",
- "error": {
- "message": "string",
- "long_message": "string",
- "code": "string",
- "meta": { },
- "clerk_trace_id": "string"
}, - "expire_at": 0,
- "attempts": 0
}
}, - "username": "string",
- "email_address": "string",
- "phone_number": "string",
- "web3_wallet": "string",
- "password_enabled": true,
- "first_name": "string",
- "last_name": "string",
- "unsafe_metadata": { },
- "public_metadata": { },
- "external_id": "string",
- "created_session_id": "string",
- "created_user_id": "string",
- "abandon_at": 0,
- "legal_accepted_at": 1700690400000
}, - "sessions": [
- {
- "id": "string",
- "object": "session",
- "actor": { },
- "status": "active",
- "last_active_at": 0,
- "expire_at": 0,
- "abandon_at": 0,
- "user": {
- "id": "string",
- "object": "user",
- "external_id": "string",
- "primary_email_address_id": "string",
- "primary_phone_number_id": "string",
- "primary_web3_wallet_id": "string",
- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "public_metadata": { },
- "private_metadata": { },
- "unsafe_metadata": { },
- "email_addresses": [
- {
- "id": "string",
- "object": "email_address",
- "email_address": "string",
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "matches_sso_connection": true,
- "created_at": 0,
- "updated_at": 0
}
], - "phone_numbers": [
- {
- "id": "string",
- "object": "phone_number",
- "phone_number": "string",
- "reserved_for_second_factor": true,
- "default_second_factor": true,
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "backup_codes": [
- null
], - "created_at": 0,
- "updated_at": 0
}
], - "web3_wallets": [
- {
- "id": "string",
- "object": "web3_wallet",
- "web3_wallet": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null,
- "message": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "passkeys": [
- {
- "id": "string",
- "object": "passkey",
- "name": "string",
- "last_used_at": 0,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "organization_memberships": [
- {
- "id": "string",
- "object": "organization_membership",
- "role": "string",
- "created_at": 0,
- "updated_at": 0,
- "organization": {
- "id": null,
- "object": null,
- "name": null,
- "max_allowed_memberships": null,
- "admin_delete_enabled": null,
- "slug": null,
- "logo_url": null,
- "image_url": null,
- "has_image": null,
- "members_count": null,
- "pending_invitations_count": null,
- "public_metadata": { },
- "created_at": null,
- "updated_at": null
}, - "public_user_data": {
- "user_id": null,
- "first_name": null,
- "last_name": null,
- "profile_image_url": null,
- "image_url": null,
- "has_image": null,
- "identifier": null
}
}
], - "password_enabled": true,
- "two_factor_enabled": true,
- "totp_enabled": true,
- "backup_code_enabled": true,
- "external_accounts": [
- {
- "object": "external_account",
- "id": "string",
- "provider": "string",
- "provider_user_id": "string",
- "approved_scopes": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "image_url": "string",
- "username": "string",
- "public_metadata": { },
- "label": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": { },
- "expire_at": null,
- "attempts": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "saml_accounts": [
- {
- "id": "string",
- "object": "saml_account",
- "provider": "string",
- "active": true,
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "provider_user_id": "string",
- "public_metadata": { },
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": null,
- "expire_at": null,
- "attempts": null
}, - "saml_connection": {
- "id": null,
- "name": null,
- "domain": null,
- "active": null,
- "provider": null,
- "sync_user_attributes": null,
- "allow_subdomains": null,
- "allow_idp_initiated": null,
- "disable_additional_identifications": null,
- "created_at": null,
- "updated_at": null
}
}
], - "last_sign_in_at": 0,
- "banned": true,
- "locked": true,
- "lockout_expires_in_seconds": 0,
- "verification_attempts_remaining": 0,
- "updated_at": 0,
- "created_at": 0,
- "delete_self_enabled": true,
- "create_organization_enabled": true,
- "create_organizations_limit": 0,
- "last_active_at": 0,
- "legal_accepted_at": 1700690400000
}, - "public_user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "identifier": "string"
}
}
], - "last_active_session_id": "string",
- "updated_at": 0,
- "created_at": 0
}
}
Get a list of the organization invitations of the current user.
Returns the response for Client wrapped array of OrganizationInvitation objects with user context.
Request was not successful
Request was not successful
{- "response": {
- "data": [
- {
- "public_organization_data": {
- "id": "string",
- "name": "string",
- "slug": "string",
- "image_url": "string",
- "has_image": true
}, - "id": "string",
- "object": "organization_invitation",
- "email_address": "string",
- "role": "string",
- "status": "pending",
- "created_at": 0,
- "updated_at": 0
}
], - "total_count": 0
}, - "client": {
- "object": "client",
- "id": "string",
- "sign_in": {
- "object": "sign_in_attempt",
- "id": "string",
- "status": "abandoned",
- "supported_identifiers": [
- "email_address"
], - "identifier": "string",
- "user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true
}, - "supported_first_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "first_factor_verification": {
- "status": "unverified",
- "strategy": "password",
- "attempts": 0,
- "expire_at": 0
}, - "supported_second_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "second_factor_verification": {
- "status": "unverified",
- "strategy": "phone_code",
- "attempts": 0,
- "expire_at": 0
}, - "created_session_id": "string",
- "abandon_at": 0
}, - "sign_up": {
- "object": "sign_up_attempt",
- "id": "string",
- "status": "abandoned",
- "required_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "missing_fields": [
- "string"
], - "unverified_fields": [
- "string"
], - "verifications": {
- "email_address": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "phone_number": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "external_account": {
- "status": "unverified",
- "strategy": "string",
- "external_verification_redirect_url": "string",
- "error": {
- "message": "string",
- "long_message": "string",
- "code": "string",
- "meta": { },
- "clerk_trace_id": "string"
}, - "expire_at": 0,
- "attempts": 0
}
}, - "username": "string",
- "email_address": "string",
- "phone_number": "string",
- "web3_wallet": "string",
- "password_enabled": true,
- "first_name": "string",
- "last_name": "string",
- "unsafe_metadata": { },
- "public_metadata": { },
- "external_id": "string",
- "created_session_id": "string",
- "created_user_id": "string",
- "abandon_at": 0,
- "legal_accepted_at": 1700690400000
}, - "sessions": [
- {
- "id": "string",
- "object": "session",
- "actor": { },
- "status": "active",
- "last_active_at": 0,
- "expire_at": 0,
- "abandon_at": 0,
- "user": {
- "id": "string",
- "object": "user",
- "external_id": "string",
- "primary_email_address_id": "string",
- "primary_phone_number_id": "string",
- "primary_web3_wallet_id": "string",
- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "public_metadata": { },
- "private_metadata": { },
- "unsafe_metadata": { },
- "email_addresses": [
- {
- "id": "string",
- "object": "email_address",
- "email_address": "string",
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "matches_sso_connection": true,
- "created_at": 0,
- "updated_at": 0
}
], - "phone_numbers": [
- {
- "id": "string",
- "object": "phone_number",
- "phone_number": "string",
- "reserved_for_second_factor": true,
- "default_second_factor": true,
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "backup_codes": [
- null
], - "created_at": 0,
- "updated_at": 0
}
], - "web3_wallets": [
- {
- "id": "string",
- "object": "web3_wallet",
- "web3_wallet": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null,
- "message": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "passkeys": [
- {
- "id": "string",
- "object": "passkey",
- "name": "string",
- "last_used_at": 0,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "organization_memberships": [
- {
- "id": "string",
- "object": "organization_membership",
- "role": "string",
- "created_at": 0,
- "updated_at": 0,
- "organization": {
- "id": null,
- "object": null,
- "name": null,
- "max_allowed_memberships": null,
- "admin_delete_enabled": null,
- "slug": null,
- "logo_url": null,
- "image_url": null,
- "has_image": null,
- "members_count": null,
- "pending_invitations_count": null,
- "public_metadata": { },
- "created_at": null,
- "updated_at": null
}, - "public_user_data": {
- "user_id": null,
- "first_name": null,
- "last_name": null,
- "profile_image_url": null,
- "image_url": null,
- "has_image": null,
- "identifier": null
}
}
], - "password_enabled": true,
- "two_factor_enabled": true,
- "totp_enabled": true,
- "backup_code_enabled": true,
- "external_accounts": [
- {
- "object": "external_account",
- "id": "string",
- "provider": "string",
- "provider_user_id": "string",
- "approved_scopes": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "image_url": "string",
- "username": "string",
- "public_metadata": { },
- "label": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": { },
- "expire_at": null,
- "attempts": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "saml_accounts": [
- {
- "id": "string",
- "object": "saml_account",
- "provider": "string",
- "active": true,
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "provider_user_id": "string",
- "public_metadata": { },
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": null,
- "expire_at": null,
- "attempts": null
}, - "saml_connection": {
- "id": null,
- "name": null,
- "domain": null,
- "active": null,
- "provider": null,
- "sync_user_attributes": null,
- "allow_subdomains": null,
- "allow_idp_initiated": null,
- "disable_additional_identifications": null,
- "created_at": null,
- "updated_at": null
}
}
], - "last_sign_in_at": 0,
- "banned": true,
- "locked": true,
- "lockout_expires_in_seconds": 0,
- "verification_attempts_remaining": 0,
- "updated_at": 0,
- "created_at": 0,
- "delete_self_enabled": true,
- "create_organization_enabled": true,
- "create_organizations_limit": 0,
- "last_active_at": 0,
- "legal_accepted_at": 1700690400000
}, - "public_user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "identifier": "string"
}
}
], - "last_active_session_id": "string",
- "updated_at": 0,
- "created_at": 0
}
}
Accept an organization invitation for the current user.
Returns the response for Client wrapped OrganizationInvitation object with user context.
Request was not successful
Request was not successful
Request was not successful
{- "response": {
- "public_organization_data": {
- "id": "string",
- "name": "string",
- "slug": "string",
- "image_url": "string",
- "has_image": true
}, - "id": "string",
- "object": "organization_invitation",
- "email_address": "string",
- "role": "string",
- "status": "pending",
- "created_at": 0,
- "updated_at": 0
}, - "client": {
- "object": "client",
- "id": "string",
- "sign_in": {
- "object": "sign_in_attempt",
- "id": "string",
- "status": "abandoned",
- "supported_identifiers": [
- "email_address"
], - "identifier": "string",
- "user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true
}, - "supported_first_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "first_factor_verification": {
- "status": "unverified",
- "strategy": "password",
- "attempts": 0,
- "expire_at": 0
}, - "supported_second_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "second_factor_verification": {
- "status": "unverified",
- "strategy": "phone_code",
- "attempts": 0,
- "expire_at": 0
}, - "created_session_id": "string",
- "abandon_at": 0
}, - "sign_up": {
- "object": "sign_up_attempt",
- "id": "string",
- "status": "abandoned",
- "required_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "missing_fields": [
- "string"
], - "unverified_fields": [
- "string"
], - "verifications": {
- "email_address": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "phone_number": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "external_account": {
- "status": "unverified",
- "strategy": "string",
- "external_verification_redirect_url": "string",
- "error": {
- "message": "string",
- "long_message": "string",
- "code": "string",
- "meta": { },
- "clerk_trace_id": "string"
}, - "expire_at": 0,
- "attempts": 0
}
}, - "username": "string",
- "email_address": "string",
- "phone_number": "string",
- "web3_wallet": "string",
- "password_enabled": true,
- "first_name": "string",
- "last_name": "string",
- "unsafe_metadata": { },
- "public_metadata": { },
- "external_id": "string",
- "created_session_id": "string",
- "created_user_id": "string",
- "abandon_at": 0,
- "legal_accepted_at": 1700690400000
}, - "sessions": [
- {
- "id": "string",
- "object": "session",
- "actor": { },
- "status": "active",
- "last_active_at": 0,
- "expire_at": 0,
- "abandon_at": 0,
- "user": {
- "id": "string",
- "object": "user",
- "external_id": "string",
- "primary_email_address_id": "string",
- "primary_phone_number_id": "string",
- "primary_web3_wallet_id": "string",
- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "public_metadata": { },
- "private_metadata": { },
- "unsafe_metadata": { },
- "email_addresses": [
- {
- "id": "string",
- "object": "email_address",
- "email_address": "string",
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "matches_sso_connection": true,
- "created_at": 0,
- "updated_at": 0
}
], - "phone_numbers": [
- {
- "id": "string",
- "object": "phone_number",
- "phone_number": "string",
- "reserved_for_second_factor": true,
- "default_second_factor": true,
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "backup_codes": [
- null
], - "created_at": 0,
- "updated_at": 0
}
], - "web3_wallets": [
- {
- "id": "string",
- "object": "web3_wallet",
- "web3_wallet": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null,
- "message": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "passkeys": [
- {
- "id": "string",
- "object": "passkey",
- "name": "string",
- "last_used_at": 0,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "organization_memberships": [
- {
- "id": "string",
- "object": "organization_membership",
- "role": "string",
- "created_at": 0,
- "updated_at": 0,
- "organization": {
- "id": null,
- "object": null,
- "name": null,
- "max_allowed_memberships": null,
- "admin_delete_enabled": null,
- "slug": null,
- "logo_url": null,
- "image_url": null,
- "has_image": null,
- "members_count": null,
- "pending_invitations_count": null,
- "public_metadata": { },
- "created_at": null,
- "updated_at": null
}, - "public_user_data": {
- "user_id": null,
- "first_name": null,
- "last_name": null,
- "profile_image_url": null,
- "image_url": null,
- "has_image": null,
- "identifier": null
}
}
], - "password_enabled": true,
- "two_factor_enabled": true,
- "totp_enabled": true,
- "backup_code_enabled": true,
- "external_accounts": [
- {
- "object": "external_account",
- "id": "string",
- "provider": "string",
- "provider_user_id": "string",
- "approved_scopes": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "image_url": "string",
- "username": "string",
- "public_metadata": { },
- "label": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": { },
- "expire_at": null,
- "attempts": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "saml_accounts": [
- {
- "id": "string",
- "object": "saml_account",
- "provider": "string",
- "active": true,
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "provider_user_id": "string",
- "public_metadata": { },
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": null,
- "expire_at": null,
- "attempts": null
}, - "saml_connection": {
- "id": null,
- "name": null,
- "domain": null,
- "active": null,
- "provider": null,
- "sync_user_attributes": null,
- "allow_subdomains": null,
- "allow_idp_initiated": null,
- "disable_additional_identifications": null,
- "created_at": null,
- "updated_at": null
}
}
], - "last_sign_in_at": 0,
- "banned": true,
- "locked": true,
- "lockout_expires_in_seconds": 0,
- "verification_attempts_remaining": 0,
- "updated_at": 0,
- "created_at": 0,
- "delete_self_enabled": true,
- "create_organization_enabled": true,
- "create_organizations_limit": 0,
- "last_active_at": 0,
- "legal_accepted_at": 1700690400000
}, - "public_user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "identifier": "string"
}
}
], - "last_active_session_id": "string",
- "updated_at": 0,
- "created_at": 0
}
}
Get a list of the organization suggestions of the current user.
Returns the response for Client wrapped array of OrganizationSuggestion objects with user context.
Request was not successful
Request was not successful
{- "response": {
- "data": [
- {
- "object": "organization_suggestion",
- "id": "string",
- "status": "string",
- "created_at": 0,
- "updated_at": 0,
- "public_organization_data": {
- "id": "string",
- "name": "string",
- "slug": "string",
- "image_url": "string",
- "has_image": true
}
}
], - "total_count": 0
}, - "client": {
- "object": "client",
- "id": "string",
- "sign_in": {
- "object": "sign_in_attempt",
- "id": "string",
- "status": "abandoned",
- "supported_identifiers": [
- "email_address"
], - "identifier": "string",
- "user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true
}, - "supported_first_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "first_factor_verification": {
- "status": "unverified",
- "strategy": "password",
- "attempts": 0,
- "expire_at": 0
}, - "supported_second_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "second_factor_verification": {
- "status": "unverified",
- "strategy": "phone_code",
- "attempts": 0,
- "expire_at": 0
}, - "created_session_id": "string",
- "abandon_at": 0
}, - "sign_up": {
- "object": "sign_up_attempt",
- "id": "string",
- "status": "abandoned",
- "required_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "missing_fields": [
- "string"
], - "unverified_fields": [
- "string"
], - "verifications": {
- "email_address": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "phone_number": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "external_account": {
- "status": "unverified",
- "strategy": "string",
- "external_verification_redirect_url": "string",
- "error": {
- "message": "string",
- "long_message": "string",
- "code": "string",
- "meta": { },
- "clerk_trace_id": "string"
}, - "expire_at": 0,
- "attempts": 0
}
}, - "username": "string",
- "email_address": "string",
- "phone_number": "string",
- "web3_wallet": "string",
- "password_enabled": true,
- "first_name": "string",
- "last_name": "string",
- "unsafe_metadata": { },
- "public_metadata": { },
- "external_id": "string",
- "created_session_id": "string",
- "created_user_id": "string",
- "abandon_at": 0,
- "legal_accepted_at": 1700690400000
}, - "sessions": [
- {
- "id": "string",
- "object": "session",
- "actor": { },
- "status": "active",
- "last_active_at": 0,
- "expire_at": 0,
- "abandon_at": 0,
- "user": {
- "id": "string",
- "object": "user",
- "external_id": "string",
- "primary_email_address_id": "string",
- "primary_phone_number_id": "string",
- "primary_web3_wallet_id": "string",
- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "public_metadata": { },
- "private_metadata": { },
- "unsafe_metadata": { },
- "email_addresses": [
- {
- "id": "string",
- "object": "email_address",
- "email_address": "string",
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "matches_sso_connection": true,
- "created_at": 0,
- "updated_at": 0
}
], - "phone_numbers": [
- {
- "id": "string",
- "object": "phone_number",
- "phone_number": "string",
- "reserved_for_second_factor": true,
- "default_second_factor": true,
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "backup_codes": [
- null
], - "created_at": 0,
- "updated_at": 0
}
], - "web3_wallets": [
- {
- "id": "string",
- "object": "web3_wallet",
- "web3_wallet": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null,
- "message": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "passkeys": [
- {
- "id": "string",
- "object": "passkey",
- "name": "string",
- "last_used_at": 0,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "organization_memberships": [
- {
- "id": "string",
- "object": "organization_membership",
- "role": "string",
- "created_at": 0,
- "updated_at": 0,
- "organization": {
- "id": null,
- "object": null,
- "name": null,
- "max_allowed_memberships": null,
- "admin_delete_enabled": null,
- "slug": null,
- "logo_url": null,
- "image_url": null,
- "has_image": null,
- "members_count": null,
- "pending_invitations_count": null,
- "public_metadata": { },
- "created_at": null,
- "updated_at": null
}, - "public_user_data": {
- "user_id": null,
- "first_name": null,
- "last_name": null,
- "profile_image_url": null,
- "image_url": null,
- "has_image": null,
- "identifier": null
}
}
], - "password_enabled": true,
- "two_factor_enabled": true,
- "totp_enabled": true,
- "backup_code_enabled": true,
- "external_accounts": [
- {
- "object": "external_account",
- "id": "string",
- "provider": "string",
- "provider_user_id": "string",
- "approved_scopes": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "image_url": "string",
- "username": "string",
- "public_metadata": { },
- "label": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": { },
- "expire_at": null,
- "attempts": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "saml_accounts": [
- {
- "id": "string",
- "object": "saml_account",
- "provider": "string",
- "active": true,
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "provider_user_id": "string",
- "public_metadata": { },
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": null,
- "expire_at": null,
- "attempts": null
}, - "saml_connection": {
- "id": null,
- "name": null,
- "domain": null,
- "active": null,
- "provider": null,
- "sync_user_attributes": null,
- "allow_subdomains": null,
- "allow_idp_initiated": null,
- "disable_additional_identifications": null,
- "created_at": null,
- "updated_at": null
}
}
], - "last_sign_in_at": 0,
- "banned": true,
- "locked": true,
- "lockout_expires_in_seconds": 0,
- "verification_attempts_remaining": 0,
- "updated_at": 0,
- "created_at": 0,
- "delete_self_enabled": true,
- "create_organization_enabled": true,
- "create_organizations_limit": 0,
- "last_active_at": 0,
- "legal_accepted_at": 1700690400000
}, - "public_user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "identifier": "string"
}
}
], - "last_active_session_id": "string",
- "updated_at": 0,
- "created_at": 0
}
}
Accept an organization suggestion for the current user.
Returns the response for Client wrapped OrganizationSuggestion object with user context.
Request was not successful
Request was not successful
Request was not successful
Request was not successful
{- "response": {
- "object": "organization_suggestion",
- "id": "string",
- "status": "string",
- "created_at": 0,
- "updated_at": 0,
- "public_organization_data": {
- "id": "string",
- "name": "string",
- "slug": "string",
- "image_url": "string",
- "has_image": true
}
}, - "client": {
- "object": "client",
- "id": "string",
- "sign_in": {
- "object": "sign_in_attempt",
- "id": "string",
- "status": "abandoned",
- "supported_identifiers": [
- "email_address"
], - "identifier": "string",
- "user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true
}, - "supported_first_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "first_factor_verification": {
- "status": "unverified",
- "strategy": "password",
- "attempts": 0,
- "expire_at": 0
}, - "supported_second_factors": [
- {
- "strategy": "ticket",
- "safe_identifier": "string",
- "email_address_id": "string",
- "phone_number_id": "string",
- "web3_wallet_id": "string",
- "passkey_id": "string",
- "primary": true,
- "default": true
}
], - "second_factor_verification": {
- "status": "unverified",
- "strategy": "phone_code",
- "attempts": 0,
- "expire_at": 0
}, - "created_session_id": "string",
- "abandon_at": 0
}, - "sign_up": {
- "object": "sign_up_attempt",
- "id": "string",
- "status": "abandoned",
- "required_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "missing_fields": [
- "string"
], - "unverified_fields": [
- "string"
], - "verifications": {
- "email_address": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "phone_number": {
- "next_action": "needs_prepare",
- "supported_strategies": [
- "string"
]
}, - "external_account": {
- "status": "unverified",
- "strategy": "string",
- "external_verification_redirect_url": "string",
- "error": {
- "message": "string",
- "long_message": "string",
- "code": "string",
- "meta": { },
- "clerk_trace_id": "string"
}, - "expire_at": 0,
- "attempts": 0
}
}, - "username": "string",
- "email_address": "string",
- "phone_number": "string",
- "web3_wallet": "string",
- "password_enabled": true,
- "first_name": "string",
- "last_name": "string",
- "unsafe_metadata": { },
- "public_metadata": { },
- "external_id": "string",
- "created_session_id": "string",
- "created_user_id": "string",
- "abandon_at": 0,
- "legal_accepted_at": 1700690400000
}, - "sessions": [
- {
- "id": "string",
- "object": "session",
- "actor": { },
- "status": "active",
- "last_active_at": 0,
- "expire_at": 0,
- "abandon_at": 0,
- "user": {
- "id": "string",
- "object": "user",
- "external_id": "string",
- "primary_email_address_id": "string",
- "primary_phone_number_id": "string",
- "primary_web3_wallet_id": "string",
- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "public_metadata": { },
- "private_metadata": { },
- "unsafe_metadata": { },
- "email_addresses": [
- {
- "id": "string",
- "object": "email_address",
- "email_address": "string",
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "matches_sso_connection": true,
- "created_at": 0,
- "updated_at": 0
}
], - "phone_numbers": [
- {
- "id": "string",
- "object": "phone_number",
- "phone_number": "string",
- "reserved_for_second_factor": true,
- "default_second_factor": true,
- "reserved": true,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null
}, - "linked_to": [
- null
], - "backup_codes": [
- null
], - "created_at": 0,
- "updated_at": 0
}
], - "web3_wallets": [
- {
- "id": "string",
- "object": "web3_wallet",
- "web3_wallet": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null,
- "message": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "passkeys": [
- {
- "id": "string",
- "object": "passkey",
- "name": "string",
- "last_used_at": 0,
- "verification": {
- "status": null,
- "strategy": null,
- "attempts": null,
- "expire_at": null,
- "nonce": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "organization_memberships": [
- {
- "id": "string",
- "object": "organization_membership",
- "role": "string",
- "created_at": 0,
- "updated_at": 0,
- "organization": {
- "id": null,
- "object": null,
- "name": null,
- "max_allowed_memberships": null,
- "admin_delete_enabled": null,
- "slug": null,
- "logo_url": null,
- "image_url": null,
- "has_image": null,
- "members_count": null,
- "pending_invitations_count": null,
- "public_metadata": { },
- "created_at": null,
- "updated_at": null
}, - "public_user_data": {
- "user_id": null,
- "first_name": null,
- "last_name": null,
- "profile_image_url": null,
- "image_url": null,
- "has_image": null,
- "identifier": null
}
}
], - "password_enabled": true,
- "two_factor_enabled": true,
- "totp_enabled": true,
- "backup_code_enabled": true,
- "external_accounts": [
- {
- "object": "external_account",
- "id": "string",
- "provider": "string",
- "provider_user_id": "string",
- "approved_scopes": "string",
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "avatar_url": "string",
- "image_url": "string",
- "username": "string",
- "public_metadata": { },
- "label": "string",
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": { },
- "expire_at": null,
- "attempts": null
}, - "created_at": 0,
- "updated_at": 0
}
], - "saml_accounts": [
- {
- "id": "string",
- "object": "saml_account",
- "provider": "string",
- "active": true,
- "email_address": "string",
- "first_name": "string",
- "last_name": "string",
- "provider_user_id": "string",
- "public_metadata": { },
- "verification": {
- "status": null,
- "strategy": null,
- "external_verification_redirect_url": null,
- "error": null,
- "expire_at": null,
- "attempts": null
}, - "saml_connection": {
- "id": null,
- "name": null,
- "domain": null,
- "active": null,
- "provider": null,
- "sync_user_attributes": null,
- "allow_subdomains": null,
- "allow_idp_initiated": null,
- "disable_additional_identifications": null,
- "created_at": null,
- "updated_at": null
}
}
], - "last_sign_in_at": 0,
- "banned": true,
- "locked": true,
- "lockout_expires_in_seconds": 0,
- "verification_attempts_remaining": 0,
- "updated_at": 0,
- "created_at": 0,
- "delete_self_enabled": true,
- "create_organization_enabled": true,
- "create_organizations_limit": 0,
- "last_active_at": 0,
- "legal_accepted_at": 1700690400000
}, - "public_user_data": {
- "first_name": "string",
- "last_name": "string",
- "profile_image_url": "string",
- "image_url": "string",
- "has_image": true,
- "identifier": "string"
}
}
], - "last_active_session_id": "string",
- "updated_at": 0,
- "created_at": 0
}
}