Aller au contenu principal

Integration Zapier

Connecter Digisimma Pages a Zapier en attendant l’app officielle. Webhooks generiques + API REST.

Sommaire

Étape 1 : générer une clé API

Dans le studio admin, aller sur /admin/agencies/[id] et générer une clé API avec scope read ou write (plan Agency).

Étape 2 : créer un Zap declenche par webhook

Dans Zapier, ajouter un trigger Webhooks by Zapier - Catch Hook. Copier l’URL fournie.

Créez le webhook Digisimma via l’API :

curl -X POST https://page.digisimma.com/api/v1/webhooks \
  -H "Authorization: Bearer dgp_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Zapier Lead Captured",
    "url": "https://hooks.zapier.com/hooks/catch/.../...",
    "events": ["lead.captured"]
  }'

Étape 3 : actions Zapier vers Digisimma

Pour créer ou modifier une page depuis Zapier, utiliser Webhooks by Zapier - POST :

POST https://page.digisimma.com/api/v1/pages
Headers:
  Authorization: Bearer dgp_...
  Content-Type: application/json
Body:
  {"slug":"client-name","client_name":"Client","blocks":[]}

Events disponibles

  • page.created, page.updated, page.published
  • page.unpublished, page.deleted
  • lead.captured, vcard.saved
  • wallet.installed, form.submitted