Skip to main content

Overview

Dev.to is a community platform for developers. When posting articles, you can set the title, cover image, tags, and organization.

Settings Schema

{
  "__type": "devto",
  "title": "Article Title",
  "main_image": {
    "id": "image-id",
    "path": "https://uploads.postiz.com/cover.jpg"
  },
  "canonical": "https://original-url.com/article",
  "organization": "org-id",
  "tags": [
    { "value": "javascript", "label": "javascript" }
  ]
}

Properties

PropertyTypeRequiredDescription
__typestringMust be "devto"
titlestringArticle title (min 2 chars)
main_imageobjectCover image
main_image.idstringImage ID
main_image.pathstringImage URL
canonicalstringOriginal URL for SEO
organizationstringOrganization ID
tagsarrayUp to 4 tags
tags[].valuestringTag identifier
tags[].labelstringTag display name

Example

{
  "type": "schedule",
  "date": "2024-12-14T10:00:00.000Z",
  "shortLink": false,
  "tags": [],
  "posts": [
    {
      "integration": {
        "id": "your-devto-integration-id"
      },
      "value": [
        {
          "content": "# Getting Started\n\nIn this tutorial, we'll explore...\n\n```javascript\nconst hello = 'world';\nconsole.log(hello);\n```\n\n## Conclusion\n\nThanks for reading!",
          "image": []
        }
      ],
      "settings": {
        "__type": "devto",
        "title": "10 JavaScript Tips for Better Code",
        "tags": [
          { "value": "javascript", "label": "javascript" },
          { "value": "webdev", "label": "webdev" },
          { "value": "tutorial", "label": "tutorial" },
          { "value": "beginners", "label": "beginners" }
        ]
      }
    }
  ]
}

Notes

  • Article content supports Markdown with code blocks
  • Maximum of 4 tags allowed
  • Tags should be lowercase and match Dev.to’s existing tags
  • If posting under an organization, provide the organization ID