Skip to main content

Organize Your Portal Sidebar with Webhook and Callback Groups

· 2 min read

Managing event-driven APIs just got simpler. The Developer Portal now lets you include all webhooks or callbacks from a group directly in toc.yml with a single webhook-group or callback-group entry — no more listing every event by hand.

What's New?

Instead of enumerating every individual webhook and callback, you can now point to an entire group with a single generate entry. Set from: webhook-group or from: callback-group, and every event belonging to that group in your API specification is pulled in automatically.

toc:
- group: Ordering Events
items:
- group: Callbacks
items:
- generate: Payment Callbacks
from: callback-group
callback-group: paymentCallbacks
- group: Webhooks
items:
- generate: Notification Events
from: webhook-group
webhook-group: notificationEvents
- generate: Status Events
from: webhook-group
webhook-group: statusEvents

The result is a leaner toc.yml that stays accurate as your API specification evolves.

Webhook and Callback Grouping

With this change, you no longer need to manually maintain:

  • Individual webhook or callback entries
  • Separate group overview pages
  • Repeated webhook-name or callback-name fields for every event

Benefits

  • Cut down on boilerplate configuration in toc.yml
  • Keep your portal sidebar automatically in sync with the API specification
  • Reduce maintenance overhead when events are added, renamed, or removed
  • Achieve cleaner sidebar organization with less effort

For full configuration details, see this documentation.