List all the verification attempts for a given Account.
Query parameters
-
Datetime filter used to consider only Verification Attempts created after this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
-
Datetime filter used to consider only Verification Attempts created before this datetime on the summary aggregation. Given as GMT in ISO 8601 formatted datetime string: yyyy-MM-dd'T'HH:mm:ss'Z.
-
Destination of a verification. It is phone number in E.164 format.
-
Filter used to query Verification Attempts sent to the specified destination country.
-
Filter used to query Verification Attempts by communication channel.
Values are
sms,call,email,whatsapp, orrbm. -
Filter used to query Verification Attempts by verify service. Only attempts of the provided SID will be returned.
Minimum length is
34, maximum length is34. Format should match the following pattern:^VA[0-9a-fA-F]{32}$. -
Filter used to return all the Verification Attempts of a single verification. Only attempts of the provided verification SID will be returned.
Minimum length is
34, maximum length is34. Format should match the following pattern:^VE[0-9a-fA-F]{32}$. -
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
convertedorunconverted. -
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. -
The page index. This value is simply for client state.
Minimum value is
0. -
The page token. This is provided by the API.
curl \
--request GET 'https://verify.twilio.com/v2/Attempts' \
--user "username:password"
{
"meta": {
"key": "attempts",
"url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
"previous_page_url": null
},
"attempts": []
}
{
"meta": {
"key": "attempts",
"url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://verify.twilio.com/v2/Attempts?PageSize=50&Page=0",
"previous_page_url": null
},
"attempts": [
{
"sid": "VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://verify.twilio.com/v2/Attempts/VLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"price": {
"value": "0.005",
"currency": "usd"
},
"channel": "sms",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channel_data": {
"to": "+573003003030",
"mcc": "732",
"mnc": "103",
"locale": "es",
"status": "unconfirmed",
"carrier": "Colombia Movil (Tigo)",
"country": "CO",
"error_code": "30008",
"code_length": 6,
"message_status": "undelivered",
"verification_sid": "VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"date_created": "2020-08-11T18:36:59Z",
"date_updated": "2020-08-11T18:37:00Z",
"verification_sid": "VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"conversion_status": "unconverted"
}
]
}