import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.brand.externalVetting.import('brandId', {
evpId: 'evpId',
vettingId: 'vettingId',
});
console.log(response.createDate);{
"evpId": "<string>",
"vettingId": "<string>",
"vettingToken": "<string>",
"vettingScore": 123,
"vettingClass": "<string>",
"vettedDate": "<string>",
"createDate": "<string>"
}This operation can be used to import an external vetting record from a TCR-approved vetting provider. If the vetting provider confirms validity of the record, it will be saved with the brand and will be considered for future campaign qualification.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.brand.externalVetting.import('brandId', {
evpId: 'evpId',
vettingId: 'vettingId',
});
console.log(response.createDate);{
"evpId": "<string>",
"vettingId": "<string>",
"vettingToken": "<string>",
"vettingScore": 123,
"vettingClass": "<string>",
"vettedDate": "<string>",
"createDate": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
External vetting provider ID for the brand.
10Unique ID that identifies a vetting transaction performed by a vetting provider. This ID is provided by the vetting provider at time of vetting.
Required by some providers for vetting record confirmation.
Successful Response
External vetting provider ID for the brand.
10Unique ID that identifies a vetting transaction performed by a vetting provider. This ID is provided by the vetting provider at time of vetting.
Required by some providers for vetting record confirmation.
Vetting score ranging from 0-100.
Identifies the vetting classification.
Vetting effective date. This is the date when vetting was completed, or the starting effective date in ISO 8601 format. If this date is missing, then the vetting was not complete or not valid.
Vetting submission date. This is the date when the vetting request is generated in ISO 8601 format.
Was this page helpful?