Get Glossaries
curl --request GET \
--url https://api.studio.us.phrase.com/v1/glossaries \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.studio.us.phrase.com/v1/glossaries"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.studio.us.phrase.com/v1/glossaries', 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.studio.us.phrase.com/v1/glossaries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.studio.us.phrase.com/v1/glossaries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.studio.us.phrase.com/v1/glossaries")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.studio.us.phrase.com/v1/glossaries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "00cd5cdb-ce8b-423a-a9b8-ca5dd5db7442",
"accountId": "e7631985-e50d-424e-beef-6cb536d32c11",
"name": "company names",
"description": null,
"items": "OTOMATA\nNike\nHP\nNvidia",
"active": true,
"createdAt": "2025-11-06T10:15:59.738Z",
"updatedAt": "2025-11-06T10:15:59.738Z"
},
{
"id": "99af75c5-b606-4aee-a3db-ee149c662ea6",
"accountId": "e7631985-e50d-424e-beef-6cb536d32c11",
"name": "test",
"description": null,
"items": "voila violing ding dong",
"active": true,
"createdAt": "2025-11-06T09:43:17.888Z",
"updatedAt": "2025-11-06T09:43:17.888Z"
}
],
"pagination": {
"page": 1,
"pageSize": 2,
"total": 2,
"totalPages": 1
}
}{
"success": false,
"statusCode": 400,
"message": "Bad Request",
"timestamp": "2025-01-01T00:00:00.000Z"
}{
"success": false,
"statusCode": 400,
"message": "Bad Request",
"timestamp": "2025-01-01T00:00:00.000Z"
}{
"success": false,
"statusCode": 400,
"message": "Bad Request",
"timestamp": "2025-01-01T00:00:00.000Z"
}Glossaries
Get Glossaries
Retrieve available glossaries for the authenticated account. Items have newline character between them.
GET
/
v1
/
glossaries
Get Glossaries
curl --request GET \
--url https://api.studio.us.phrase.com/v1/glossaries \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.studio.us.phrase.com/v1/glossaries"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.studio.us.phrase.com/v1/glossaries', 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.studio.us.phrase.com/v1/glossaries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.studio.us.phrase.com/v1/glossaries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.studio.us.phrase.com/v1/glossaries")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.studio.us.phrase.com/v1/glossaries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "00cd5cdb-ce8b-423a-a9b8-ca5dd5db7442",
"accountId": "e7631985-e50d-424e-beef-6cb536d32c11",
"name": "company names",
"description": null,
"items": "OTOMATA\nNike\nHP\nNvidia",
"active": true,
"createdAt": "2025-11-06T10:15:59.738Z",
"updatedAt": "2025-11-06T10:15:59.738Z"
},
{
"id": "99af75c5-b606-4aee-a3db-ee149c662ea6",
"accountId": "e7631985-e50d-424e-beef-6cb536d32c11",
"name": "test",
"description": null,
"items": "voila violing ding dong",
"active": true,
"createdAt": "2025-11-06T09:43:17.888Z",
"updatedAt": "2025-11-06T09:43:17.888Z"
}
],
"pagination": {
"page": 1,
"pageSize": 2,
"total": 2,
"totalPages": 1
}
}{
"success": false,
"statusCode": 400,
"message": "Bad Request",
"timestamp": "2025-01-01T00:00:00.000Z"
}{
"success": false,
"statusCode": 400,
"message": "Bad Request",
"timestamp": "2025-01-01T00:00:00.000Z"
}{
"success": false,
"statusCode": 400,
"message": "Bad Request",
"timestamp": "2025-01-01T00:00:00.000Z"
}Was this page helpful?
⌘I