getMembershipRequests

@GET(value = "organizations/{organization_id}/invitations")
abstract suspend fun getMembershipRequests(@Path(value = "organization_id") organizationId: String, @Query(value = "limit") limit: Int? = null, @Query(value = "offset") offset: Int? = null, @Query(value = "status") status: String? = null): ClerkResult<ClerkPaginatedResponse<OrganizationMembershipRequest>, ClerkErrorResponse>

Retrieve a list of all membership requests of an organization. The current user must have permissions to manage the members of the organization.

Parameters

organizationId

The organization ID.

limit

Applies a limit to the number of results returned. Can be used for paginating the results together with offset.

offset

Skip the first offset results when paginating. Needs to be an integer greater or equal to zero. To be used in conjunction with limit.

status

The status to filter by.