# Marketing

Marketing endpoints expose data captured for marketing automation flows.
Today the API surfaces marketing consents collected through Understory checkouts —
use them to feed external mailing platforms, build segmented audiences, and reconcile opt-ins.

 - [GET /v1/marketing-consents](https://developer.understory.io/apis/marketing/getmarketingconsents.md): Get all marketing consents collected through Understory checkouts.
 - [GET /v1/marketing-consents/{consentId}](https://developer.understory.io/apis/marketing/getmarketingconsentbyid.md): Get a single marketing consent by its unique identifier.
 - [POST v1.marketing_consent.created](https://developer.understory.io/apis/marketing/marketingconsentcreated.md): 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 us
