Skip to main content
Every post to DEV carries a settings object with "__type": "devto" and a title. Read the live schema for your channel with Get a channel’s settings. A DEV channel connects with a DEV API key, which only the app’s connect form takes. Connect it in the app first, then post to it here.

Fields

The body comes from value[0].content as Markdown. The article is always published, never saved as a DEV draft. DEV has no follow-ups, so entries after the first in value are not published, and media in value is not sent: only main_image reaches DEV.

Find tags and organizations

Two tools read them from DEV. Call them through trigger a provider tool, with no data:
organizations lists only organizations the account has already published an article for. Each answer comes wrapped in { "output": ... }.

What PostQueen checks

A post that breaks one of these rules is refused with 400 before it is scheduled: The settings rules come back as a list, with each field’s path:
The text limit comes back with the channel’s name instead, as on posting settings by network. DEV’s own rules are not checked first. A canonical URL that another of your articles already uses is refused when the article is published, with “Dev.to already has an article with this canonical URL. Change or remove it in the post settings, then try again.”

Examples

Send each body to create a post. Replace YOUR_CHANNEL_ID with the channel’s id from list channels, the tags and organization with values from the tools above, and the media id and path with the values upload a file returns.
Last modified on October 22, 2026