---
title: "Import blog post"
method: POST
path: "/api/sites/multiscreen/{site_name}/blog/posts/import"
tags: ["Blog"]
---

# Import blog post

`POST /api/sites/multiscreen/{site_name}/blog/posts/import`

## Request

- Base URL: `https://api.duda.co`
- URL: `https://api.duda.co/api/sites/multiscreen/{site_name}/blog/posts/import`
- Auth: HTTP basic

Imports a single post into a site's existing blog. The post is added as a draft and needs to be published before it appears on the live site.

## Path parameters

- `site_name` string, required

## Request body

- ImportBlogPostPayloadRDT
  - `author` string
  - `content` string
  - `description` string
  - `layout_id` string: Id of the layout to place the post on, from the blog's layouts. Omitted: the blog's default layout.
  - `main_image` BlogPostImageRDT
    - `url` string
  - `thumbnail` BlogPostThumbnailImageRDT
    - `alt_text` string
    - `url` string
  - `title` string

## Response `200`

OK

- ImportBlogPostResponseRDT
  - `author` string
  - `content` string
  - `description` string
  - `id` string
  - `layout_id` string: Id of the layout the post was placed on. Omitted when no layout_id was given.
  - `main_image` BlogPostImageRDT
    - `url` string
  - `thumbnail` BlogPostThumbnailImageRDT
    - `alt_text` string
    - `url` string
  - `title` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `405`: Method Not Allowed
- `429`: Too many requests. The rate limit was exceeded.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/duda/apis/duda-partner-api.md) - [All operations](https://skmtc.dev/duda/apis/duda-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/duda/apis/duda-partner-api/revisions/52be4d41cb12?raw)
