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 with400 before it is scheduled:
The settings rules come back as a list, with each field’s path:
Examples
Send each body to create a post. ReplaceYOUR_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.