MFAController

Get a TOTP device code by device ID

Get Time-Based One-Time Password for a device by its ID.

get/mfa/totp/device/{id}/code

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/mfa/totp/device/{id}/code
  • Auth: API key in header x-api-key

Path parameters

idstring uuid required

ID of the TOTP device to get the code for

Query parameters

atstring date-time

Optional time to get code for. If not provided, current time is used.

minSecondsUntilExpireinteger nullable

Optional minimum time until code expires. Will hold thread open until period reached.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.