List glossary terms
curl --request GET \
--url https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"terms": [
{
"id": "a1b2c3d4-0000-4000-8000-000000000020",
"glossaryId": "a1b2c3d4-0000-4000-8000-000000000010",
"term": "Sign in",
"doNotTranslate": false,
"caseSensitive": false,
"usageStatus": "preferred",
"notes": "Use the verb form; never capitalize mid-sentence.",
"createdAt": "2026-01-15T09:24:00.000Z",
"updatedAt": "2026-02-02T14:05:00.000Z",
"translations": [
{
"languageCode": "fr",
"value": "Se connecter",
"status": "approved",
"approvedAt": "2026-01-16T11:00:00.000Z",
"proposedValue": null
}
]
}
],
"total": 128,
"page": 1,
"limit": 50
}
}Glossary
List glossary terms
Return a paginated page of the glossary’s terms, each with its per-language translations. Combine the query params to search by text, filter by language, status, or usage, and sort.
GET
/
glossaries
/
{glossaryId}
/
terms
List glossary terms
curl --request GET \
--url https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.textsetu.com/api/v1/glossaries/{glossaryId}/terms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"terms": [
{
"id": "a1b2c3d4-0000-4000-8000-000000000020",
"glossaryId": "a1b2c3d4-0000-4000-8000-000000000010",
"term": "Sign in",
"doNotTranslate": false,
"caseSensitive": false,
"usageStatus": "preferred",
"notes": "Use the verb form; never capitalize mid-sentence.",
"createdAt": "2026-01-15T09:24:00.000Z",
"updatedAt": "2026-02-02T14:05:00.000Z",
"translations": [
{
"languageCode": "fr",
"value": "Se connecter",
"status": "approved",
"approvedAt": "2026-01-16T11:00:00.000Z",
"proposedValue": null
}
]
}
],
"total": 128,
"page": 1,
"limit": 50
}
}Authorizations
API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.
Path Parameters
Glossary id (UUID) or id-embedded path slug.
Query Parameters
1-based page number.
Required range:
x >= 1Terms per page (max 200).
Required range:
1 <= x <= 200Substring match on the term text.
Only terms having a translation in this language code.
Filter by translation status.
Available options:
approved, pending_review, draft Filter by preferred / deprecated / forbidden.
Available options:
preferred, deprecated, forbidden Only do-not-translate terms when true.
Only case-sensitive terms when true.
Sort field.
Available options:
term, createdAt, updatedAt Sort direction.
Available options:
asc, desc 
