# User Data Schema

## Fields

- **externalId**: string
  - External identifier for integration purposes. You may use any identifier for this entity (e.g., CRM ID, internal user ID). We will store this and return it in future responses.

- **userId**: uuid
  - Unique identifier (UUID v4 format)

- **dateOfBirth**: date
  - Date of birth in ISO 8601 format

- **type**: string (enum, required)
  - Type of person
    - Allowed values: `Person`, `Organisation`, `Rider`

- **email**: string (required)

- **firstName**: string (length ≤ 100)
  - The first name of the person.

- **lastName**: string
  - The last name(s) of the person.

- **companyName**: string
  - The company name for business entities.

- **address**: object

- **cityOfBirth**: string

- **countryOfBirth**: string

- **telephoneNumber**: string

- **region**: string

- **defaultCurrency**: string

- **x-api-region**: string
  - The API region of your interaction. In most cases, this will match the customer region.

- **x-api-language**: string
  - Where applicable, the language for any textual content we may send to the customer.

# Example of Creating a Record

## Request

```bash
curl --request POST \
     --url https://api.uat.laka.co/v3/accounts \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"type":"Person"}'
```

## Response

### HTTP Status
- `201` - The created record

---

Updated about 1 month ago.
