cmsTags
Get a tag by slug
One tag, as the list shows it.
GET
apiKeyheader
AuthorizationBearer <token>A project API key: pk_... (public, read published content) or sk_... (secret, the actions it was given).
projectId*stringslug*stringlocale?stringLanguage tag of the row to read (fr, fr-CA). Defaults to the site's language.
include?stringcount.posts adds count.posts: published posts in locale.
The tag.
application/json- response
id*stringslug*stringMatch
^[a-z0-9]+(?:-[a-z0-9]+)*$Length
1 <= length <= 200name*stringLength
1 <= lengthdescription*string|nullimage*|nullseo*visibility*stringValue in
"public""internal"count?curl -X GET 'https://api.tintage.com/v1/cms/projects/string/tags/slug/string'Example Response
{ "id": "string", "slug": "string", "name": "string", "description": "string", "image": { "file": "string", "version": 1, "url": "string", "alt": "string", "crop": { "x": 0, "y": 0, "w": 1, "h": 1 }, "width": 1, "height": 1, "thumbhash": "string", "color": "string", "textColor": "string", "tone": "light", "transparent": true, "kind": "photo", "focalPoint": { "x": 0, "y": 0 } }, "seo": { "title": "string", "description": "string" }, "visibility": "public", "count": { "posts": 0 }}Was this page helpful?