naftiko: 1.0.0-alpha2 info: label: Telnyx API — Notifications description: 'Telnyx API — Notifications. 16 operations. Lead operation: List notification channels. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Notifications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-notifications baseUri: https://api.telnyx.com/v2 description: Telnyx API — Notifications business capability. Self-contained, no shared references. resources: - name: notification_channels path: /notification_channels operations: - name: listnotificationchannels method: GET description: List notification channels outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnotificationchannels method: POST description: Create a notification channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: notification_channels-id path: /notification_channels/{id} operations: - name: deletenotificationchannel method: DELETE description: Delete a notification channel outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getnotificationchannel method: GET description: Get a notification channel outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatenotificationchannel method: PATCH description: Update a notification channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: notification_event_conditions path: /notification_event_conditions operations: - name: findnotificationseventsconditions method: GET description: List all Notifications Events Conditions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: notification_events path: /notification_events operations: - name: findnotificationsevents method: GET description: List all Notifications Events outputRawFormat: json outputParameters: - name: result type: object value: $. - name: notification_profiles path: /notification_profiles operations: - name: findnotificationsprofiles method: GET description: List all Notifications Profiles outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnotificationprofile method: POST description: Create a notification profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: notification_profiles-id path: /notification_profiles/{id} operations: - name: deletenotificationprofile method: DELETE description: Delete a notification profile outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getnotificationprofile method: GET description: Get a notification profile outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatenotificationprofile method: PATCH description: Update a notification profile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: notification_settings path: /notification_settings operations: - name: listnotificationsettings method: GET description: List notification settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnotificationsetting method: POST description: Add a Notification Setting outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: notification_settings-id path: /notification_settings/{id} operations: - name: deletenotificationsetting method: DELETE description: Delete a notification setting outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getnotificationsetting method: GET description: Get a notification setting outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-notifications-rest port: 8080 description: REST adapter for Telnyx API — Notifications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/notification-channels name: notification-channels description: REST surface for notification_channels. operations: - method: GET name: listnotificationchannels description: List notification channels call: telnyx-notifications.listnotificationchannels outputParameters: - type: object mapping: $. - method: POST name: createnotificationchannels description: Create a notification channel call: telnyx-notifications.createnotificationchannels with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/notification-channels/{id} name: notification-channels-id description: REST surface for notification_channels-id. operations: - method: DELETE name: deletenotificationchannel description: Delete a notification channel call: telnyx-notifications.deletenotificationchannel outputParameters: - type: object mapping: $. - method: GET name: getnotificationchannel description: Get a notification channel call: telnyx-notifications.getnotificationchannel outputParameters: - type: object mapping: $. - method: PATCH name: updatenotificationchannel description: Update a notification channel call: telnyx-notifications.updatenotificationchannel with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/notification-event-conditions name: notification-event-conditions description: REST surface for notification_event_conditions. operations: - method: GET name: findnotificationseventsconditions description: List all Notifications Events Conditions call: telnyx-notifications.findnotificationseventsconditions outputParameters: - type: object mapping: $. - path: /v1/notification-events name: notification-events description: REST surface for notification_events. operations: - method: GET name: findnotificationsevents description: List all Notifications Events call: telnyx-notifications.findnotificationsevents outputParameters: - type: object mapping: $. - path: /v1/notification-profiles name: notification-profiles description: REST surface for notification_profiles. operations: - method: GET name: findnotificationsprofiles description: List all Notifications Profiles call: telnyx-notifications.findnotificationsprofiles outputParameters: - type: object mapping: $. - method: POST name: createnotificationprofile description: Create a notification profile call: telnyx-notifications.createnotificationprofile with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/notification-profiles/{id} name: notification-profiles-id description: REST surface for notification_profiles-id. operations: - method: DELETE name: deletenotificationprofile description: Delete a notification profile call: telnyx-notifications.deletenotificationprofile outputParameters: - type: object mapping: $. - method: GET name: getnotificationprofile description: Get a notification profile call: telnyx-notifications.getnotificationprofile outputParameters: - type: object mapping: $. - method: PATCH name: updatenotificationprofile description: Update a notification profile call: telnyx-notifications.updatenotificationprofile with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/notification-settings name: notification-settings description: REST surface for notification_settings. operations: - method: GET name: listnotificationsettings description: List notification settings call: telnyx-notifications.listnotificationsettings outputParameters: - type: object mapping: $. - method: POST name: createnotificationsetting description: Add a Notification Setting call: telnyx-notifications.createnotificationsetting with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/notification-settings/{id} name: notification-settings-id description: REST surface for notification_settings-id. operations: - method: DELETE name: deletenotificationsetting description: Delete a notification setting call: telnyx-notifications.deletenotificationsetting outputParameters: - type: object mapping: $. - method: GET name: getnotificationsetting description: Get a notification setting call: telnyx-notifications.getnotificationsetting outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-notifications-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Notifications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-notification-channels description: List notification channels hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.listnotificationchannels outputParameters: - type: object mapping: $. - name: create-notification-channel description: Create a notification channel hints: readOnly: false destructive: false idempotent: false call: telnyx-notifications.createnotificationchannels with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-notification-channel description: Delete a notification channel hints: readOnly: false destructive: true idempotent: true call: telnyx-notifications.deletenotificationchannel outputParameters: - type: object mapping: $. - name: get-notification-channel description: Get a notification channel hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.getnotificationchannel outputParameters: - type: object mapping: $. - name: update-notification-channel description: Update a notification channel hints: readOnly: false destructive: false idempotent: true call: telnyx-notifications.updatenotificationchannel with: body: tools.body outputParameters: - type: object mapping: $. - name: list-all-notifications-events-conditions description: List all Notifications Events Conditions hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.findnotificationseventsconditions outputParameters: - type: object mapping: $. - name: list-all-notifications-events description: List all Notifications Events hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.findnotificationsevents outputParameters: - type: object mapping: $. - name: list-all-notifications-profiles description: List all Notifications Profiles hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.findnotificationsprofiles outputParameters: - type: object mapping: $. - name: create-notification-profile description: Create a notification profile hints: readOnly: false destructive: false idempotent: false call: telnyx-notifications.createnotificationprofile with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-notification-profile description: Delete a notification profile hints: readOnly: false destructive: true idempotent: true call: telnyx-notifications.deletenotificationprofile outputParameters: - type: object mapping: $. - name: get-notification-profile description: Get a notification profile hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.getnotificationprofile outputParameters: - type: object mapping: $. - name: update-notification-profile description: Update a notification profile hints: readOnly: false destructive: false idempotent: true call: telnyx-notifications.updatenotificationprofile with: body: tools.body outputParameters: - type: object mapping: $. - name: list-notification-settings description: List notification settings hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.listnotificationsettings outputParameters: - type: object mapping: $. - name: add-notification-setting description: Add a Notification Setting hints: readOnly: false destructive: false idempotent: false call: telnyx-notifications.createnotificationsetting with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-notification-setting description: Delete a notification setting hints: readOnly: false destructive: true idempotent: true call: telnyx-notifications.deletenotificationsetting outputParameters: - type: object mapping: $. - name: get-notification-setting description: Get a notification setting hints: readOnly: true destructive: false idempotent: true call: telnyx-notifications.getnotificationsetting outputParameters: - type: object mapping: $.