Discordready

Posting to Discord through the API

Where a community actually talks to you. The request shape is the same one every network here uses — only the limits on this page change.

Discord publishes for anyone today. Connect an account and the request below works as written.

Connecting a Discord account

Channel webhook URL. No developer app, no review. Once connected, we hold the credential and keep it alive; your code only ever sends the API key.

The limits we enforce before publishing

Caption

2000 characters. Over the limit comes back as a 422 before anything publishes.

Media

Up to 10 per post. Media optional.

Video

0.5s to 1h 0m, up to 25 MB. 25 MB on a free server; boosted servers allow more.

Cadence

30 posts a day per account — the ceiling that stays under Discord's spam heuristics.

What pre-flight rejects, verbatim

A request that breaks a Discord rule comes back as a 422 naming the network and the number — before anything is scheduled, not after the other networks published. The error strings are these:

  • 2132 chars — Discord allows 2000.
  • 12 attachments — Discord allows 10.
  • Video is 2h 0m — Discord allows 1h 0m.

The request

curl -X POST https://attentionpilot.com/api/v1/posts \
  -H "Authorization: Bearer $PILOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "caption": "Written for Discord, under 2000 characters.",
    "accounts": ["discord"]
  }'

Omit schedule for the next free queue slot, send "now" to publish immediately, or send an ISO timestamp.

When Discord fails

Each network is delivered on its own. A revoked token or a rejected upload on Discord never blocks your other targets: the post returns "partial", the Discord target carries the error text, and you can retry just this delivery.

Worth knowing

  • Connect with a channel webhook — no developer app, no review queue
  • 2000 characters
  • Up to 10 attachments; 25 MB on an unboosted server

The same call reaches the rest

Posting to Discord is an API call.

Start free

One account free. No card.