Managing subscriptions
Create a Subscription
curl -X POST "https://api.aviowiki.com/webhooks" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-server.com/webhook",
"types": ["AIRPORT", "RUNWAY", "PROVIDER"],
"authHeader": "Bearer your-custom-auth-token"
}'Field
Type
Required
Description
{
"aid": "WSAxxxxxxxx",
"url": "https://your-server.com/webhook",
"types": ["AIRPORT", "RUNWAY", "PROVIDER"],
"secret": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}Update a Subscription
Delete a Subscription
List Your Subscriptions
Last updated