Zernio
APIFor you
Zernio
APIFor you
Platforms

Discord

Overview

Set up

Connect

Publish

PublishPlatform Fields & Media

Engage

Inbox

Manage

Server Management

Reference

Limits & Errors
Dashboard
OverviewPlatformsAPI ReferenceResources
Discord

Platform Fields & Media

Every Discord platformSpecificData field and the attachment requirements.


Media requirements

A message takes up to 10 attachments of 25 MB each.

TypeFormatsMax size
ImagesJPEG, PNG, GIF, WebP25 MB
VideosMP425 MB
DocumentsAny file25 MB

Media URLs must be publicly reachable HTTPS URLs; upload files through the media endpoint to get one. A poll cannot carry attachments.

Platform fields

All fields go in platformSpecificData on the Discord entry. channelId is required.

FieldTypeDefaultDescription
channelIdstringSnowflake id of the target channel. Required.
embedsArray<object>Up to 10 Discord embed objects, 6,000 characters combined. See Embeds.
pollobjectNative poll (question, answers, duration). Cannot be combined with media. See Polls.
crosspostbooleanfalsePublish to every follower of an announcement channel. No-op on text channels.
forumThreadNamestringThread title for a forum starter message. Required on forum channels.
forumAppliedTagsArray<string>Tag snowflake ids for a forum post, at most 5.
threadFromMessage{name, autoArchiveDuration?, rateLimitPerUser?}Open a thread under the published message. See Threads.
ttsbooleanfalseText-to-speech message: Discord reads it aloud in the channel.
webhookUsernamestringaccount defaultDisplay name for this post only, 1 to 80 characters.
webhookAvatarUrlstringaccount defaultAvatar URL for this post only.
Was this page helpful?

Publish

Publish messages, embeds, polls, forum posts and threads to a Discord channel, and edit or delete them.

Inbox

Send 1:1 Discord direct messages from the bot.

On this page

Media requirementsPlatform fields