Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.campaign.usecase.getCost({ usecase: 'usecase' });
console.log(response.campaignUsecase);{
"campaignUsecase": "<string>",
"monthlyCost": "<string>",
"upFrontCost": "<string>",
"description": "<string>"
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.campaign.usecase.getCost({ usecase: 'usecase' });
console.log(response.campaignUsecase);{
"campaignUsecase": "<string>",
"monthlyCost": "<string>",
"upFrontCost": "<string>",
"description": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?