Skip to main content
PUT
/
api
/
v1
/
insights
/
folders
/
{folder_id}
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.insights.folders.update({
    folderId: 567518,
    insightsFolderInput: {
      name: "customer-complaints",
      label: "support",
      description: "Call recordings related to customer complaints",
    },
  });

  console.log(result);
}

run();
{
  "name": "<string>",
  "id": 123,
  "last_updated_by": "<string>",
  "label": "support",
  "description": "Call recordings related to customer complaints",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

folder_id
integer
required

Body

application/json

Request model to create/update an insight upload folder.

name
string
required

Human-readable name of insight folder

Example:

"customer-complaints"

label
string | null

optional label assigned to insight folder

Example:

"support"

description
string | null

Text description of insight upload folder

Example:

"Call recordings related to customer complaints"

Response

Successful Response

Response model for an insight upload folder.

name
string
required

Human-readable name of insight folder

Example:

"customer-complaints"

id
integer
required

System-assign folder ID

Example:

182764

last_updated_by
string
required

Email of user who last updated upload folder

label
string | null

optional label assigned to insight folder

Example:

"support"

description
string | null

Text description of insight upload folder

Example:

"Call recordings related to customer complaints"

created_at
string<date-time>

Timestamp at which insight upload folder was created

Example:

"2025-12-16T00:00:00Z"

updated_at
string<date-time>

Timestamp at which insight upload folder was last updated

Example:

"2025-12-17T00:00:00Z"