---
canonical_url: "https://docs.composio.dev/toolkits/inblog"
markdown_url: "https://docs.composio.dev/toolkits/inblog.md"
product: "platform"
version: null
last_updated: null
---

# Inblog

Inblog is an AI-powered blogging platform for managing posts, authors, tags, redirects, design settings, analytics, and lead forms.

- **Category:** ai content generation
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 10
- **Triggers:** 0
- **Slug:** `INBLOG`
- **Version:** 00000000_00

## Tools

### Create Post

**Slug:** `INBLOG_CREATE_POST`

Create an unpublished draft post with content, SEO metadata, and optional tag and author assignments. Use Set Post Publication to publish or schedule it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `slug` | string | Yes | Unique lowercase URL slug without leading or trailing slashes. |
| `image` | string | No | Featured image URL or provider-supported image value. |
| `title` | string | Yes | Post title. |
| `form_id` | integer | No | Lead form ID to attach to the post. |
| `tag_ids` | array | No | Tag IDs to assign to the new post. Use List Tags to resolve IDs. |
| `author_ids` | array | No | Author UUIDs to assign to the new post. |
| `meta_title` | string | No | SEO title override. |
| `description` | string | No | Short post description or excerpt. |
| `content_html` | string | No | Complete HTML body for the post. Do not embed base64 images in the HTML. |
| `canonical_url` | string | No | Canonical URL when this post's canonical source is elsewhere. |
| `meta_description` | string | No | SEO description override. |
| `preserve_external_images` | boolean | No | Keep external image URLs instead of importing them into Inblog. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Analytics

**Slug:** `INBLOG_GET_ANALYTICS`

Return a bounded blog or post analytics report for traffic trends, traffic sources, or per-post performance.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum ranked posts or sources to return (1-1000). |
| `order` | string ("asc" | "desc") | No | Sort direction for a post_metrics report. |
| `post_id` | integer | No | Numeric post ID; required only for post_traffic and post_sources. |
| `sort_by` | string ("visits" | "clicks" | "organic" | "cvr") | No | Metric used to rank a post_metrics report. |
| `end_date` | string | No | Inclusive report end date in YYYY-MM-DD format. |
| `interval` | string ("day" | "hour") | No | Time bucket for blog_traffic and post_traffic reports. |
| `page_type` | string ("all" | "home" | "post" | "category" | "author") | No | Page category for a blog_traffic report. |
| `start_date` | string | No | Inclusive report start date in YYYY-MM-DD format; omit to use the provider's rolling 28-day range. |
| `report_type` | string ("blog_traffic" | "blog_sources" | "post_metrics" | "post_traffic" | "post_sources") | Yes | Analytics report to return: blog time series, blog referrers, ranked post metrics, one post's time series, or one post's referrers. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Blog

**Slug:** `INBLOG_GET_BLOG`

Return the connected API key's blog identity, plan, domain, locale, timezone, assets, and integration settings.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Posts

**Slug:** `INBLOG_LIST_POSTS`

List and filter posts in the connected blog, one page at a time, optionally including tags and authors.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `slug` | string | No | Return only the post with this exact URL slug. |
| `limit` | integer | No | Maximum posts to return in this page (1-100). |
| `order` | string ("asc" | "desc") | No | Sort direction. |
| `tag_id` | integer | No | Return posts assigned to this tag ID. |
| `sort_by` | string ("published_at" | "created_at" | "updated_at" | "title") | No | Post field used to order results. |
| `author_id` | string | No | Return posts assigned to this author UUID. |
| `published` | boolean | No | Filter by published state; omit to include both drafts and published posts. |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |
| `content_type` | string ("tiptap" | "notion") | No | Filter by the post's source content type. |
| `include_content_html` | boolean | No | Whether to include full HTML content; leave false for compact listing responses. |
| `include_relationships` | array | No | Related resources to include with each post. |
| `published_at_or_after` | string | No | Return posts published at or after this ISO 8601 timestamp. |
| `published_at_or_before` | string | No | Return posts published at or before this ISO 8601 timestamp. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Redirects

**Slug:** `INBLOG_LIST_REDIRECTS`

List the blog's URL redirect rules one page at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum redirect rules to return in this page (1-100). |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Tags

**Slug:** `INBLOG_LIST_TAGS`

Return all tags available in the connected blog for discovery and post assignment.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Set Post Publication

**Slug:** `INBLOG_SET_POST_PUBLICATION`

Publish, unpublish, or schedule an existing Inblog post. Returns a normalized publication_status and action_effective result because Inblog represents a schedule as published=true with its future time in published_at. Scheduling requires a future timezone-aware timestamp.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `action` | string ("publish" | "unpublish" | "schedule") | Yes | Publication transition to perform: publish, unpublish, or schedule. |
| `post_id` | integer | Yes | Positive numeric ID of the post whose publication state to change. |
| `scheduled_at` | string | No | Future ISO 8601 publication timestamp with a timezone. Required only when action is schedule. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Post

**Slug:** `INBLOG_UPDATE_POST`

Partially update a post's content, SEO metadata, or complete tag and author assignments without changing publication state. Omitted fields remain unchanged.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `slug` | string | No | New unique URL slug, without leading or trailing slashes. |
| `image` | string | No | New featured image URL or provider-supported image value. Omit to leave the image unchanged, or pass null to clear it. |
| `title` | string | No | New post title. |
| `form_id` | integer | No | Lead form ID to attach. Omit to leave the form unchanged, or pass null to clear it. |
| `post_id` | integer | Yes | Numeric ID of the post to update. |
| `tag_ids` | array | No | Complete replacement set of tag IDs. Omit to leave tags unchanged, or pass an empty list to remove all tags. |
| `author_ids` | array | No | Complete replacement set of author UUIDs. Omit to leave authors unchanged, or pass an empty list to remove all authors. |
| `meta_title` | string | No | New SEO title override. Omit to leave it unchanged, or pass null to clear it. |
| `description` | string | No | New short description or excerpt. |
| `content_html` | string | No | Complete replacement HTML body; partial HTML fragments are not merged. |
| `canonical_url` | string | No | New canonical URL. Omit to leave it unchanged, or pass null to clear it. |
| `meta_description` | string | No | New SEO description override. Omit to leave it unchanged, or pass null to clear it. |
| `preserve_external_images` | boolean | No | Keep external image URLs instead of importing them into Inblog. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create or Update Redirect

**Slug:** `INBLOG_UPSERT_REDIRECT`

Create a URL redirect when redirect_id is omitted, or partially update that redirect when redirect_id is provided.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `to_path` | string | No | Destination beginning with '/' for a blog path, or with http:// or https:// for an external URL; required when creating. |
| `from_path` | string | No | Source URL path beginning with '/'; required when creating. |
| `redirect_id` | string | No | Existing redirect ID to update; omit to create a new redirect. |
| `redirect_type` | integer ("307" | "308") | No | 307 for a temporary redirect or 308 for a permanent redirect. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create or Update Tag

**Slug:** `INBLOG_UPSERT_TAG`

Create a tag when tag_id is omitted, or partially update that tag when tag_id is provided.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Tag display name. Required when creating and optional when updating. |
| `slug` | string | No | Unique lowercase URL slug using letters, numbers, and hyphens. Required when creating and optional when updating. |
| `tag_id` | integer | No | Existing tag ID to update. Omit to create a new tag. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
