Contact events notify your application whenever a contact is created, updated, or deleted.

Supported Events

EventDescription
contact.createdA new contact was created
contact.updatedContact information changed
contact.deletedContact was removed

Reserved Headers

Every Contact webhook request includes the following headers:
HeaderDescription
x-cocoon-event-typeEvent name (e.g., contact.created)
x-cocoon-event-datetimeUTC timestamp
x-cocoon-contact-uuidContact UUID
x-cocoon-contact-emailEmail address (if available)
x-cocoon-contact-whatsappWhatsApp number (if available)

Example Payload

{
    // Event details
}

Common Use Cases

  • Sync CRM: Instantly update contact records in your external CRM systems.
  • Create Customer Profile: Trigger profile creation in custom portals or billing systems.
  • Update Marketing Lists: Synchronize lists across multi-channel outreach platforms.
  • Trigger Onboarding Workflows: Automatically kick off welcome emails or onboarding sequences.