Skip to main content
GET
/
api
/
v1
/
directory_members
/
{member_id}
/
test
Typescript (SDK)
import { SyllableSDK } from "syllable-sdk";

const syllableSDK = new SyllableSDK({
  apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});

async function run() {
  const result = await syllableSDK.directory.directoryMemberTestExtension({
    memberId: 922412,
    timestamp: "2024-07-02T14:32:47.235Z",
  });

  console.log(result);
}

run();
{
  "extension": "<string>",
  "status": "<string>"
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

member_id
integer
required

Query Parameters

timestamp
string
required

Timestamp for test in ISO 8601 format (e.g., 2025-12-04T14:29:39)

language_code
enum<string> | null

Optional language code for test BCP 47 codes of languages that Syllable supports.

Available options:
yue-HK,
en-US,
ko-KR,
zh-CN,
fa-IR,
es-US,
th-TH,
vi-VN,
bs-BA,
sw-KE,
ru-RU,
hi-IN,
gu-IN

Response

Successful Response

extension
string | null

Extension to which the user will be transferred if they call at the provided timestamp in the given language, or a status message if no rules match

status
string | null

Status message if no rules match