Consumer password signup
POST /api/v1/consumer-auth/password/signup
Public builder-facing signup. Creates an unverified account, emails a verification link, and returns a bearer token. Password must be at least 12 characters long. /api/v1/* relay stays gated until email is verified. Optional app_id attributes trial credit on verify.
This operation needs no authentication.
Request body
application/json object
app_idstringLength: at most 64 charactersemailstring (email) requirednamestringpasswordstring (password) requiredLength: at least 12 characters
Generated sample
{
"app_id": "string",
"email": "user@example.com",
"name": "string",
"password": "string"
}Responses
201 Account created; verification email sent
application/json object
api_keystring or nullemail_verifiedbooleanmessagestringtokenstringuserConsumerUserResource
Generated sample
{
"api_key": "string",
"email_verified": true,
"message": "string",
"token": "string",
"user": {
"anonymous_balance_used": true,
"balance_cents": 0,
"balance_dollars": 0,
"created_at": "2026-01-01T00:00:00Z",
"email": "user@example.com",
"email_verified": true,
"id": 0,
"is_low_balance": true,
"name": "string",
"organisation_id": 0,
"balance_micros": 0
}
}403 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
409 email_taken
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 Validation error
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string
503 consumer_auth_disabled
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.