> For the complete documentation index, see [llms.txt](https://docs.spara.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spara.com/developers/data-model/data-model/account.md).

# Account

The fields on the Spara Account object and how to reference them on a lead with the lead\_account\_ prefix.

An **Account** is a company — analogous to a Salesforce **Account** or a HubSpot **Company**. It holds firmographic data plus any custom account fields you define. For how Accounts relate to Leads, Owners, and Deals, see [Spara Objects & Fields](https://docs.spara.com/developers/data-model/data-model.md).

Accounts are populated by your [CRM integration](https://docs.spara.com/integrations/crm-integrations) or through the Leads API. Account fields are not gathered by agents, and custom account fields must exist in your Data Model before the API will accept them.

## Account Fields

When a Lead is linked to an Account, the Account's fields are available on the lead with the `lead_account_` prefix — use these API names in personalization templates, workflow conditions, and API responses.

| Field                  | API name                      | Type      | Description                              |
| ---------------------- | ----------------------------- | --------- | ---------------------------------------- |
| Account company name   | `lead_account_company_name`   | `String`  | Company name on the lead's CRM account   |
| Account website        | `lead_account_website`        | `String`  | Website on the lead's CRM account        |
| Account industry       | `lead_account_industry`       | `String`  | Industry on the lead's CRM account       |
| Account employee count | `lead_account_employee_count` | `Integer` | Employee count on the lead's CRM account |
| Account annual revenue | `lead_account_annual_revenue` | `Integer` | Annual revenue on the lead's CRM account |
| Account billing city   | `lead_account_billing_city`   | `String`  | Billing city on the lead's CRM account   |
| Account CRM id         | `lead_account_crm_id`         | `String`  | CRM record id of the lead's account      |

The lead also carries its own lightweight company fields (`company_name`, `num_employees`), captured directly on the Lead by agents or enrichment — see [Lead](https://docs.spara.com/developers/data-model/data-model/lead.md). The `lead_account_` fields always reflect the linked Account record, while the lead-level fields reflect what was captured about the person.

## Related

* The Account's owner is available on the lead with the `lead_account_owner_` prefix — see [Owner](https://docs.spara.com/developers/data-model/data-model/owner.md).
* Accounts appear in the app on the [Accounts](https://docs.spara.com/platform/accounts) page.


---

# 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.spara.com/developers/data-model/data-model/account.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.
