import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const verificationRequestStatus = await client.messagingTollfree.verification.requests.retrieve( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',);console.log(verificationRequestStatus.id);
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
verification_request_status = client.messaging_tollfree.verification.requests.retrieve(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(verification_request_status.id)
{ "businessName": "Telnyx LLC", "corporateWebsite": "http://example.com", "businessAddr1": "600 Congress Avenue", "businessCity": "Austin", "businessState": "Texas", "businessZip": "78701", "businessContactFirstName": "John", "businessContactLastName": "Doe", "businessContactEmail": "[email protected]", "businessContactPhone": "+18889809750", "messageVolume": "100,000", "phoneNumbers": [ { "phoneNumber": "+18773554398" }, { "phoneNumber": "+18773554399" } ], "useCase": "2FA", "useCaseSummary": "This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", "productionMessageContent": "Your Telnyx OTP is XXXX", "optInWorkflow": "User signs into the Telnyx portal, enters number and is prompted to select whether they want to use 2FA verification for security purposes. If they've opted in a confirmation message is sent out to the handset", "optInWorkflowImageURLs": [ { "url": "https://telnyx.com/sign-up" }, { "url": "https://telnyx.com/company/data-privacy" } ], "additionalInformation": "This is for security purposes, blah blah blah", "id": "eaba9f52-164e-58e0-b002-4f668e18b7ed", "verificationStatus": "Waiting For Customer", "businessAddr2": "14th Floor", "isvReseller": "Yes", "webhookUrl": "http://example-webhook.com", "businessRegistrationNumber": "12-3456789", "businessRegistrationType": "EIN", "businessRegistrationCountry": "US", "doingBusinessAs": "Acme Services", "entityType": "PRIVATE_PROFIT", "optInConfirmationResponse": "You have successfully opted in to receive messages from Acme Corp", "helpMessageResponse": "Reply HELP for assistance or STOP to unsubscribe. Contact: [email protected]", "privacyPolicyURL": "https://example.com/privacy", "termsAndConditionURL": "https://example.com/terms", "ageGatedContent": false, "optInKeywords": "START, YES, SUBSCRIBE", "campaignVerifyAuthorizationToken": "cv_token_abc123xyz", "reason": "Unfortunately, we have to cancel this request as we do not support non tollfree US numbers.", "createdAt": "2024-01-23T18:10:02.574Z", "updatedAt": "2024-01-23T18:10:02.574Z"}
"User signs into the Telnyx portal, enters number and is prompted to select whether they want to use 2FA verification for security purposes. If they've opted in a confirmation message is sent out to the handset"
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const verificationRequestStatus = await client.messagingTollfree.verification.requests.retrieve( '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',);console.log(verificationRequestStatus.id);
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
verification_request_status = client.messaging_tollfree.verification.requests.retrieve(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(verification_request_status.id)
{ "businessName": "Telnyx LLC", "corporateWebsite": "http://example.com", "businessAddr1": "600 Congress Avenue", "businessCity": "Austin", "businessState": "Texas", "businessZip": "78701", "businessContactFirstName": "John", "businessContactLastName": "Doe", "businessContactEmail": "[email protected]", "businessContactPhone": "+18889809750", "messageVolume": "100,000", "phoneNumbers": [ { "phoneNumber": "+18773554398" }, { "phoneNumber": "+18773554399" } ], "useCase": "2FA", "useCaseSummary": "This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", "productionMessageContent": "Your Telnyx OTP is XXXX", "optInWorkflow": "User signs into the Telnyx portal, enters number and is prompted to select whether they want to use 2FA verification for security purposes. If they've opted in a confirmation message is sent out to the handset", "optInWorkflowImageURLs": [ { "url": "https://telnyx.com/sign-up" }, { "url": "https://telnyx.com/company/data-privacy" } ], "additionalInformation": "This is for security purposes, blah blah blah", "id": "eaba9f52-164e-58e0-b002-4f668e18b7ed", "verificationStatus": "Waiting For Customer", "businessAddr2": "14th Floor", "isvReseller": "Yes", "webhookUrl": "http://example-webhook.com", "businessRegistrationNumber": "12-3456789", "businessRegistrationType": "EIN", "businessRegistrationCountry": "US", "doingBusinessAs": "Acme Services", "entityType": "PRIVATE_PROFIT", "optInConfirmationResponse": "You have successfully opted in to receive messages from Acme Corp", "helpMessageResponse": "Reply HELP for assistance or STOP to unsubscribe. Contact: [email protected]", "privacyPolicyURL": "https://example.com/privacy", "termsAndConditionURL": "https://example.com/terms", "ageGatedContent": false, "optInKeywords": "START, YES, SUBSCRIBE", "campaignVerifyAuthorizationToken": "cv_token_abc123xyz", "reason": "Unfortunately, we have to cancel this request as we do not support non tollfree US numbers.", "createdAt": "2024-01-23T18:10:02.574Z", "updatedAt": "2024-01-23T18:10:02.574Z"}