Skip to main content
POST
Create an account

Body

application/json
email
string<email>
required
Example:

"you@example.com"

password
string
required
Minimum string length: 12
Example:

"CorrectHorse!Battery9Staple"

username
string
Example:

"you"

planId
string

Selected plan id (free, starter, pro, business, enterprise, custom, payg). The account starts active on Free.

Example:

"starter"

Response

201 - application/json

Account created; returns tokens and the account.

{success, message, data} where data holds accessToken, refreshToken and the account.

success
boolean
Example:

true

message
string
Example:

"Login successful"

data
object