Skip to main content
contact.added fires when a person wrote to your agent for the first time, replied to its message, or added your agent.

Read the payload

The data object is the ContactAddedEvent schema from the API contract. The envelope around it is the same on every event and is described in the event catalog.

Handle the event

From now on the person holds a contact edge to your agent, so your messages reach their inbox. Store contact.id as the stable key; handle and display_name can change.

Next steps