Endpoints
| Method | Path | Description |
|---|
POST | /api/v2/webhooks | Create a webhook |
POST | /api/v2/webhooks/delete | Delete a webhook |
Create a webhook
POST /api/v2/webhooks
The endpoint that will receive webhook events.
Event type to subscribe to. Currently supported: FLOW_COMPLETED.
{
"url": "https://your-server.com/webhook",
"type": "FLOW_COMPLETED"
}
curl -X POST https://api.flowla.com/api/v2/webhooks \
-H "x-flowla-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-server.com/webhook",
"type": "FLOW_COMPLETED"
}'
Delete a webhook
POST /api/v2/webhooks/delete
ID of the webhook to remove.
curl -X POST https://api.flowla.com/api/v2/webhooks/delete \
-H "x-flowla-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "<webhook_id>"}'