Skip to main content
WEBHOOK
AhaSend sends this event when a membership’s subscription status becomes confirmed, or when the contact’s unsubscribe from all lists is cleared (unsubscribed changes to false). For a membership, data.previous_subscription_status is the status before the change. For the unsubscribe from all lists, data.list and data.list_contact are null. No event: A new membership, which sends contact.added_to_list. Setting: on_contact_subscribed (Contact Subscribed 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 and lists:read when you create or update it through the API. See contact events.
When it’s sent: When a contact’s membership of a list becomes confirmed, or when its unsubscribe from all lists is cleared.

Body

application/json
type
enum<string>
required

The event type

Available options:
contact.subscribed
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