Creates a new invite link for a Discord channel. Requires CREATE_INSTANT_INVITE permission.
uniquebooleanIf true, do not reuse a similar invite. Useful for creating many unique one-time invites.
max_ageintegerDuration of invite in seconds before expiry, or 0 for never. Must be 0-604800. Defaults to 86400 (24 hours).
max_usesintegerMaximum number of times this invite can be used, or 0 for unlimited. Defaults to 0.
temporarybooleanWhether this invite only grants temporary membership. Defaults to false.
channel_idRequiredstringThe ID of the channel to create an invite for.
target_typeintegerThe type of target for this voice channel invite. 1 for Stream, 2 for Embedded Application.
target_user_idstringThe ID of the user whose stream to display. Required if target_type is 1.
target_application_idstringThe ID of the embedded application to open. Required if target_type is 2.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.