site-mva-global-fret/cloudflare-worker
MVA Global Fret 2b148a8682 Worker: use Forms API for contact creation (no scope required)
Direct CRM API needed crm.objects.contacts.write scope which the
existing Personal Access Key doesn't have. Using HubSpot Forms API
instead — same endpoint the browser used to call directly, but now
called server-side from the Worker after email verification.

This means HubSpot contact creation works without granting any
additional scopes to the token: anyone can submit a public form.

Also updates the welcome email warning to tell the customer to copy
the address EXACTLY as shown (the reference is now baked into line 1
of the address) and not to modify anything.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 15:54:58 +02:00
..
DEPLOIEMENT.md Worker: cron post-confirmation pour envoyer le welcome email après opt-in 2026-05-05 23:24:26 +02:00
hubspot-proxy.js Worker: use Forms API for contact creation (no scope required) 2026-05-06 15:54:58 +02:00