GET

Get Item Seo Tags


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves the SEO tags of a single item.

Returns the tags set for the item itself in tags, and the tags it's expected to render with in resolvedTags, each marked with where it came from. An item with no tags of its own returns empty tags and hasOverride: false, because it inherits its tags.

Limitation: for an item type that keeps a separate published revision (currently STATIC_PAGE), tags, focusKeywords, and resolvedTags always reflect the saved revision, never the published one. Calling Set Item SEO Tags with publish: true updates the published revision without updating the saved one, so a page's live tags can differ from what this method (or List Item SEO Tags) returns for it, with no way to read the published revision back through this API.

To retrieve the items of a type together with their IDs, call List Item SEO Tags.

Permissions
View SEO Settings
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/seo-metatags-server/v1/item-seo-tags/{itemType}/{itemId}

Errors
400Invalid Argument

There is 1 error with this status code.

404Not Found

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?