> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Posts & Stats

# Type: Post Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/blog/posts-stats/post-object.md

## Description: The `Post` object represents the information for published blog posts.

## Schema:

```json
 Type: Post Object | type: Post
 Description: The `Post` object represents the information for published blog posts.
       - name: id  | type: string | description: Post ID.
       - name: title  | type: string | description: Post title.
       - name: excerpt  | type: string | description: Post excerpt. Can be selected by a site contributor. By default, it is extracted from the content text's first characters.  Max: 500 characters
       - name: contentText  | type: string | description: The post's content in plain text.
           - name: value  | type: string | description: 
       - name: firstPublishedDate  | type: string | description: Date the post was first published.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: lastPublishedDate  | type: string | description: Date the post was last published.
       - name: url  | type: PageUrl | description: Post URL.
           - name: base  | type: string | description: The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`.
           - name: path  | type: string | description: The relative path for the page within the site. For example, `/product-page/a-product`.
       - name: slug  | type: string | description: Post slug. For example, `'post-slug'`.
       - name: featured  | type: boolean | description: Whether the post is marked as featured.
       - name: pinned  | type: boolean | description: Whether the post is pinned. If `true`, the post is placed at the top of the post list.
       - name: categoryIds  | type: Array<string> | description: Category IDs of the post. See Blog Category API for more info.
       - name: memberId  | type: string | description: Member ID of the post's owner.
       - name: hashtags  | type: Array<string> | description: Hashtags in the post.
       - name: commentingEnabled  | type: boolean | description: Whether commenting on the post is enabled.
       - name: minutesToRead  | type: number | description: Estimated reading time (calculated automatically).
       - name: heroImage  | type: Image | description: Image placed at the top of the blog page. Only displays on mobile devices.
           - name: id  | type: string | description: WixMedia image ID.
           - name: url  | type: string | description: Image URL.
           - name: height  | type: number | description: Original image height.
           - name: width  | type: number | description: Original image width.
           - name: altText  | type: string | description: Image alt text.
           - name: filename  | type: string | description: Image filename.
       - name: tagIds  | type: Array<string> | description: IDs of tags the post is tagged with. See Blog Tags API for more info.
       - name: relatedPostIds  | type: Array<string> | description: IDs of posts related to the post.
       - name: pricingPlanIds  | type: Array<string> | description: Pricing plan IDs. See the Pricing Plans API for more info.  Only relevant if a post is assigned to a specific pricing plan.
       - name: translationId  | type: string | description: ID of the translations of this post. All translations of a single post share the same `translationId`.
       - name: language  | type: string | description: Language the post is written in.  2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
       - name: seoData  | type: SeoSchema | description: SEO data.
           - name: tags  | type: Array<Tag> | description: The tags rendered into <head>, in no particular order. Render order is decided by the renderer, not by position in this list.  No maxSize: this list is already populated by data written years ago, and a bound added now could reject a page that is already stored.
               - name: type  | type: string | description: Legacy. Was a free-form string: "title" | "meta" | "script" | "link". The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes the invalid combinations unrepresentable rather than merely discouraged.  Which of these an API actually accepts depends on where the tag is being set: this list is not a blanket guarantee across every API that reuses this message. Site SEO Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation error even though they appear here — check the field description of the specific `tags`-typed field you are writing to.  Limitation: `title` and `script` (e.g. a `script` tag with `props.type` "application/ld+json" carrying structured data) are supported only when `custom` is unset or `false`. Setting `custom: true` on a `title` or `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the write through the site's Advanced/Custom Tags list. To write structured data, omit `custom` (or set it to `false`).  No length limit: this field holds data written years ago by writers we are not migrating. A constraint here could reject a record that is already stored, which is exactly the promise this design makes.
               - name: props  | type: Struct | description: Legacy. Was an untyped bag of HTML attributes. Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
               - name: meta  | type: Struct | description: Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` its contents are split by purpose: per-page structured-data state moves to StructuredDataTag, authorship to `written_by`, and render-time preset logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the stored document entirely — it belongs to the preset definition, not to the page. See the design log for the full key-by-key mapping.
               - name: children  | type: string | description: Legacy. Was the tag's inner content, doubling as the JSON-LD payload for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and `StructuredDataTag.json_ld`. No length limit, for the same reason as `type` above.
               - name: custom  | type: boolean | description: Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — i.e. an entry from the site's Advanced/Custom Tags list.  Setting this to `true` on a write restricts which `type` values are accepted — the same restriction the Advanced/Custom Tags UI enforces. `title` and `script` tags (including JSON-LD structured data) must be sent with `custom` omitted or `false`; sending them with `custom: true` is rejected with `TAG_TYPE_NOT_ALLOWED`.  Note this is a separate restriction from Site SEO Tags' own type restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g. for site-wide structured data) unconditionally. There is currently no way to set site-wide, every-page structured data through any of these APIs — write a per-page `script` tag through the Item SEO Tags API instead.  This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed default/pattern — standard tags always resolve with `custom: false`, even when their content comes from a page's manually saved SEO title/description override. Don't use this field to verify whether a live page reflects a manual per-page SEO edit.  Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the response entirely — there, `false` means this API could not tell, not that no custom tag exists. Pass `seoData` explicitly to resolve against a known set of tags.  `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
               - name: disabled  | type: boolean | description: Whether the tag is excluded from the rendered <head>.  A disabled tag is still stored, so the user can re-enable it and so a pattern-provided tag stays suppressed on this page. Default false.
           - name: settings  | type: Settings | description: Page-level SEO settings that are not themselves tags.
               - name: preventAutoRedirect  | type: boolean | description: Whether to suppress the automatic redirect from this page's previous URL to its current one after a slug change.  Default false, meaning the redirect IS created. The field is named for the exception rather than the rule, which reads backwards; kept as-is because renaming a stored boolean is not worth the migration.
               - name: keywords  | type: Array<Keyword> | description: Keyword terms the user is targeting for this page. Used by the SEO assistant and checklist; never rendered into <head>.  20 is a sanity bound, not the product limit. v1 declared 5 — the number the panel happens to allow today — which is exactly the mistake we are fixing for structured data. A product decision to allow 8 should not need a proto release, so the panel owns that number and the proto only stops something absurd.
       - name: contactId  | type: string | description: Contact ID of the post's owner. See the Contacts API for more info.
       - name: richContent  | type: RichContent | description: Post rich content  <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll" exampleid="72c23a25-524f-4f70-a260-4a2777b6f5d5"> <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See.md Ricos document reference</a> </widget>
           - name: nodes  | type: Array<Node> | description: Node objects representing a rich content document.
               - name: type  | type: string | description: Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format.
               - name: id  | type: string | description: Node ID.
               - name: nodes  | type: Array<Node> | description: A list of child nodes.
               - name: style  | type: NodeStyle | description: Padding and background color styling for the node.
               - ONE-OF:
                   - name: buttonData  | type: ButtonData | description: Data for a button node.
                   - name: codeBlockData  | type: CodeBlockData | description: Data for a code block node.
                   - name: dividerData  | type: DividerData | description: Data for a divider node.
                   - name: fileData  | type: FileData | description: Data for a file node.
                   - name: galleryData  | type: GalleryData | description: Data for a gallery node.
                   - name: gifData  | type: GIFData | description: Data for a GIF node.
                   - name: headingData  | type: HeadingData | description: Data for a heading node.
                   - name: htmlData  | type: HTMLData | description: Data for an embedded HTML node.
                   - name: imageData  | type: ImageData | description: Data for an image node.
                   - name: linkPreviewData  | type: LinkPreviewData | description: Data for a link preview node.
                   - name: mapData  | type: MapData | description: 
                   - name: paragraphData  | type: ParagraphData | description: Data for a paragraph node.
                   - name: pollData  | type: PollData | description: Data for a poll node.
                   - name: textData  | type: TextData | description: Data for a text node. Used to apply decorations to text.
                   - name: appEmbedData  | type: AppEmbedData | description: Data for an app embed node.
                   - name: videoData  | type: VideoData | description: Data for a video node.
                   - name: embedData  | type: EmbedData | description: Data for an oEmbed node.
                   - name: collapsibleListData  | type: CollapsibleListData | description: Data for a collapsible list node.
                   - name: tableData  | type: TableData | description: Data for a table node.
                   - name: tableCellData  | type: TableCellData | description: Data for a table cell node.
                   - name: externalData  | type: Struct | description: Data for a custom external node.
                   - name: audioData  | type: AudioData | description: Data for an audio node.
                   - name: orderedListData  | type: OrderedListData | description: Data for an ordered list node.
                   - name: bulletedListData  | type: BulletedListData | description: Data for a bulleted list node.
                   - name: blockquoteData  | type: BlockquoteData | description: Data for a block quote node.
                   - name: captionData  | type: CaptionData | description: Data for a caption node.
                   - name: layoutData  | type: LayoutData | description: Data for a layout node. Reserved for future use.
                   - name: layoutCellData  | type: LayoutCellData | description: Data for a cell node.
                   - name: shapeData  | type: ShapeData | description: Data for a shape node.
                   - name: cardData  | type: CardData | description: Data for a card node.
                   - name: tocData  | type: TocData | description: Data for a table of contents node.
                   - name: smartBlockData  | type: SmartBlockData | description: Data for a smart block node.
                   - name: smartBlockCellData  | type: SmartBlockCellData | description: Data for a smart block cell node.
                   - name: checkboxListData  | type: CheckboxListData | description: Data for a checkbox list node.
                   - name: listItemData  | type: ListItemNodeData | description: Data for a list item node.
                   - name: slotData  | type: SlotData | description: Data for a slot node.
           - name: metadata  | type: Metadata | description: Object metadata.
               - name: version  | type: number | description: Schema version.
               - name: createdTimestamp  | type: string | description: When the object was created.
               - name: updatedTimestamp  | type: string | description: When the object was most recently updated.
               - name: id  | type: string | description: Object ID.
           - name: documentStyle  | type: DocumentStyle | description: Global styling for header, paragraph, block quote, and code block nodes in the object.
               - name: headerOne  | type: TextNodeStyle | description: Styling for H1 nodes.
               - name: headerTwo  | type: TextNodeStyle | description: Styling for H2 nodes.
               - name: headerThree  | type: TextNodeStyle | description: Styling for H3 nodes.
               - name: headerFour  | type: TextNodeStyle | description: Styling for H4 nodes.
               - name: headerFive  | type: TextNodeStyle | description: Styling for H5 nodes.
               - name: headerSix  | type: TextNodeStyle | description: Styling for H6 nodes.
               - name: paragraph  | type: TextNodeStyle | description: Styling for paragraph nodes.
               - name: blockquote  | type: TextNodeStyle | description: Styling for block quote nodes.
               - name: codeBlock  | type: TextNodeStyle | description: Styling for code block nodes.
       - name: preview  | type: boolean | description: Whether the returned content is a preview of premium content. Defaults to `false`. A preview displays a limited number of paragraphs of paid content to non-subscribed users.
       - name: moderationDetails  | type: ModerationDetails | description: Post moderation details. Only relevant to posts submitted by [guest writers](https://support.wix.com/en/article/wix-blog-moderating-blog-posts-from-your-guest-writers).  Guest writers have the ability to write posts but not publish them. These posts can be rejected or approved for publishing by a blog editor or Wix user.
           - name: submittedBy  | type: string | description: Member ID of the person submitting the draft post for review.
           - name: submittedDate  | type: string | description: Date the post was submitted for review.
           - name: status  | type: string | description: Status indicating whether the submission was approved or rejected by the moderator.
               enum: UNKNOWN, APPROVED, REJECTED
           - name: moderatedBy  | type: string | description: Member ID of the person who approved or rejected the post.
           - name: moderationDate  | type: string | description: Date the post was approved or rejected.
       - name: media  | type: Media | description: Post cover media.
           - name: displayed  | type: boolean | description: Whether cover media is displayed.
           - name: custom  | type: boolean | description: Whether custom cover media has been specified. If `false`, the first media item in the post's content serves as cover media.
           - name: altText  | type: string | description: Media alternative text.
           - ONE-OF:
               - name: wixMedia  | type: WixMedia | description: Wix Media details.
                   - name: image  | type: Image | description: Image details.
                   - name: videoV2  | type: VideoV2 | description: Video details.
               - name: embedMedia  | type: EmbedMedia | description: Embed media details.
                   - name: thumbnail  | type: EmbedThumbnail | description: Thumbnail details.
                   - name: video  | type: EmbedVideo | description: Video details.
       - name: hasUnpublishedChanges  | type: boolean | description: Indicates if there is a draft post with changes that have not yet been published.
       - name: referenceId  | type: string | description: Post reference ID. You can reference the post from other entities, for example, comments.

```