PeumeAPI

Social publishing & inbox · Threads

Create a Discord public thread

Creates a public thread in a channel. Pass `messageId` to start the thread from an

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/threads-create-a-discord-public-thread \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "channelId": "your channelId",
    "name": "your name"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: threads-create-a-discord-public-thread.

Parameters

accountIdRequiredstring

SocialAccount _id of the Discord account bound to this channel's guild

channelIdRequiredstring

Discord channel snowflake ID

nameRequiredstring

Thread name

messageIdstring

Optional message snowflake to start the thread from. Omit for a standalone thread.

autoArchiveDurationinteger

Minutes of inactivity before the thread auto-archives. Discord accepts only these four values.

60 · 1440 · 4320 · 10080

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.