Aller au contenu

Événements webhook

Abonnez un point de terminaison webhook pour recevoir ces événements. Chaque livraison porte un en-tête X-PIE-Event nommant l'événement et un en-tête X-PIE-Signature-256 de la forme sha256=<hmac> — un HMAC-SHA256 du corps brut de la requête, avec la clé secrète de votre abonnement. Vérifiez la signature à chaque livraison avant de faire confiance à la charge utile : calculez le même HMAC sur le corps brut et comparez en temps constant. La livraison est au moins une fois — dédupliquez sur l'identifiant de livraison.

ÉvénementGroupeDéclenché quand
product.publishedProductA product version was published (or re-published) by its producing org.
product.archivedProductA product was archived (soft-deleted) by its producing org.
grant.createdGrantA data-access grant was created; delivered to both the granting PIP and the receiving PIC. scope is all or selection — since P6-SPEC-20 PR-3a a grant created with the legacy scope: product|category is emitted as selection; scopeItems lists what it covers, and the deprecated scopeId names the one item of a single-item selection (else null).
grant.scope_changedGrantA grant now covers different products or categories; delivered to both sides of the relationship. scopeItems is always the FULL set the grant now covers (replace, do not merge); scope and the deprecated scopeId as for grant.created.
grant.revokedGrantA data-access grant was revoked; delivered to both sides of the relationship.
sync.completedSyncA daily catalogue sync finished for the org.
workflow.transitionedWorkflowAn approval-workflow instance moved to a new state.
workflow.task_assignedWorkflowA workflow task was assigned (or reassigned) to a reviewer.
workflow.task_overdueWorkflowA workflow task passed its SLA due time and the assignee was reminded.
webhook.testWebhookA test ping, sent on demand from the webhook settings ("Send test") to that one subscription only, whatever events it subscribes to.
workflow.task_escalatedWorkflowAn overdue workflow task was escalated to the policy role after the grace window.