Sign in

Create thread

documented

Create a new thread in a channel.

POST /channels/{channel.id}/threadsChannelsno implementation yet0 runs
No 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}}/threads" \
  -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 '{"name": "{{$name}}", "auto_archive_duration": {{$auto_archive_duration}}, "type": {{$thread_type}}, "invitable": {{$invitable}}, "rate_limit_per_user": {{$rate_limit_per_user}}}'