Credentials
Generate TOTP code
Returns the current 6-digit TOTP code for a credential with a configured totp_secret. Use this to complete 2FA setup on sites or when you need a fresh code.
get/credentials/{id_or_name}/totp-code
Path parameters
id_or_namestring required
Credential ID or name
Response
TOTP code generated successfully
Example response
{
"code": "847291",
"expires_at": "2025-01-15T10:30:30Z"
}