import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.verifyProfiles.retrieveTemplates();
console.log(response.data);{
"data": [
{
"id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
"text": "Your {{app_name}} verification code is: {{code}}."
}
]
}List all Verify profile message templates.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.verifyProfiles.retrieveTemplates();
console.log(response.data);{
"data": [
{
"id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
"text": "Your {{app_name}} verification code is: {{code}}."
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Expected Verify profile message template response to a valid request.
Was this page helpful?