naftiko: 1.0.0-alpha2
info:
label: Domains API — Notifications
description: 'Domains API — Notifications. 5 operations. Lead operation: Retrieve the next domain notification. Self-contained
Naftiko capability covering one Godaddy business surface.'
tags:
- Godaddy
- Notifications
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
GODADDY_API_KEY: GODADDY_API_KEY
capability:
consumes:
- type: http
namespace: domains-notifications
baseUri: https://api.ote-godaddy.com
description: Domains API — Notifications business capability. Self-contained, no shared references.
resources:
- name: v2-customers-customerId-domains-notifications
path: /v2/customers/{customerId}/domains/notifications
operations:
- name: get
method: GET
description: Retrieve the next domain notification
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Request-Id
in: header
type: string
description: A client provided identifier for tracking this request.
- name: customerId
in: path
type: string
description: 'The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers,
you need to specify the Subaccount you''re operating on beh'
required: true
- name: v2-customers-customerId-domains-notifications-optIn
path: /v2/customers/{customerId}/domains/notifications/optIn
operations:
- name: get
method: GET
description: Retrieve a list of notification types that are opted in
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Request-Id
in: header
type: string
description: A client provided identifier for tracking this request.
- name: customerId
in: path
type: string
description: 'The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers,
you need to specify the Subaccount you''re operating on beh'
required: true
- name: put
method: PUT
description: Opt in to recieve notifications for the submitted notification types
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Request-Id
in: header
type: string
description: A client provided identifier for tracking this request.
- name: customerId
in: path
type: string
description: 'The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers,
you need to specify the Subaccount you''re operating on beh'
required: true
- name: types
in: query
type: array
description: The notification types that should be opted in
required: true
- name: v2-customers-customerId-domains-notifications-schemas-type
path: /v2/customers/{customerId}/domains/notifications/schemas/{type}
operations:
- name: get
method: GET
description: Retrieve the schema for the notification data for the specified notification type
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Request-Id
in: header
type: string
description: A client provided identifier for tracking this request.
- name: customerId
in: path
type: string
description: 'The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers,
you need to specify the Subaccount you''re operating on beh'
required: true
- name: type
in: path
type: string
description: The notification type whose schema should be retrieved
required: true
- name: v2-customers-customerId-domains-notifications-notificationId-acknowledge
path: /v2/customers/{customerId}/domains/notifications/{notificationId}/acknowledge
operations:
- name: post
method: POST
description: Acknowledge a domain notification
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Request-Id
in: header
type: string
description: A client provided identifier for tracking this request.
- name: customerId
in: path
type: string
description: 'The Customer identifier
Note: For API Resellers, performing actions on behalf of your customers,
you need to specify the Subaccount you''re operating on beh'
required: true
- name: notificationId
in: path
type: string
description: The notification ID to acknowledge
required: true
exposes:
- type: rest
namespace: domains-notifications-rest
port: 8080
description: REST adapter for Domains API — Notifications. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/v2/customers/{customerid}/domains/notifications
name: v2-customers-customerid-domains-notifications
description: REST surface for v2-customers-customerId-domains-notifications.
operations:
- method: GET
name: get
description: Retrieve the next domain notification
call: domains-notifications.get
with:
X-Request-Id: rest.X-Request-Id
customerId: rest.customerId
outputParameters:
- type: object
mapping: $.
- path: /v1/v2/customers/{customerid}/domains/notifications/optin
name: v2-customers-customerid-domains-notifications-optin
description: REST surface for v2-customers-customerId-domains-notifications-optIn.
operations:
- method: GET
name: get
description: Retrieve a list of notification types that are opted in
call: domains-notifications.get
with:
X-Request-Id: rest.X-Request-Id
customerId: rest.customerId
outputParameters:
- type: object
mapping: $.
- method: PUT
name: put
description: Opt in to recieve notifications for the submitted notification types
call: domains-notifications.put
with:
X-Request-Id: rest.X-Request-Id
customerId: rest.customerId
types: rest.types
outputParameters:
- type: object
mapping: $.
- path: /v1/v2/customers/{customerid}/domains/notifications/schemas/{type}
name: v2-customers-customerid-domains-notifications-schemas-type
description: REST surface for v2-customers-customerId-domains-notifications-schemas-type.
operations:
- method: GET
name: get
description: Retrieve the schema for the notification data for the specified notification type
call: domains-notifications.get
with:
X-Request-Id: rest.X-Request-Id
customerId: rest.customerId
type: rest.type
outputParameters:
- type: object
mapping: $.
- path: /v1/v2/customers/{customerid}/domains/notifications/{notificationid}/acknowledge
name: v2-customers-customerid-domains-notifications-notificationid-acknowledge
description: REST surface for v2-customers-customerId-domains-notifications-notificationId-acknowledge.
operations:
- method: POST
name: post
description: Acknowledge a domain notification
call: domains-notifications.post
with:
X-Request-Id: rest.X-Request-Id
customerId: rest.customerId
notificationId: rest.notificationId
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: domains-notifications-mcp
port: 9090
transport: http
description: MCP adapter for Domains API — Notifications. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: retrieve-next-domain-notification
description: Retrieve the next domain notification
hints:
readOnly: true
destructive: false
idempotent: true
call: domains-notifications.get
with:
X-Request-Id: tools.X-Request-Id
customerId: tools.customerId
outputParameters:
- type: object
mapping: $.
- name: retrieve-list-notification-types-that
description: Retrieve a list of notification types that are opted in
hints:
readOnly: true
destructive: false
idempotent: true
call: domains-notifications.get
with:
X-Request-Id: tools.X-Request-Id
customerId: tools.customerId
outputParameters:
- type: object
mapping: $.
- name: opt-recieve-notifications-submitted-notification
description: Opt in to recieve notifications for the submitted notification types
hints:
readOnly: false
destructive: false
idempotent: true
call: domains-notifications.put
with:
X-Request-Id: tools.X-Request-Id
customerId: tools.customerId
types: tools.types
outputParameters:
- type: object
mapping: $.
- name: retrieve-schema-notification-data-specified
description: Retrieve the schema for the notification data for the specified notification type
hints:
readOnly: true
destructive: false
idempotent: true
call: domains-notifications.get
with:
X-Request-Id: tools.X-Request-Id
customerId: tools.customerId
type: tools.type
outputParameters:
- type: object
mapping: $.
- name: acknowledge-domain-notification
description: Acknowledge a domain notification
hints:
readOnly: false
destructive: false
idempotent: false
call: domains-notifications.post
with:
X-Request-Id: tools.X-Request-Id
customerId: tools.customerId
notificationId: tools.notificationId
outputParameters:
- type: object
mapping: $.