githubEdit

Notifications

Manage notification subscriptions for booking, availability, and product updates

To use this capability, add octo/notifications to your Octo-Capabilities header.

All paths below are shown under /octo.

Supported Notification Types

  • BOOKING_UPDATE

  • AVAILABILITY_UPDATE

  • PRODUCT_UPDATE

notificationTypes are case-insensitive in requests and returned as uppercase values in responses.

Create Subscription

post
Body

From capability octo/notifications.

notificationTypestringOptional

Notification type value.

Example: booking_update
notificationTypesstring[]Optional

List of notification type values.

Example: ["STANDARD"]
urlstring · uriOptional

Fully-qualified URL.

Example: https://www.city-sightseeing.com
activebooleanOptional

Whether active is enabled.

Example: true
retryOnErrorbooleanOptional

Whether retry on error is enabled.

Example: true
Responses
chevron-right
200

Successful response

application/json
post
/notifications/subscriptions
200

Successful response

Update Subscription

patch
Path parameters
subscriptionIdstringRequired

Subscription identifier.

Example: sub_booking_update_01
Body

From capability octo/notifications.

notificationTypestringOptional

Notification type value.

Example: booking_update
notificationTypesstring[]Optional

List of notification type values.

Example: ["STANDARD"]
urlstring · uriOptional

Fully-qualified URL.

Example: https://www.city-sightseeing.com
activebooleanOptional

Whether active is enabled.

Example: true
retryOnErrorbooleanOptional

Whether retry on error is enabled.

Example: true
Responses
chevron-right
200

Successful response

application/json
patch
/notifications/subscriptions/{subscriptionId}
200

Successful response

Response 200

Same Subscription Object shape as Create Subscription.

Get Subscription

get
Path parameters
subscriptionIdstringRequired

Subscription identifier.

Example: sub_booking_update_01
Responses
chevron-right
200

Successful response

application/json
get
/notifications/subscriptions/{subscriptionId}
200

Successful response

Response 200

Returns one Subscription Object.

List Subscriptions

get
Responses
chevron-right
200

Successful response

application/json
get
/notifications/subscriptions
200

Successful response

Returns a paginated array of Subscription Object items.

Response 200

Array of Subscription Object.

Delete Subscription

delete
Path parameters
subscriptionIdstringRequired

Subscription identifier.

Example: sub_booking_update_01
Responses
chevron-right
200

Successful response

application/json
delete
/notifications/subscriptions/{subscriptionId}
200

Successful response

Deletes a subscription.

Response 200

Empty body.

Triggering Notifications in Tests

Trigger Webhook

post
Path parameters
webhookIdstringRequired

Webhook identifier.

Example: webhook_booking_update
Body

From capability octo/webhooks.

productIdstringOptional

Product identifier.

Example: e7cc8bb4-8d1c-4848-8824-5dbedb718681
optionIdstringOptional

Option identifier.

Example: 94cdd032-3d32-416d-b0a4-abf8b7495b8b
availabilityIdsstring[]Optional

List of availability identifiers.

Example: ["2026-05-14T09:00:00-04:00","2026-05-15T09:00:00-04:00"]
referencestringOptional

Reference value.

Example: REF-2026-001
emailstringOptional

Email value.

Example: [email protected]
mobilestringOptional

Mobile value.

Example: +12025550123
orderRecordStatestringOptional

Order record state value.

Example: order_record_state-example
productRecordStatestringOptional

Product record state value.

Example: product_record_state-example
Responses
chevron-right
200

Successful response

application/json
post
/webhooks/{webhookId}/trigger
200

Successful response

Notification Payload Sent To Your URL

data fields by notification type:

  • BOOKING_UPDATE: uuid

  • AVAILABILITY_UPDATE: productId, optionId, availabilityIds

  • PRODUCT_UPDATE: productId

Schema Additions (JSON)

These are additive fragments showing only fields introduced by this capability.

NotificationSubscription

NotificationSubscriptionRequest

Last updated