> For the complete documentation index, see [llms.txt](https://docs.chord.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chord.co/reference/apis/user-created.md).

# User Created

## User Created

This event is triggered when a customer creates a user account.

## Properties

| **Name**               | **Type**   | **Description**                               | **Required** |
| ---------------------- | ---------- | --------------------------------------------- | ------------ |
| `user_id`              | `string`   | Unique ID of the user                         | Yes          |
| `email`                | `string`   | Email of the user                             | Yes          |
| `roles`                | `string[]` | List of roles assigned to the user            | No           |
| `ship_address`         | `object`   | Shipping address of the user                  | No           |
| `bill_address`         | `object`   | Billing address of the user                   | No           |
| `store_credit_balance` | `number`   | Balance of store credit available to the user | No           |

### Ship address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              | `string` | Customer name                                            | No           |
| `state_name`        | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

### Bill address

| **Name**            | **Type** | **Description**                                          | **Required** |
| ------------------- | -------- | -------------------------------------------------------- | ------------ |
| `address1`          | `string` | The street address of the customer                       | No           |
| `address2`          | `string` | Additional street address of the customer (if necessary) | No           |
| `alternative_phone` | `string` | Customer's alternative phone number                      | No           |
| `phone`             | `string` | Customer's phone number                                  | No           |
| `city`              | `string` | City of the shipping address                             | No           |
| `company`           | `string` | Name of the company, if applicable                       | No           |
| `country`           | `string` | ISO country code for the shipping address                | No           |
| `name`              | `string` | Customer name                                            | No           |
| `state_name`        | `string` | ISO state code for the shipping address                  | No           |
| `zipcode`           | `string` | Zip or postal code for the shipping address              | No           |

## Sample payload

```json
{
  "type": "track",
  "event": "User Created",
  "properties": {
    "user_id": "U1234",
    "email": "test@example.com",
    "roles": [],
    "store_credit_balance": 0.00,
    "ship_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    },
    "bill_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    }
  }
}
```

## Example

```bash
curl https://production.cdp.ingest.chord.co/api/track \
--header "Content-Type: application/json" \
--header "X-Write-Key: $CDP_WRITE_KEY" \
--data-raw '{
{
  "type": "track",
  "event": "User Created",
  "properties": {
    "user_id": "U1234",
    "email": "test@example.com",
    "roles": [],
    "store_credit_balance": 0.00,
    "ship_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    },
    "bill_address": {
        "name": "John Doe",
        "address1": "123 Fake St",
        "address2": null,
        "city": "Oak Lawn",
        "zipcode": "60532",
        "phone": "1234567890",
        "state_name": "IL",
        "company": null
    }
  }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chord.co/reference/apis/user-created.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
