Find the first tag with an exact name
POST
/api/v1/tag/lookup
const url = 'https://example.com/api/v1/tag/lookup';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/tag/lookup \ --header 'Content-Type: application/json' \ --data '{ "name": "example" }'Returns at most one existing tag, choosing the smallest ID when names are duplicated. The name is case sensitive and must be normalized. This operation does not create or merge tags.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
Plain-text tag name. Empty names, Unicode, punctuation, and literal markup are preserved. C0 and DEL controls are rejected. Length is measured in Unicode code points.
string
Examplegenerated
{ "name": "example"}Responses
Section titled “Responses”Exact match, or an empty items array
Media typeapplication/json
object
items
required
Array<object>
object
id
required
Tag ID (15 chars)
string
name
required
Tag name
string
created
string format: date-time
updated
string format: date-time
Examplegenerated
{ "items": [ { "id": "example", "name": "example", "created": "2026-04-15T12:00:00Z", "updated": "2026-04-15T12:00:00Z" } ]}Invalid tag name
Tag lookup is not permitted
Internal Server Error