invites_list_channel
invites_list_channel
Section titled “invites_list_channel”Category: invites
List active invites for a single channel.
When to use
Section titled “When to use”- Audit who created which invites and how often each is used.
- Find candidates for
invites_deletecleanup.
When NOT to use
Section titled “When NOT to use”- All invites across a guild → use
guild_list_invites(Plan 7 Phase D).
| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Channel to list invites for |
Returns
Section titled “Returns”\{invites: [\{code, uses, max_uses, max_age, expires_at, inviter_id, inviter_name, temporary\}]\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
invites | array | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |