Tester les Webhooks en Live !
Notifications temps réel • Sécurisé par API Key • Trigger manuel disponible ⚡
🚀 Ouvrir PlaygroundWebhooks API
Recevez des notifications automatiques lorsque des événements se produisent.
Ex: contact_created, contact_deleted
1. Authentification
curl -H "Authorization: Bearer YOUR_API_KEY"
"https://dpasswords.ca/api/dev/webhooks/list"
🔐 Toutes les routes nécessitent une API Key valide.
L'organisation est automatiquement détectée via middleware.
L'organisation est automatiquement détectée via middleware.
2. Lister les Webhooks
GET /api/dev/webhooks/list
{
"count": 2,
"items": [
{
"id": 1,
"url": "https://example.com/webhook",
"eventType": "contact_created",
"isActive": true
}
]
}
3. Créer un Webhook
POST /api/dev/webhooks/add
{
"url": "https://example.com/webhook",
"eventType": "contact_created",
"isActive": true
}
⚠️ Le champ url est obligatoire.
4. Détails d'un Webhook
GET /api/dev/webhooks/{id}
{
"id": 1,
"url": "https://example.com/webhook",
"eventType": "contact_created",
"isActive": true,
"createdAt": "2026-02-16T14:30:00Z"
}
5. Modifier un Webhook
PUT /api/dev/webhooks/edit/{id}
{
"url": "https://new-url.com/webhook",
"eventType": "contact_deleted",
"isActive": false
}
6. Supprimer un Webhook
DELETE /api/dev/webhooks/delete/{id}
{ "success": true }
7. Trigger Manuel (Test)
POST /api/dev/webhooks/trigger/{id}
Permet d'envoyer un payload personnalisé vers l'URL du webhook.
{
"test": true,
"message": "Webhook test from Dpasswords"
}
⚡ Utile pour tester votre endpoint sans attendre un vrai événement.