Register a new account
POST
/api/v1/auth/register
const url = 'https://api.deploybase.eu/api/v1/api/v1/auth/register';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"confirm_password":"example","email":"example","first_name":"example","last_name":"example","password":"example","pow_solution":"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://api.deploybase.eu/api/v1/api/v1/auth/register \ --header 'Content-Type: application/json' \ --data '{ "confirm_password": "example", "email": "example", "first_name": "example", "last_name": "example", "password": "example", "pow_solution": "example" }'Creates a Zitadel organization and its owner user, then Zitadel emails a verification link. No authentication required.
Request Body
Section titled “ Request Body ”Registration details
Media type application/json
object
confirm_password
string
email
string
first_name
string
last_name
string
password
string
pow_solution
PoWSolution is the base64 proof-of-work payload from the form’s hidden field (DEP-298). Named for what it is rather than for the vendor that produces it: the API contract should outlive the library, and DEP-335 exists because that library’s protocol is already on its second major.
Empty is a valid body. The service classifies an absent solution; the handler does not pre-judge it, and neither does the SvelteKit proxy.
string
Example generated
{ "confirm_password": "example", "email": "example", "first_name": "example", "last_name": "example", "password": "example", "pow_solution": "example"}Responses
Section titled “ Responses ”Created
Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
email
string
Example generated
{ "data": { "email": "example" }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Validation failed, refused by the abuse gate, missing or expired proof of work, or the email is already registered
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Registration is temporarily unavailable
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Signups are temporarily closed
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}