Skip to main content
WEBHOOK
AhaSend sends this event when a contact is created, through the API or the dashboard. data.contact is the contact as it was created. A contact that is created with unsubscribed: true sends only this event. A contact created through the API or the dashboard has no sending domain, so only webhooks for all your domains get this event. No event: Contacts that a CSV import creates. Setting: on_contact_created (Contact Created in the dashboard). Requirements:
  • Your account has the marketing features. Contact events cannot be turned on without them.
  • A webhook with this event on needs an API key with contacts:read when you create or update it through the API. See contact events.
When it’s sent: When a contact is created.

Body

application/json
type
enum<string>
required

The event type

Available options:
contact.created
webhook_id
string<uuid>
required

The webhook ID (the same ID as returned by the Create Webhook API)

timestamp
string<date-time>
required

When the change happened (ISO 8601 format)

data
object
required

Response

Webhook received successfully