VerificationServices
A Verification Service is the set of common configurations used to create and check verifications.
Table-Specific Information
Select
Twilio allows only a small subset of columns to be used in the WHERE clause of a SELECT query. The provider uses the Twilio api to process WHERE clause conditions built with the following columns and operator:
- Sid supports the = operator.
Select
Returns a list of verification services.
SELECT * FROM VerificationServices;
SELECT * FROM VerificationServices WHERE Sid = 'VAc7f330c7bc7bdf9bd104b569529a483d'
Insert
To add an Address, you must specify the following parameters: Name.
INSERT INTO VerificationServices (LookupEnabled, Name, totpTimeStep) VALUES (true, 'testing', 20)
Update
UPDATE VerificationServices SET Name = 'New Name' WHERE Sid = 'VAc7f330c7bc7bdf9bd104b569529a483d'
Delete
DELETE FROM VerificationServices WHERE Sid = 'VAc7f330c7bc7bdf9bd104b569529a483d'
Columns
| Name | Type | ReadOnly | References | Description |
| Sid [KEY] | String | True |
The unique string that we created to identify the Service resource. | |
| AccountSid | String | True |
The Id of the account that created the Service resource. | |
| Name | String | False |
The name that appears in the body of your verification messages. | |
| CodeLength | Integer | False |
The length of the verification code to generate. | |
| LookupEnabled | Boolean | False |
Whether to perform a lookup with each verification started and return info about the phone number. | |
| Psd2Enabled | Boolean | False |
Whether to pass PSD2 transaction parameters when starting a verification. | |
| SkipSmsToLandlines | Boolean | False |
Whether to skip sending SMS verifications to landlines. | |
| DtmfInputRequired | Boolean | False |
Whether to ask the user to press a number before delivering the verify code in a phone call. | |
| DoNotShareWarningEnabled | Boolean | False |
Whether to add a security warning at the end of an SMS verification body. Disabled by default and applies only to SMS. | |
| CustomCodeEnabled | Boolean | False |
Whether to allow sending verifications with a custom code instead of a randomly generated one. | |
| VerifyEventSubscriptionEnabled | Boolean | False |
Whether to allow verifications from the service to reach the stream-events sinks if configured. | |
| TtsName | String | False |
The name of an alternative text-to-speech service to use in phone calls. | |
| Url | String | True |
The absolute URL of the resource. | |
| Links | String | True |
The URLs of related resources. | |
| DateCreated | Datetime | True |
Date and time when the resource was created. | |
| DateUpdated | Datetime | True |
Date and time when the resource was updated. | |
| PushApnCredentialSid | String | False |
Optional configuration for the Push factors. Set the APN Credential for this service. | |
| PushFcmCredentialSid | String | False |
Optional configuration for the Push factors. Set the FCM Credential for this service. | |
| PushIncludeDate | Boolean | False |
Optional configuration for the Push factors. If true, include the date in the Challenge's response. | |
| TotpCodeLength | Integer | False |
Optional configuration for the TOTP factors. Number of digits for generated TOTP codes. | |
| TotpIssuer | String | False |
This will allow to configure the issuer of the TOTP URI. | |
| TotpSkew | Integer | False |
Optional configuration for the TOTP factors. The number of time-steps, past and future, that are valid for validation of TOTP codes. Must be between 0 and 2, inclusive. Defaults to 1. The allowed values are 0, 1, 2. | |
| TotpTimeStep | Integer | False |
Optional configuration for the TOTP factors. Defines how often, in seconds, are TOTP codes generated. | |
| WhatsappFrom | String | False |
The number to use as the WhatsApp Sender that Verify will use to send WhatsApp messages to your users. | |
| WhatsappMsgServiceSid | String | False |
The SID of the Messaging Service containing WhatsApp Sender(s). | |
| PasskeysAuthenticatorAttachment | String | False |
This is the type of authenticator that will be used to create Passkeys. The allowed values are platform, cross-platform, any. | |
| PasskeysDiscoverableCredentials | String | False |
Indicates whether credentials must be discoverable by the authenticator. The allowed values are required, preferred, discouraged. | |
| PasskeysUserVerification | String | False |
This is the type of user verification that will be used to create Passkeys. The allowed values are required, preferred, discouraged. | |
| PasskeysRelyingPartyId | String | False |
The Relying Party ID for Passkeys. This is the domain of your application. | |
| PasskeysRelyingPartyName | String | False |
The Relying Party Name for Passkeys. This is the name of your application. | |
| PasskeysRelyingPartyOrigin | String | False |
The Relying Party Name for Passkeys. This is the origin of your application. | |
| DefaultTemplateSid | String | False |
The default message template. Will be used for all SMS verifications unless explicitly overriden. SMS channel only. |