Create a Verify profile
Creates a new Verify profile to associate verifications with.
Request body
Example request
{
"name": "Test Profile",
"language": "en-US",
"webhook_url": "http://example.com/webhook",
"webhook_failover_url": "http://example.com/webhook/failover",
"sms": {
"messaging_template_id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
"app_name": "Example Secure App",
"code_length": 6,
"whitelisted_destinations": [
"US",
"CA"
],
"default_verification_timeout_secs": 300
},
"call": {
"messaging_template_id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
"app_name": "Example Secure App",
"code_length": 6,
"whitelisted_destinations": [
"US",
"CA"
],
"default_verification_timeout_secs": 300
},
"flashcall": {
"whitelisted_destinations": [
"US",
"CA"
],
"app_name": "Example Secure App",
"default_verification_timeout_secs": 300
},
"whatsapp": {
"whitelisted_destinations": [
"US",
"CA"
],
"default_verification_timeout_secs": 300,
"waba_id": "1234567890",
"sender_phone_number": "+13035551234",
"template_id": "authentication_template_name"
},
"daily_spend_limit_enabled": true,
"daily_spend_limit": 100
}Response
Expected Verify profile response to a valid request.
Example response
{
"data": {
"id": "12ade33a-21c0-473b-b055-b3c836e1c292",
"name": "Test Profile",
"webhook_url": "http://example.com/webhook",
"webhook_failover_url": "http://example.com/webhook/failover",
"daily_spend_limit_enabled": true,
"daily_spend_limit": 100,
"record_type": "verification_profile",
"created_at": "2020-09-14T17:03:32.965812",
"updated_at": "2020-09-14T17:03:32.965812",
"language": "en-US",
"sms": {
"messaging_template_id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
"app_name": "Example Secure App",
"code_length": 6,
"whitelisted_destinations": [
"US",
"CA"
],
"default_verification_timeout_secs": 300
},
"call": {
"messaging_template_id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
"app_name": "Example Secure App",
"code_length": 6,
"whitelisted_destinations": [
"US",
"CA"
],
"default_verification_timeout_secs": 300
},
"flashcall": {
"app_name": "Example Secure App",
"default_verification_timeout_secs": 300
},
"whatsapp": {
"messaging_template_id": "0abb5b4f-459f-445a-bfcd-488998b7572d",
"app_name": "Example Secure App",
"code_length": 6,
"whitelisted_destinations": [
"US",
"CA"
],
"default_verification_timeout_secs": 300,
"waba_id": "1234567890",
"sender_phone_number": "+13035551234",
"template_id": "authentication_template_name"
}
}
}Changes
Changed in 2 of the 47 revisions of this API.38
- ●
removed the request property
rcsrequest-property-removed
- ●
removed the optional property
data/rcsfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional request property
daily_spend_limitnew-optional-request-property
- ○
added the new optional request property
daily_spend_limit_enablednew-optional-request-property
- ○
added the optional property
data/daily_spend_limitto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/daily_spend_limit_enabledto the response with the200statusresponse-optional-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the request property
whatsapp/app_namerequest-property-removed
- ○
added the new optional request property
whatsapp/sender_phone_numbernew-optional-request-property
- ○
added the new optional request property
whatsapp/template_idnew-optional-request-property
- ○
added the new optional request property
whatsapp/waba_idnew-optional-request-property
- ○
added the optional property
data/whatsappto the response with the200statusresponse-optional-property-added
- ●