Skip to main content
GET
/
verify_profiles
/
templates
JavaScript
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}}."
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Expected Verify profile message template response to a valid request.

A list of Verify profile message templates

data
VerifyProfileResponse · object[]
required