Prepare an authenticator app

A new secret for an authenticator app, made by the server - with a session only.

RReadNot idempotentbeta
POST
/v1/access/tfa/totp/prepareon https://api.manitu.de
Try it

Not offered over MCP - only to programs over REST.

One of X-API-Key, Authorization: Bearer … - never more than one in a request. More

No fields - send {} or no body.

secretstringrequired

The secret (base32), to type into the app.

uristringrequired

otpauth:// URI, for a QR code.

setup_tokenstringrequired

For access/tfa/totp/create, with the secret and a code from the app.

expires_atstringrequired
Format date-time
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.