import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.campaign.getMnoMetadata('campaignId');
console.log(response['10999']);{
"10999": {
"qualify": true,
"mno": "<string>",
"noEmbeddedLink": true,
"reqSubscriberHelp": true,
"reqSubscriberOptout": true,
"mnoReview": true,
"noEmbeddedPhone": true,
"mnoSupport": true,
"reqSubscriberOptin": true,
"minMsgSamples": 1
}
}Get the campaign metadata for each MNO it was submitted to.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.campaign.getMnoMetadata('campaignId');
console.log(response['10999']);{
"10999": {
"qualify": true,
"mno": "<string>",
"noEmbeddedLink": true,
"reqSubscriberHelp": true,
"reqSubscriberOptout": true,
"mnoReview": true,
"noEmbeddedPhone": true,
"mnoSupport": true,
"reqSubscriberOptin": true,
"minMsgSamples": 1
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the campaign in question ID of the campaign in question
Successful Response. It constains a map of usecase metadata for each MNO. The key is the network ID of the MNO (e.g. 10017), the value is the mno metadata for the usecase. The metadata may also include some MNO specific fields.
Show child attributes
1
Was this page helpful?