curl --request GET \
--url https://api.slng.ai/v1/pronunciation/dictionaries/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.slng.ai/v1/pronunciation/dictionaries/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.slng.ai/v1/pronunciation/dictionaries/{name}', 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.slng.ai/v1/pronunciation/dictionaries/{name}",
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.slng.ai/v1/pronunciation/dictionaries/{name}"
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.slng.ai/v1/pronunciation/dictionaries/{name}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.slng.ai/v1/pronunciation/dictionaries/{name}")
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{
"id": "pd_01abc...",
"org_id": "org_123",
"name": "brand-pronunciations",
"normalized_name": "brand-pronunciations",
"modes": {
"rewrite": {
"rules": [
{
"match": "NAIC",
"replace": "en ay eye see"
}
]
},
"ipa": {
"rules": [
{
"match": "SLNG",
"ipa": "slɪŋ"
}
]
}
},
"content_hash": "sha256:...",
"created_at": "2026-05-15T12:00:00.000Z",
"metadata": {
"language": "hi-IN",
"providers": [
"sarvam",
"cartesia"
]
},
"created_by_key_label": "production-key"
}{
"code": "invalid_pronunciation",
"error": "Invalid pronunciation dictionary reference."
}{
"code": "pronunciation_unauthenticated",
"error": "Missing or invalid organization context."
}{
"code": "pronunciation_not_found",
"error": "Pronunciation dictionary not found: brand-pronunciations"
}{
"code": "pronunciation_unavailable",
"error": "Pronunciation dictionaries are temporarily unavailable."
}Get pronunciation dictionary
Read one pronunciation dictionary by name from the authenticated organization.
curl --request GET \
--url https://api.slng.ai/v1/pronunciation/dictionaries/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.slng.ai/v1/pronunciation/dictionaries/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.slng.ai/v1/pronunciation/dictionaries/{name}', 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.slng.ai/v1/pronunciation/dictionaries/{name}",
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.slng.ai/v1/pronunciation/dictionaries/{name}"
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.slng.ai/v1/pronunciation/dictionaries/{name}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.slng.ai/v1/pronunciation/dictionaries/{name}")
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{
"id": "pd_01abc...",
"org_id": "org_123",
"name": "brand-pronunciations",
"normalized_name": "brand-pronunciations",
"modes": {
"rewrite": {
"rules": [
{
"match": "NAIC",
"replace": "en ay eye see"
}
]
},
"ipa": {
"rules": [
{
"match": "SLNG",
"ipa": "slɪŋ"
}
]
}
},
"content_hash": "sha256:...",
"created_at": "2026-05-15T12:00:00.000Z",
"metadata": {
"language": "hi-IN",
"providers": [
"sarvam",
"cartesia"
]
},
"created_by_key_label": "production-key"
}{
"code": "invalid_pronunciation",
"error": "Invalid pronunciation dictionary reference."
}{
"code": "pronunciation_unauthenticated",
"error": "Missing or invalid organization context."
}{
"code": "pronunciation_not_found",
"error": "Pronunciation dictionary not found: brand-pronunciations"
}{
"code": "pronunciation_unavailable",
"error": "Pronunciation dictionaries are temporarily unavailable."
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Pronunciation dictionary name.
128^[A-Za-z0-9._-]+$Response
Pronunciation dictionary.
Immutable pronunciation dictionary identifier.
"pd_01abc..."
Organization that owns the dictionary.
"org_123"
Dictionary name.
"brand-pronunciations"
Normalized dictionary name used for lookups.
"brand-pronunciations"
Pronunciation modes stored on the dictionary. Only rewrite is executable today.
Show child attributes
Show child attributes
Content hash for the stored dictionary.
"sha256:..."
Creation timestamp.
"2026-05-15T12:00:00.000Z"
Optional application metadata stored with the dictionary.
{
"language": "hi-IN",
"providers": ["sarvam", "cartesia"]
}
API key label that created the dictionary, when available.
"production-key"
Was this page helpful?