Notifications
Notifications Capability
Token Abilities
Ability
Description
Notification Types
Type
Description
Payload
Subscriptions (Create / Read / Update / Delete)
1
Create Subscription
POST /octo/v1/notifications/subscriptions
Authorization: Bearer your-api-token
Octo-Capabilities: notifications
Content-Type: application/json
{
"url": "https://example.com/octo/webhook",
"notificationTypes": ["BOOKING_UPDATE", "PRODUCT_UPDATE"]
}{
"id": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://example.com/octo/webhook",
"notificationTypes": ["BOOKING_UPDATE", "PRODUCT_UPDATE"]
}2
3
4