Skip to main content
GET
/
campaign
/
{campaignId}
/
operationStatus
JavaScript
import Telnyx from 'telnyx';

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

const response = await client.messaging10dlc.campaign.getOperationStatus('campaignId');

console.log(response);
{
  "10017": "APPROVED",
  "10035": "REVIEW"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

campaignId
string
required

Response

Successful Response

The response is of type object.