Skip to content

Sign up as a buyer, for a workspace of your own you pay for: pending until you verify your email, sign in and pay. The same answer whether or not the email is in use

POST
/v1/auth/sign-up/workspace
curl --request POST \
--url https://example.com/v1/auth/sign-up/workspace \
--header 'Content-Type: application/json' \
--data '{ "email": "example", "name": "example", "password": "example", "time_zone": "example", "workspace": { "name": "example", "slug": "example" } }'

Who: anyone.

Idempotency-Key
string
<= 64 characters

Made once per action and sent again on every retry of it, so the service acts once: the request_id of the create or money-moving call; a new one when left out

Media typeapplication/json
object
email
required
string
name
required
string
password
required
string
time_zone
required
string
workspace
required
object
name
required
string
slug
required
string

Example generated

{
"email": "example",
"name": "example",
"password": "example",
"time_zone": "example",
"workspace": {
"name": "example",
"slug": "example"
}
}

Done; no body

An error, as go-commons apperr maps it

Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string

Example generated

{
"error": {
"code": "example",
"fields": {
"additionalProperty": "example"
},
"message": "example"
}
}