getOrganizationSuggestions

Retrieves organization suggestions for the current user.

Organization suggestions are recommendations for organizations that the user might want to join based on various factors like domain matching, existing connections, or administrative settings. These suggestions can help users discover relevant organizations within their ecosystem.

Return

A ClerkResult containing a ClerkPaginatedResponse of OrganizationSuggestion objects on success, or a ClerkErrorResponse on failure

Parameters

limit

The maximum number of organization suggestions to retrieve per request. Default is 20.

offset

The number of organization suggestions to skip before starting to return results. Used for pagination. Default is 0.

status

Optional filter to retrieve suggestions by their status (e.g., "pending", "accepted"). If null, suggestions of all statuses are returned.