PeumeAPI

Social publishing & inbox · Discord

Connect a Discord channel

Finalize a Discord connect by binding channels to a profile. Served by a dedicated route, so it is not reachable through POST /v1/connect/{platform}. One connected account per channel: send channelIds to connect several channels of the server at once, or repeat the call with a different channelId.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/connect-a-discord-channel \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "guildId": "your guildId"
  }
}'

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: connect-a-discord-channel.

Parameters

guildIdRequiredstring

Discord server (guild) the channel belongs to

channelIdstring

Text, announcement or forum channel to publish to. Send this or channelIds, not both.

channelIdsarray

Several channels of the server to connect, each as its own account. With two or more distinct ids the response lists `accounts` and `failed` instead of `account`. A single id behaves exactly like channelId.

redirect_urlstring

channelIds only: a URL to return in `redirect_url`, with `connected`, `profileId`, `accountId` and `accountIds` appended.

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.