Skip to main content
GET
/
v1
/
two-fa
/
service
/
{service_id}
/
sessions
List 2FA Verifications
curl --request GET \
  --url https://api.wavix.com/v1/two-fa/service/{service_id}/sessions \
  --header 'Authorization: Bearer <token>'
[
  {
    "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"
  }
]

Authorizations

Authorization
string
header
required

Bearer token using appid (Authorization: Bearer )

Path Parameters

service_id
string
required

2FA Service ID.

Example:

"7204a030201211ee9fb47d093f2f127c"

Query Parameters

from
string<date>
required

Start date in YYYY-MM-DD format.

Example:

"2022-01-01"

to
string<date>
required

End date in YYYY-MM-DD format.

Example:

"2022-01-31"

Response

List of 2FA verifications.

created_at
string<date-time>

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

Example:

"2022-02-16T13:41:38.000Z"

session_id
string

2FA Verification ID.

Example:

"2953d4308f2e11ecb75fcdafd6d2d687"

phone_number
string

Destination phone number.

Example:

"447919433768"

destination_country
string

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

Example:

"GB"

status
string

Status of the 2FA Verification.

Example:

"verified"

charge
string

Charge for the 2FA Verification.

Example:

"0.01"

service_id
string

2FA Service ID.

Example:

"7204a030201211ee9fb47d093f2f127c"

service_name
string

2FA Service name.

Example:

"Wavix 2FA Service"

Example:
[
  {
    "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"
  }
]