```yaml
product: AlterLab
title: Account API Reference
category: api
comparison_context: "AlterLab is an alternative to Firecrawl, ScrapingBee, and Bright Data."
source_url: https://alterlab.io/docs/api/generated/account
```

# Account API Reference

Auto-generated API reference for account endpoints, built from the OpenAPI spec.

## DELETE /api/v1/account/limits

Delete Account Limits
Remove account-level spend limits.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `X-Organization-Id` | header | `string` | no |  |

## GET /api/v1/account/limits

Get Account Limits
Get account-level spend limit configuration and status.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `X-Organization-Id` | header | `string` | no |  |

## PUT /api/v1/account/limits

Set Account Limits
Set or update account-level spend limits.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `X-Organization-Id` | header | `string` | no |  |
| `budget_limit_microcents` | body | `integer` | no |  |
| `request_limit` | body | `integer` | no |  |
| `reset_period` | body | `"daily" \| "weekly" \| "monthly"` | no | How often the counters reset. |
| `enabled` | body | `boolean` | no | Whether this limit is active. |
| `approval_above_usd` | body | `number` | no |  |

## GET /api/v1/account/passkeys

List my passkeys
Lists the signed-in user's registered passkeys. Needs a dashboard session and the passkey feature enabled.

Authentication: `Authorization: Bearer <session token>`

## POST /api/v1/account/passkeys/email-code

Enrolment step-up code
Sends an email confirmation code to the signed-in user, used as a step-up when the original sign-in is older than 12 hours. Needs a dashboard session; the response gives the code's lifetime in seconds.

Authentication: `Authorization: Bearer <session token>`

## POST /api/v1/account/passkeys/register/options

WebAuthn creation options
Issues WebAuthn credential creation options for enrolling a new passkey on the signed-in account. Needs a dashboard session and the passkey feature enabled.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `device_label` | body | `string` | no |  |

## POST /api/v1/account/passkeys/register/verify

Store a verified passkey
Verifies a WebAuthn attestation and stores the new passkey for the signed-in account, returning it with 201. Needs a dashboard session; if the sign-in is older than 12 hours an email code is required, otherwise 401 step_up_required is returned.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `attestation` | body | `object` | yes | Attestation |
| `device_label` | body | `string` | no |  |
| `email_code` | body | `string` | no |  |

## DELETE /api/v1/account/passkeys/{passkey_id}

Revoke a passkey
Revokes one of the signed-in user's passkeys; the record is kept for audit and email-code confirmation remains available. Needs a dashboard session; returns 404 when the passkey is missing, already revoked or not owned.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `passkey_id` | path | `string` | yes |  |

## PATCH /api/v1/account/passkeys/{passkey_id}

Rename a passkey
Changes the device label of one of the signed-in user's passkeys. Needs a dashboard session; returns 404 when the passkey does not exist, is revoked, or is not owned by the caller.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `passkey_id` | path | `string` | yes |  |
| `device_label` | body | `string` | yes | Device Label |
