---
title: "Lead fields reference: B2C agent"
description: To send a lead to the B2C agent, POST it to https://platform.enrola.com.au/api/v2/leads with at least phone, givenName and one product (name and slug)…
---

[Skip to content](https://help.getenrola.com/enrola-help-centre/sending-leads/lead-fields-b2c-agent#main-content)

English - Australia

Show submenu for translations

![Enrola](https://help.getenrola.com/hs-fs/hubfs/enrola-logo.png?width=180&height=38&name=enrola-logo.png)

Open main navigation

Close main navigation

- English - Australia
  
  Show submenu for translations
- [Contact us](https://7bxqhs.share-ap1.hsforms.com/282EeUu3oRNqC2l1stSeTBw)

[Contact us](https://7bxqhs.share-ap1.hsforms.com/282EeUu3oRNqC2l1stSeTBw)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Enrola Help Centre](https://443312992.hs-sites-ap1.com/enrola-help-centre?hsLang=en-au)
2. [Sending Leads](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads?hsLang=en-au)

# Lead fields reference: B2C agent

**Short answer:** To send a lead to the B2C agent, POST it to `https://platform.enrola.com.au/api/v2/leads` with at least `phone`, `givenName` and one product (`name` and `slug`), plus a `bookingLink`. Every other field is optional. Your onboarding specialist provides your product slugs, and the `campaignTag` is the name of the campaign you're sending to.

**Customers also ask:**

- Which fields are required when sending a lead?
- Can a required field be optional, or can we send a placeholder value?
- Do I need to send the lead's email and last name?
- What does the `agent` field do?
- Can we pass extra information, such as form answers, for the agent to use?

### Which agent are you on?

This article covers the **B2C agent**. The B2C agent starts an SMS conversation with each lead and aims to get them to book a call using the booking link you provide. If you're not sure which agent your account uses, contact **support@getenrola.com**.

This article covers **API v2**, which all new customers use. If you've been with Enrola since before June 2026, your integration may use a legacy payload. You only need the legacy reference if you're troubleshooting an existing connection: see [Legacy API payloads (customers before June 2026)](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads/legacy-api-payloads?hsLang=en-au).

### The basics

- **URL:** `https://platform.enrola.com.au/api/v2/leads` (it must start with `platform.enrola.com.au`; `enrola.com.au` and `getenrola.com` won't work)
- **Method:** POST
- **Header 1:** `Authorization`, using the full **Authorization Header** value (starting with `Basic`) from **Admin \> Integrations \> API Keys** in the Enrola Customer App ([open API Keys](https://platform.enrola.com.au/api-keys)). If your tool has a built-in Basic Auth option, you can enter your Key and Secret there instead.
- **Header 2:** `Content-Type: application/json`
- **Batch size:** 1 to 100 leads per request.
- **Full API documentation:** [platform.enrola.com.au/api-docs](https://platform.enrola.com.au/api-docs)

### Required fields

- `phone`: the lead's mobile number. Accepted formats: AU (`+614...` or `04...`), NZ (`+642...`), UK (`+44...`), IE (`+3538...`), US (`+1...`).
- `givenName`: the lead's first name.
- `products`: at least one product (maximum 3), each with: 
    - `products[].name`: the product or service name. This is what the agent calls it in conversation.
    - `products[].slug`: the identifier for the product in Enrola. Provided by your onboarding specialist; don't create your own. Once set on a lead, it can't be changed.
- `bookingLink`: the URL the lead clicks to book a call (Calendly, HubSpot Meetings, Salesforce Scheduler or any other booking tool). The agent can't work without it.

### Optional fields

- `email` and `familyName`: the lead's email address and last name. Only send these if your setup needs them, for example if the agent needs to confirm the lead's email.
- `products[].purchaseLink`: a link to complete a transaction relevant to the agent's goal. Only include it if it suits your use case; check with your onboarding specialist if you're unsure.
- `ownerGivenName`: first name of the person following up with the lead. The agent uses it when discussing next steps or the booking.
- `ownerFamilyName`: last name of the lead owner.
- `ownerEmail`: email address of the lead owner. Used to route the lead internally.
- `addressState`: the Australian state the lead is in (ACT, NSW, NT, QLD, SA, TAS, VIC or WA). Sets the lead's time zone. Leave it out for non-Australian leads.
- `addressCountry`: AU, IE, NZ, UK or US. Defaults to AU. It must match the phone number format, or the lead is rejected.
- `campaignTag`: the campaign the lead goes to. It's the campaign's name, shown on the campaign in **Agent \> Campaigns** ([open Campaigns](https://platform.enrola.com.au/campaigns)). It's case-sensitive and must match the campaign name exactly. If you leave it out, the lead goes to your Default campaign. See [What is a campaign?](https://443312992.hs-sites-ap1.com/enrola-help-centre/campaigns-and-messaging/what-is-a-campaign?hsLang=en-au)
- `utmSource`: the marketing source for the lead, for example `google_ads`.
- `crmId`: your CRM's ID for the lead. It's returned in the webhook so you can match Enrola activity to the right CRM record.
- `crmOwnerId`: your CRM's ID for the lead owner.
- `metaData`: extra context the agent can use in conversation, such as answers from a form. Field names must be camelCase (for example `serviceType`). Talk to your onboarding specialist before using it: the agent needs to be configured for the fields you send, or they're stored but not used.

### Example payload

The minimum a lead needs. Your automation tool builds this for you when you map your CRM fields.

```
{
  "leads": [
    {
      "phone": "+61412345678",
      "givenName": "Taylor",
      "bookingLink": "https://calendly.com/your-team/30min",
      "products": [
        {
          "name": "Your Service",
          "slug": "your-product-slug"
        }
      ]
    }
  ]
}
```

### New and existing leads

Leads are matched by phone number.

- New phone number: Enrola creates the lead.
- Existing phone number: Enrola updates the lead with the new details. The agent reads a lead's details once, when it first replies, so changes made after the conversation starts don't affect it. See [Duplicate leads and sending a lead again](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads/duplicate-leads-and-re-sending-leads?hsLang=en-au).
- `products[].slug` can't be changed on an existing lead. Contact your onboarding specialist if it needs to change.
- **Changing `campaignTag` on an existing lead permanently deletes the lead and all its data, then recreates it in the new campaign. This can't be undone.**

### What comes back

Enrola returns one result per lead, in the order you sent them:

- `CREATED`: new lead; the agent will start.
- `UPDATED`: existing lead updated.
- `ERROR`: the lead wasn't processed. Check `errorMessage` for the reason.

Each result includes `id`, Enrola's ID for the lead. Store it if you want to look up or delete the lead later.

A successful response doesn't mean every lead succeeded. One failed lead doesn't block the rest of the batch, so always check the status of each item.

### If something goes wrong

- **400 Bad Request:** usually a missing required field, a badly formatted phone number or invalid JSON.
- **403 Forbidden:** your credentials are wrong or missing. Check the Authorization header value.
- **404 Not Found:** the URL is wrong. Check it starts with `platform.enrola.com.au`.

### Good to know

- **Two sets of API keys:** you can create up to two sets of API keys. This lets you rotate keys without downtime (switch your integration to the new key, then delete the old one), or give separate integrations their own key so you can revoke one without breaking the other.
- **The `agent` field:** you may see `agent` in the API documentation. It's reserved for future use and isn't currently used. Ignore it and leave it out of your payload.

### Related articles

- [Lead fields reference: Course Advisor agent](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads/lead-fields-course-advisor-agent?hsLang=en-au)
- [What is a campaign?](https://443312992.hs-sites-ap1.com/enrola-help-centre/campaigns-and-messaging/what-is-a-campaign?hsLang=en-au)
- [Products and productSlugs](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads/products-and-productslugs?hsLang=en-au)
- [Troubleshooting rejected leads](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads/troubleshooting-rejected-leads?hsLang=en-au)
- [Legacy API payloads (customers before June 2026)](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads/legacy-api-payloads?hsLang=en-au)

- [Account and Access](https://443312992.hs-sites-ap1.com/enrola-help-centre/account-and-access?hsLang=en-au)
- [Sending Leads](https://443312992.hs-sites-ap1.com/enrola-help-centre/sending-leads?hsLang=en-au)
- [Testing Leads](https://443312992.hs-sites-ap1.com/enrola-help-centre/testing-leads?hsLang=en-au)
- [Integrations](https://443312992.hs-sites-ap1.com/enrola-help-centre/integrations?hsLang=en-au)
- [Campaigns and Messaging](https://443312992.hs-sites-ap1.com/enrola-help-centre/campaigns-and-messaging?hsLang=en-au)
- [Your AI Agent](https://443312992.hs-sites-ap1.com/enrola-help-centre/your-ai-agent?hsLang=en-au)
- [Leads and Conversations](https://443312992.hs-sites-ap1.com/enrola-help-centre/leads-and-conversations?hsLang=en-au)
- [Reporting and Exports](https://443312992.hs-sites-ap1.com/enrola-help-centre/reporting-and-exports?hsLang=en-au)
- [Opt-outs and Compliance](https://443312992.hs-sites-ap1.com/enrola-help-centre/opt-outs-and-compliance?hsLang=en-au)
- [Security and Privacy](https://443312992.hs-sites-ap1.com/enrola-help-centre/security-and-privacy?hsLang=en-au)

[![Enrola](https://help.getenrola.com/hs-fs/hubfs/enrola-logo.png?width=140&height=30&name=enrola-logo.png "Enrola")](https://help.getenrola.com/?hsLang=en-au)

[mailto:support@getenrola.com](mailto:support@getenrola.com)

Copyright © 2026, Enrola Pty Ltd