API v10InterfacesRESTGetAPIInviteQueryVersion: 0.37.106On this pageRESTGetAPIInviteQuery https://discord.com/developers/docs/resources/invite#get-inviteIndex Propertiesguild_scheduled_event_idwith_countswith_expirationProperties optionalguild_scheduled_event_idguild_scheduled_event_id?: stringThe guild scheduled event to include with the inviteoptionalwith_countswith_counts?: booleanWhether the invite should contain approximate member countsoptionalwith_expirationwith_expiration?: booleanWhether the invite should contain the expiration date
https://discord.com/developers/docs/resources/invite#get-invite