Logo PopinaPopina API

Test a webhook

Test a specific webhook from the database by sending one webhook payload per events registered to the endpoint URL. The payloads are build from fake data and with a specific schema for each event.

POST/v1/webhooks/test/{id}
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Path Parameters

idstring
locationIdstring
Formatuuid

Response Body

application/json

curl -X POST "http://localhost:4007/v1/webhooks/test/string" \  -H "Content-Type: application/json" \  -d '{    "locationId": "5f99d799-73d4-43e0-b247-65918dcdb85f"  }'
{
  "order.paid": {
    "status": 200,
    "success": true,
    "message": "Webhook sent",
    "response": {}
  }
}