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
const url = 'https://example.com/v1/auth/sign-up/workspace';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example","name":"example","password":"example","time_zone":"example","workspace":{"name":"example","slug":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Idempotency-Key
string
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
Request Bodyrequired
Section titled “Request Bodyrequired”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" }}Responses
Section titled “Responses”Done; no body
default
Section titled “default”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" }}