import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const dialogflowConnection = await client.dialogflowConnections.retrieve('connection_id');
console.log(dialogflowConnection.data);{
"data": {
"record_type": "dialogflow_connections",
"connection_id": "1234541231",
"conversation_profile_id": "a-VMHLWzTmKjiJw5S6O0-w",
"environment": "development",
"service_account": "****"
}
}Return details of the Dialogflow connection associated with the given CallControl connection.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const dialogflowConnection = await client.dialogflowConnections.retrieve('connection_id');
console.log(dialogflowConnection.data);{
"data": {
"record_type": "dialogflow_connections",
"connection_id": "1234541231",
"conversation_profile_id": "a-VMHLWzTmKjiJw5S6O0-w",
"environment": "development",
"service_account": "****"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Uniquely identifies a Telnyx application (Call Control).
Return details of the Dialogflow connection associated with the given CallControl connection.
Show child attributes
"dialogflow_connections"
Uniquely identifies a Telnyx application (Call Control).
"1234541231"
The id of a configured conversation profile on your Dialogflow account. (If you use Dialogflow CX, this param is required)
"a-VMHLWzTmKjiJw5S6O0-w"
Which Dialogflow environment will be used.
"development"
The JSON map to connect your Dialoglow account.
"****"
Was this page helpful?