Classic APIs
ClassicGroupsApi
authenticatedUserPendingGroups

authenticatedUserPendingGroups

Gets groups that the authenticated user has requested to join.

Example

const { data: pendingGroups } = await ClassicGroupsApi.authenticatedUserPendingGroups(); 

Example Data

[
  {
    id: 5850082,
    name: "lorem ipsum",
    description: "",
    owner: {
      hasVerifiedBadge: false,
      userId: 45348281,
      username: "MightyPart",
      displayName: "MightyPart",
    },
    shout: null,
    isBuildersClubOnly: false,
    publicEntryAllowed: false,
    hasVerifiedBadge: false,
  },
] 

Endpoint

GET /v1/user/groups/pending