List all the verification attempts for a given Account
TODO: Resource-level docs
List all the verification attempts for a given Account.
Query parameters
-
DateCreatedAfter string(date-time)
Datetime filter used to query Verification Attempts created after this datetime. Given as GMT in RFC 2822 format.
-
DateCreatedBefore string(date-time)
Datetime filter used to query Verification Attempts created before this datetime. Given as GMT in RFC 2822 format.
-
ChannelData.To string
Destination of a verification. It is phone number in E.164 format.
-
Country string(iso-country-code)
Filter used to query Verification Attempts sent to the specified destination country.
-
Channel string
Filter used to query Verification Attempts by communication channel. Valid values are
SMS
andCALL
Values are
sms
,call
,email
, orwhatsapp
. -
VerifyServiceSid string
Filter used to query Verification Attempts by verify service. Only attempts of the provided SID will be returned.
-
VerificationSid string
Filter used to return all the Verification Attempts of a single verification. Only attempts of the provided verification SID will be returned.
-
Status string
Filter used to query Verification Attempts by conversion status. Valid values are
UNCONVERTED
, for attempts that were not converted, andCONVERTED
, for attempts that were confirmed.Values are
converted
orunconverted
. -
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
curl \
-X GET https://verify.twilio.com/v2/Attempts \
--user "username:password"
{
"attempts": [
{
"account_sid": "string",
"channel": "sms",
"conversion_status": "converted",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"service_sid": "string",
"sid": "string",
"url": "https://example.com",
"verification_sid": "string"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}
{
"attempts": [
{
"account_sid": "string",
"channel": "sms",
"conversion_status": "converted",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"service_sid": "string",
"sid": "string",
"url": "https://example.com",
"verification_sid": "string"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}