Skip to main content
Version: v3

Create Blog Post

POST 

/blogs/posts

The "Create Blog Post" API allows you to create a blog post for any given blog site.

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    titlestring

    Title of the blog post

    locationIdstringrequired

    Sub-account (location) identifier the blog post belongs to

    blogIdstringrequired

    Identifier of the blog site the post belongs to

    imageUrlstring

    Cover image URL for the blog post

    descriptionstring

    Short description or excerpt for the blog post

    rawHTMLstringrequired

    Full HTML body of the blog post

    statusstringrequired

    Publication status of the blog post

    Available optionsDRAFTPUBLISHEDSCHEDULEDARCHIVEDDELETED
    wordCountnumber

    Total word count of the blog post body

    readTimeInMinutesnumber

    Estimated read time of the blog post, in minutes

    archivedboolean

    Whether the blog post is archived

    imageAltTextstring

    Alt text for the cover image

    currentVersionstring

    Identifier of the current version of the blog post

    metaDataobject

    Metadata about actors that performed lifecycle actions on the post

    categoriesstring[]

    Identifiers of categories the blog post belongs to

    tagsstring[]

    Tags applied to the blog post

    authorstring

    Identifier of the author of the blog post

    urlSlugstring

    URL-safe slug used in the blog post path

    canonicalLinkstring

    Canonical link override for SEO

    importIdstring

    Identifier of the import record this post was created from

    typestring

    Post type marker (e.g., "preview")

    publishedAtstring

    Timestamp when the post was (or will be) published

application/json

Blog post created

Schema
    dataobjectrequired

    Object containing response data of blog post create