Aller au contenu

Événement test (webhook sortant)

POST
Fenêtre de terminal
curl -X POST "https://api.insourcia.io/v1" \
-H "Authorization: Bearer isk_VOTRE_CLE" \
-H "Content-Type: application/json" \
-d '{
"event": "string",
"schema_version": "1",
"delivery_id": "whp_1f2e3d4c",
"occurred_at": "string"
}'

Envoyé par le bouton “Tester” pour valider votre endpoint et la vérification de signature. Mêmes en-têtes signés que company.alert.

Corps JSON POST du bouton Tester.

object
event
obligatoire
string
Valeur autorisée : webhook.ping
schema_version
obligatoire
string
Exemple
1
delivery_id
obligatoire
string
Exemple
whp_1f2e3d4c
occurred_at
obligatoire
string format: date-time
message
string
Exemple
Insourcia webhook test event

Accusé de réception.