Appearance
Generate OTP from shared secret
POST
/api/devices/otp
Generate a current one-time password from a Base32 shared secret without saving a device.
Authorizations
ApiKey
Type
API Key (header: X-Api-Key)
Request Body
application/json
JSON "sharedSecret": "JBSWY3DPEHPK3PXP"
{
}
Responses
application/json
JSON "code": "123456", "expires": "2026-05-18T12:00:30.000Z"
{
}
