Skip to main content
GET
/
ai
/
conversations
/
{conversation_id}
JavaScript
import Telnyx from 'telnyx';

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

const conversation = await client.ai.conversations.retrieve('conversation_id');

console.log(conversation.data);
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

conversation_id
string
required

The ID of the conversation to retrieve

Response

Successful Response

data
object