Skip to main content
Query

profileSpaceInvites

Returns the profile's pending invitations to spaces. Requires being signed in and able to edit the profile (an owner or admin member, or a member of a space that manages it).

Arguments

  • profileIdID!

    ID of the profile.

Returns

[ProfileSpaceInvite!]!

Example

query ProfileSpaceInvites($profileId: ID!) {
  profileSpaceInvites(profileId: $profileId) {
    createdAt
    expiresAt
    role
    spaceId
    spaceName
  }
}