SpendRock Docs
Auth

Start an email + password sign-up (ACCT-1)

Emails a verification link (valid 24h, single use). If the email already belongs to an account, that inbox gets a "you already have an account" note instead. The response is the same either way. No authentication needed.

POST
/auth/password/register

Emails a verification link (valid 24h, single use). If the email already belongs to an account, that inbox gets a "you already have an account" note instead. The response is the same either way.

No authentication needed.

Header Parameters

SpendRock-Version?string

The API version (DEV-5), YYYY-MM-DD. Without it: your personal access token's pinned version, or the latest. 400 unknown_version / version_retired.

Match^\d{4}-\d{2}-\d{2}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/auth/password/register" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "password": "stringstri",    "first_name": "string",    "last_name": "string"  }'
{  "message": "Check your email to finish signing up."}