GET

Get Tag By Slug


Retrieves a tag with the provided slug.

The slug is the end of a tag's URL that refers to a specific tag. For example, if a tag's URL is https://example.com/blog/tag/{my-tag-slug}, the slug is my-tag-slug. The slug is case-sensitive and derived from the tag's label.

Permissions
Manage Blog
Read Blog
Read Draft Blog Posts
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/v3/tags/slugs/{slug}

Path Params
slugstringRequired

Slug of the tag to retrieve.

Query Params
fieldsetsArray <string>

List of additional tag fields to include in the response. For example, use the URL fieldset to retrieve the url field in the response in addition to the tag's base fields. Base fields don’t include any of the supported fieldset values. By default only the tag's base fields are returned.


languagestring

2-or-4-letter language code in IETF BCP 47 language tag format. Language of the tag to retrieve.

Response Object
tagTag

Retrieved tag.

Get Tag By Slug Example 1
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?