To ensure that the requests you're getting at your webhook endpoint are actually coming from ProductPlan, ProductPlan populates a X-PRODUCTPLAN-WEBHOOK-TOKEN
header if the webhook is configured with a token.
Use the tables below to view details about fields that may be contained in the payload.
Field | Description |
---|---|
id | The ID of the bar. |
name | Title of the bar. |
{
"actor": {
"name": "name",
"email": "[email protected]"
},
"webhook_created": "YYYY-MM-DD HH:MM:SS UTC",
"event": "bar_delete",
"data": [
{
"id": 1,
"name": "Deleted Bar"
},
{
"id": 2,
"name": "Another Bar"
}
]
}
As shown above, you should expect to receive a payload containing the actor's name and email, the event, and the name and id of deleted bars in an array.