> 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`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: getTag(tagId: string) # Method package: wixTagsV1 # Method menu location: wixTagsV1 --> tags --> getTag # Method Link: https://dev.wix.com/docs/velo/apis/wix-tags-v1/tags/get-tag.md # Method Description: Retrieves a tag. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## getTag example for dashboard page code ```javascript import { tags } from 'wix-tags.v1'; async function getTag(tagId) { try { const result = await tags.getTag(tagId); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## getTag example for exporting from backend code ```javascript import { tags } from 'wix-tags.v1'; import { webMethod, Permissions } from 'wix-web-module'; import { elevate } from 'wix-auth'; const elevatedGetTag = elevate(tags.getTag); export const getTag = webMethod( Permissions.Anyone, async (tagId) => { try { const result = await elevatedGetTag(tagId); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---