Actions193
- Application Actions
- Application Command Actions
- Application Role Connection Metadata Actions
- Audit Log Actions
- Auto Moderation Actions
- Channel Actions
- Get
- Modify
- Delete
- Trigger Typing
- Get Pinned Messages
- Unpin Message
- Create Reaction
- Delete Own Reaction
- Get Reactions
- Delete All Reactions
- Delete All Reactions For Emoji
- Bulk Delete Messages
- Crosspost Message
- Edit Channel Permissions
- Delete Channel Permission
- Get Channel Invites
- Create Channel Invite
- Follow Announcement Channel
- Group DM Add Recipient
- Group DM Remove Recipient
- Start Thread From Message
- Start Thread Without Message
- Start Thread In Forum Channel
- Join Thread
- Add Thread Member
- Leave Thread
- Get Thread Member
- List Thread Members
- List Public Archived Threads
- List Private Archived Threads
- List Joined Private Archived Threads
- Emoji Actions
- Entitlement Actions
- Guild Actions
- Get
- Modify
- Create
- Get Preview
- Delete
- Modify Channel Positions
- List Active Threads
- Get Bans
- Get Ban
- Remove Ban
- Get Prune Count
- Begin Prune
- Get Voice Regions
- Get Invites
- Get Integrations
- Delete Integration
- Get Widget Settings
- Modify Widget
- Get Widget
- Get Vanity URL
- Get Widget Image
- Get Welcome Screen
- Modify Welcome Screen
- Get Onboarding
- Modify Onboarding
- Modify Current User Voice State
- Modify User Voice State
- Search Members
- List Members
- Guild Scheduled Event Actions
- Guild Template Actions
- Interaction Response Actions
- Invite Actions
- Lobby Actions
- Member Actions
- Message Actions
- Poll Actions
- Role Actions
- SKU Actions
- Soundboard Actions
- Stage Instance Actions
- Sticker Actions
- Subscription Actions
- User Actions
- Voice Actions
- Webhook Actions
Channel → Create Channel Invite
AI-generatedSummary
Create a Discord channel invite, optionally setting its expiry, usage limit, temporary membership, uniqueness, or voice-channel target. The request uses the configured bot token or OAuth2 user token authentication and can include an audit log reason.
Inputs
- Authentication — Choose Bot Token (the default) or OAuth2 (User Token).
- Channel (required) — Discord channel snowflake ID for the invite.
- Max Age — Invite lifetime in seconds; 0 means no expiry. If omitted, Discord's default is 86400 seconds.
- Max Uses — Maximum invite uses; 0 means unlimited.
- Temporary — Whether the invite grants temporary membership.
- Unique — Whether to create a unique, non-reusable invite.
- Target Type — Voice invite target type: Stream or Embedded Application.
- Target User ID — User whose stream the voice invite should display.
- Target Application ID — Embedded application ID for a voice invite.
- Audit Log Reason — Reason recorded in the Discord guild audit log; Discord limits this to 512 characters.
Output shape
A single Discord API response record containing the created invite.
The exact response fields depend on Discord's API response.