Create hosted blog
create_hosted_blogCreates the hosted blog: a blog served by BlogSEO on a subdomain of the user's domain (blog. by default) over HTTPS, with a sitemap, an RSS feed, Open Graph images, structured data and the website's branding. Returns the CNAME record to add at the DNS provider; nothing is live until DNS points to the target, so call get_hosted_blog_status afterwards. Subdomains only (no apex domain), one hosted blog per organization, and not next to a CMS integration such as WordPress or Shopify. Every generated article is published automatically once connected. Free. Pass website_id when the account has several websites (see get_account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | No | Subdomain for the blog, e.g. blog.example.com. Defaults to blog.<website domain>. | |
| website_id | No | Website id from get_account. Optional when the account has a single website. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| blog_url | Yes | ||
| hostname | Yes | Subdomain serving the blog. | |
| config_id | Yes | ||
| next_step | Yes | What to do next for the current status: records to add, DNS and SSL wait times, or the article URL pattern once connected. | |
| registrar | Yes | ||
| created_at | Yes | ||
| last_error | Yes | ||
| updated_at | Yes | ||
| website_id | Yes | ||
| dns_records | Yes | Records still to add at the DNS provider. | |
| is_connected | Yes | true once DNS resolves and the certificate is issued. | |
| status_label | Yes | ||
| dashboard_url | Yes | ||
| dns_verified_at | Yes | ||
| registrar_warning | Yes | Instruction specific to the detected DNS provider to follow when adding the records; null when none applies. | |
| ssl_provisioned_at | Yes |