You can use our beta API to manage webhook subscriptions.
This feature is in beta and subject to change.
Only required for PROVIDER users acting on behalf of customers.
curl -X POST \
--url https://api.partoo.co/v2/webhooks \
--header 'Content-Type: application/json' \
--header 'x-APIKey: <api-key>' \
-d '{
"org_id": "your_org_id",
"url": "https://your-server.com/webhook",
"event_type": "business_created"
}'
{
"id": "webhook_12345",
"event_type": "business_created",
"url": "https://your-server.com/webhook",
"status": "active"
}