v50

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-06-16122182589.7 KB
2FA

List 2FA verification events

Returns the lifecycle events of the 2FA verification identified by session_id, such as number lookup and code delivery.

get/v1/two-fa/session/{session_id}/events

Path parameters

session_idstring required
Example:8753d4308f2e11ecb75fcdafd6d2d690

The unique ID of the 2FA verification session.

Response

Returns the list of 2FA verification events.

created_atstring date-time required

Date and time of the event

eventstring required

Human-readable event description. One of the following values:

  • Number lookup — the Wavix platform checked whether the destination phone number is valid. Returned only when number validation is enabled for the 2FA Service.
  • Code sent via SMS — a code was sent via SMS.
  • Code sent via voice — a code was sent via a voice call.
  • Verification — a code verification attempt.
statusstring required

Status of an action associated with the event. Can be either success, failed, or pending.

chargestring required

Cost of an operation associated with the event, in USD

errorstring nullable required

Error description, if any

Example response

[
  {
    "created_at": "2022-02-16T13:41:38.000Z",
    "event": "Number lookup",
    "status": "success",
    "charge": "0.005",
    "error": null
  },
  {
    "created_at": "2022-02-16T13:41:38.000Z",
    "event": "Code sent via SMS",
    "status": "success",
    "charge": "0.005",
    "error": null
  }
]