This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a tag.
function getTag(tagId: string): Promise<Tag>;
The ID of the tag to retrieve.
import { tags } from "@wix/tags";
async function getTag(tagId) {
const response = await tags.getTag(tagId);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.