Auth

Create an account with its first workspace

Answers 410 with code passwords_disabled once sign-in by email code is turned on.

post/api/v1/auth/register

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/auth/register
  • Auth: none declared

Headers

User-Agentstring

Request body

emailstring email required
localestring

BCP 47 tag such as en or pt-BR, defaults to en

namestring

Optional, asked on the welcome screen when empty

passwordstring required
workspace_namestring

Optional, defaults to My workspace

Response

Created

access_tokenstring required
expires_atstring date-time required
needs_profileboolean required

True until the name and workspace steps of the welcome screen are done

token_type'Bearer' required

Changes

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