Content entry import
post/cms/import
Import markdown, a Ghost export, WordPress posts, a Medium export (html files) or a Substack export (posts.csv and html files). Returns what was made, what was skipped and why, and a redirect from each old address to the new page.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
content:write- Graphql
Mutation.contentEntryImport- Sdk
content.entry.import- Cli
content entry import
Request bodyapplication/json, required
- formatstringrequiredOne of: markdown, ghost, wordpress, substack, medium.
- typestringrequired
- data
- mapobject
- dryRunboolean
- localestringAt most 20 characters.
Responses
- 200application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring