Developer Portal
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.

FieldTypePresentDescriptionExample
event_typestringAlwaysAlways consumer_created for this event.consumer_created
event_timestampstring (date-time)AlwaysOne 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_idstring (uuid)AlwaysStable identifier for this event. It never changes across retries or the history file, so use it to deduplicate.0dac927e-21ac-57a6-ae5f-450f9e9904d7
client_keystringAlwaysImpel's identifier for the dealer.EXAMPLEDEALER
consumer_keystringAlwaysImpel's identifier for the consumer. Unique within a dealer only, so key consumers on client_key plus consumer_key.CONSUMER-001
consumerobjectAlwaysName 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_namestringWhen knownFirst name.Jane
consumer.last_namestringWhen knownLast name.Doe
consumer.email_addressstringWhen knownEmail address.jane.doe@example.com
consumer.phone_numberstringWhen knownPhone number, as captured on the lead.+15555550123
consumer.address_line_1stringWhen knownStreet address.123 Example St
consumer.address_line_2stringWhen knownApartment, suite or unit.Unit 1
consumer.citystringWhen knownCity.Anytown
consumer.statestringWhen knownState or province.IL
consumer.postal_codestringWhen knownPostal or ZIP code.12345
consumer.countrystringWhen knownCountry.US
metadataobjectAlwaysIdentifiers on your side.
metadata.source_client_keystringAlwaysYour dealer code for this dealer, as registered with Impel during onboarding.DEALER-001

Notes

  • The timestamp is derived, not observed. event_timestamp is 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_timestamp is 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 message for current details.
  • Every field in consumer is 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_key is unique within a dealer only, so key your consumer records on client_key plus consumer_key. Don't use metadata.source_client_key in place of client_key. It's your code for the dealer, and Impel doesn't guarantee that two dealers never share one.