# Marketing consent created

Sent when a new marketing consent is submitted.

This webhook is triggered every time a consent is submitted, even if the
email already exists. This allows external marketing systems to resubscribe
users who may have been unsubscribed externally.

Endpoint: POST v1.marketing_consent.created

## Header parameters:

  - `webhook-id` (string, required)
    Unique identifier for this webhook message.
This ID is the same when a webhook is retried due to a previous failure.
Use this for deduplication.

  - `webhook-timestamp` (string, required)
    Timestamp of when the webhook was sent, in seconds since epoch.
Compare against your system time to prevent replay attacks.

  - `webhook-signature` (string, required)
    Base64-encoded HMAC-SHA256 signature for verifying the webhook authenticity.
The signature is computed over: {webhook-id}.{webhook-timestamp}.{body}.

## Request fields (application/json):

  - `id` (string, required)
    Unique identifier for the event.

  - `type` (string, required)
    The event type.

  - `timestamp` (string, required)
    Timestamp of when the event occurred.

  - `payload` (object, required)
    The event-specific payload data.

  - `payload.company_id` (string, required)
    The unique identifier of the company that received the consent.

  - `payload.consent_id` (string, required)
    The unique identifier of the consent. Use this to fetch full consent details from the Marketing API.


## Response 200 fields
