2FA
List 2FA verifications
Returns the 2FA verifications for the service identified by service_id, within the requested date range.
get/v1/two-fa/service/{service_id}/sessions
Path parameters
service_idstring required
Example:7204a030201211ee9fb47d093f2f127c
The unique ID of the 2FA service.
Query parameters
fromstring date required
Example:2022-01-01
Start of the date range to query, in YYYY-MM-DD format. Inclusive.
tostring date required
Example:2022-01-31
End of the date range to query, in YYYY-MM-DD format. Inclusive.
Response
Returns the list of 2FA verifications.
Example response
[
{
"created_at": "2022-02-16T13:41:38.000Z",
"session_id": "2953d4308f2e11ecb75fcdafd6d2d687",
"phone_number": "447919433768",
"destination_country": "GB",
"status": "verified",
"charge": "0.01",
"service_id": "7204a030201211ee9fb47d093f2f127c",
"service_name": "Wavix 2FA Service"
},
{
"created_at": "2022-02-16T13:41:38.000Z",
"session_id": "8753d4308f2e11ecb75fcdafd6d2d690",
"phone_number": "447919433768",
"destination_country": "GB",
"status": "pending",
"charge": "0.01",
"service_id": "7204a030201211ee9fb47d093f2f127c",
"service_name": "Wavix 2FA Service"
}
]