v50

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-06-16122182589.7 KB
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.

created_atstring date-time

Date and time the 2FA Verification was created in ISO 8601 format.

session_idstring

2FA Verification ID.

phone_numberstring

Destination phone number.

destination_countrystring

Country code of the destination phone number in ISO 3166-1 alpha-2 format.

statusstring

Status of the 2FA Verification.

chargestring

Charge for the 2FA Verification.

service_idstring

2FA Service ID.

service_namestring

2FA Service name.

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"
  }
]