Authentication

Create account and get API key

Creates an account with a default project and returns a live API key instantly. No browser or signup form needed. The password is optional: omit it for a passwordless (agent) account — the owner can set a password later via the reset flow to enable dashboard login.

post/v1/auth/register

Request

  • Base URL: https://api.pixelvault.dev
  • URL: https://api.pixelvault.dev/v1/auth/register
  • Auth: none declared

Request body

emailstring email required
passwordstring

Optional. Omit for a passwordless account; provide (min 8 chars) to enable password login immediately.

Example request

{
  "email": "dev@example.com",
  "password": "your-secure-password"
}

Response

Account created

Example response

{
  "data": {
    "account_id": "acct_abc123",
    "email": "dev@example.com",
    "plan": "free",
    "default_project": {
      "id": "proj_xyz789",
      "name": "Default",
      "api_keys": {
        "live": "pv_live_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.