Create channel invite
documentedCreate a new invite for the channel.
POST /channels/{channel.id}/invitesChannelsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://discord.com/api/v10/channels/{{$channel_id}}/invites" \
-X POST \
-H "Authorization: Bot {{DISCORD_BOT_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Audit-Log-Reason: {{$audit_reason}}" \
-d '{"max_age": {{$max_age}}, "max_uses": {{$max_uses}}, "temporary": {{$temporary}}, "unique": {{$unique}}, "target_type": {{$target_type}}, "target_user_id": "{{$target_user_id}}", "target_application_id": "{{$target_application_id}}", "payload_json": "{{$payload_json}}", "role_ids": {{$role_ids}} }'