Skip to main content
POST
/
ai
/
conversations
/
insight-groups
/
{group_id}
/
insights
/
{insight_id}
/
assign
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});

await client.ai.conversations.insightGroups.insights.assign('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
  group_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

group_id
string<uuid>
required

The ID of the insight group

insight_id
string<uuid>
required

The ID of the insight

Response

Successful Response