Events
consumer_created
Introduces a consumer, with name and contact details, ahead of their messages.
A consumer_created event introduces a consumer to you. Impel sends exactly one per dealer and consumer, ahead of the messages it knows about for that consumer, so a message normally belongs to a consumer you've already been told about.
| Field | Type | Present | Description | Example |
|---|---|---|---|---|
event_type | string | Always | Always consumer_created for this event. | consumer_created |
event_timestamp | string (date-time) | Always | One second before the consumer's earliest message in the share, in UTC with second precision. It is not when the consumer record was created in Impel. | 2026-09-14T15:02:10Z |
event_id | string (uuid) | Always | Stable identifier for this event. It never changes across retries or the history file, so use it to deduplicate. | 0dac927e-21ac-57a6-ae5f-450f9e9904d7 |
client_key | string | Always | Impel's identifier for the dealer. | EXAMPLEDEALER |
consumer_key | string | Always | Impel's identifier for the consumer. Unique within a dealer only, so key consumers on client_key plus consumer_key. | CONSUMER-001 |
consumer | object | Always | Name and contact details. Names come from the consumer record; email, phone and address come from the lead behind the consumer's first message, so they reflect that point in time. Any of them can be absent. | |
consumer.first_name | string | When known | First name. | Jane |
consumer.last_name | string | When known | Last name. | Doe |
consumer.email_address | string | When known | Email address. | jane.doe@example.com |
consumer.phone_number | string | When known | Phone number, as captured on the lead. | +15555550123 |
consumer.address_line_1 | string | When known | Street address. | 123 Example St |
consumer.address_line_2 | string | When known | Apartment, suite or unit. | Unit 1 |
consumer.city | string | When known | City. | Anytown |
consumer.state | string | When known | State or province. | IL |
consumer.postal_code | string | When known | Postal or ZIP code. | 12345 |
consumer.country | string | When known | Country. | US |
metadata | object | Always | Identifiers on your side. | |
metadata.source_client_key | string | Always | Your dealer code for this dealer, as registered with Impel during onboarding. | DEALER-001 |
Notes
- The timestamp is derived, not observed.
event_timestampis set to one second before the consumer's earliest message in the share, so it sorts ahead of every message Impel knew about when it created the event. It isn't the time the consumer record was created. A message that reaches Impel late can be older still. - The timestamp can predate the webhook. If the consumer's earliest message is from before the dealer was onboarded, that message reached you only through the history file, or not at all. In that case
event_timestampis older than anything the webhook sends you for that consumer. - Contact details are a snapshot. Email, phone and address come from the lead behind the consumer's first message, and that lead can be months old. They're never updated, because there's no update event. Use the contacts on each
messagefor current details. - Every field in
consumeris optional. If Impel has no value, the key is usually left out, and the object can be empty. Email, phone and address can also arrive as an empty string; treat that as missing. - Identify consumers by dealer.
consumer_keyis unique within a dealer only, so key your consumer records onclient_keyplusconsumer_key. Don't usemetadata.source_client_keyin place ofclient_key. It's your code for the dealer, and Impel doesn't guarantee that two dealers never share one.