A2P 10DLC - Brand 2FA Verification Resource
Warning
This API reference supplements the A2P 10DLC brand registration guide. Review that guide before you use this API.
The 2FA Verification resource provides the ability to retrigger a 2FA email for Authentication+ association with the BrandRegistration resource.
The 2FA Verification resource is a subresource of the BrandRegistration resource.
All URLs referenced in the API documentation have the following base:
https://messaging.twilio.com/v1/a2p/BrandRegistrations
Resource URL: https://messaging.twilio.com/v1/a2p/BrandRegistrations/{BrandSid}/2fa
To initiate a 2FA Verification for the Brand, make a POST
request to this resource.
See the following code sample for a complete curl request.
1curl --location --request POST 'https://messaging.twilio.com/v1/a2p/BrandRegistrations/BNXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/2fa' \2-u "Account_SID:Auth_Token" \3--header 'Content-Type: application/json' \
Warning
Don't create a UsAppToPerson resource until the Brandregistration resource's vetting_status
is FAILED
.
You can check the vetting_status
through fetching the BrandVetting resource.
Once the BrandVetting status is FAILED
and the 2FA Verification is initiated, a new email will be sent and this will incur a new Authentication+ fee.