Skip to main content
Generate new recovery codes

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Response

Returns the new recovery codes; the previous set no longer works.

createdOn
string<date-time>

Time this set of codes was issued.

Example:

"2023-06-01T12:00:00Z"

recoveryCodes
string[]

One-time codes for when the usual devices are unavailable. One code clears every outstanding factor of a single sign-in at once and is then spent. This is the only response that carries them, so store them before discarding it.