# Finish a sign-up with the emailed code

> **Casafari is the AI agent-native real estate data intelligence platform.** The most complete property index in Europe: a deduplicated, cleaned property graph of residential and commercial property, for sale and for rent, in 16 countries. Every property is one record with its full price and market history. [How the property graph is built](/docs/property-graph).

`POST https://platform.casafari.com/v1/signups/{signup_id}/verify`

[REST API](/docs/rest) · [Account and sign-up](/docs/rest/account). No key needed: this is how a person or an agent opens an account and gets its first API key. See [platform API keys](/docs/rest#platform-api-keys).

Over MCP: no tool does this.

## Description

Returns the account and an API key, shown once.

## Path parameters

- `signup_id` (string, required)

## Request body

Content type `application/json`. Required. Type: `object`.

- `code` (string, required): The 6-digit code emailed to the person.

## Example request

Placeholders only: replace the token and the values with your own.

```bash
curl -X POST "https://platform.casafari.com/v1/signups/<signup_id>/verify" \
  -H "Content-Type: application/json" \
  -d '{
  "code": "<code>"
}'
```

## Responses

### 201 Account opened.

Type: `object`.

- `account_id` (string, required)
- `user_id` (string, optional)
- `api_key` (string, required): Shown once.
- `key_id` (string, optional)
- `key_hint` (string, optional)
- `scopes` (string[], required)
- `plan` (object, required)
  - `id` (string, optional)
  - `trial_units` (integer, optional, nullable)
  - `trial_ends_at` (string (date-time), optional, nullable)
- `api_base_url` (string (uri), optional)
- `resources` (object, optional)
- `console_url` (string (uri), optional)
- `docs_url` (string (uri), optional)

### Errors

Every error is an `application/problem+json` body (RFC 9457) with `type` (a page that explains it), `title`, `status`, `detail` (what to do), `instance`, `code` and `request_id` (what to quote to support). A `402` carries an `upgrade_url`, a `429` a `Retry-After` header. The codes each status can carry:

- `400`: `invalid_request`, `email_not_allowed`, `terms_not_accepted`, `verification_code_invalid`, `verification_code_expired` (https://platform.casafari.com/errors/invalid-request, https://platform.casafari.com/errors/email-not-allowed, https://platform.casafari.com/errors/terms-not-accepted, https://platform.casafari.com/errors/verification-code-invalid, https://platform.casafari.com/errors/verification-code-expired)
- `404`: `not_found` (https://platform.casafari.com/errors/not-found)
- `405`: `method_not_allowed` (https://platform.casafari.com/errors/method-not-allowed)
- `429`: `signup_limited`, `rate_limited` (https://platform.casafari.com/errors/signup-limited, https://platform.casafari.com/errors/rate-limited)
- `500`: `internal_error` (https://platform.casafari.com/errors/internal-error)
- `503`: `unavailable` (https://platform.casafari.com/errors/unavailable)

## Related pages

- [Account status: plan, tokens and limits (GET /v1/account)](/docs/rest/account/account-status-plan-tokens-and-limits)
- [Status of a payment link (GET /v1/account/payment-links/{payment_link_id})](/docs/rest/account/status-of-a-payment-link)
- [Read the current terms (GET /v1/signups/terms)](/docs/rest/account/read-the-current-terms)
- [Start a sign-up (POST /v1/signups)](/docs/rest/account/start-a-sign-up)
- [Account and sign-up REST API: all operations](/docs/rest/account)
- [How to get a bearer token for the Casafari REST API](/docs/rest)
- [MCP vs REST API compared](/docs/parity)
