GoDaddy · Capability

Domains API — Actions

Domains API — Actions. 3 operations. Lead operation: Retrieves a list of the most recent actions for the specified domain. Self-contained Naftiko capability covering one Godaddy business surface.

Run with Naftiko GodaddyActions

What You Can Do

GET
Get — Retrieves a list of the most recent actions for the specified domain
/v1/v2/customers/{customerid}/domains/{domain}/actions
DELETE
Delete — Cancel the most recent user action for the specified domain
/v1/v2/customers/{customerid}/domains/{domain}/actions/{type}
GET
Get — Retrieves the most recent action for the specified domain
/v1/v2/customers/{customerid}/domains/{domain}/actions/{type}

MCP Tools

retrieves-list-most-recent-actions

Retrieves a list of the most recent actions for the specified domain

read-only idempotent
cancel-most-recent-user-action

Cancel the most recent user action for the specified domain

idempotent
retrieves-most-recent-action-specified

Retrieves the most recent action for the specified domain

read-only idempotent

Capability Spec

domains-actions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Domains API — Actions
  description: 'Domains API — Actions. 3 operations. Lead operation: Retrieves a list of the most recent actions for the specified
    domain. Self-contained Naftiko capability covering one Godaddy business surface.'
  tags:
  - Godaddy
  - Actions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GODADDY_API_KEY: GODADDY_API_KEY
capability:
  consumes:
  - type: http
    namespace: domains-actions
    baseUri: https://api.ote-godaddy.com
    description: Domains API — Actions business capability. Self-contained, no shared references.
    resources:
    - name: v2-customers-customerId-domains-domain-actions
      path: /v2/customers/{customerId}/domains/{domain}/actions
      operations:
      - name: get
        method: GET
        description: Retrieves a list of the most recent actions for the specified domain
        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<br/> 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: domain
          in: path
          type: string
          description: Domain whose actions are to be retrieved
          required: true
    - name: v2-customers-customerId-domains-domain-actions-type
      path: /v2/customers/{customerId}/domains/{domain}/actions/{type}
      operations:
      - name: delete
        method: DELETE
        description: Cancel the most recent user action for the specified domain
        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<br/> 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: domain
          in: path
          type: string
          description: Domain whose action is to be cancelled
          required: true
        - name: type
          in: path
          type: string
          description: The type of action to cancel
          required: true
      - name: get
        method: GET
        description: Retrieves the most recent action for the specified domain
        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<br/> 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: domain
          in: path
          type: string
          description: Domain whose action is to be retrieved
          required: true
        - name: type
          in: path
          type: string
          description: The type of action to retrieve
          required: true
  exposes:
  - type: rest
    namespace: domains-actions-rest
    port: 8080
    description: REST adapter for Domains API — Actions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/customers/{customerid}/domains/{domain}/actions
      name: v2-customers-customerid-domains-domain-actions
      description: REST surface for v2-customers-customerId-domains-domain-actions.
      operations:
      - method: GET
        name: get
        description: Retrieves a list of the most recent actions for the specified domain
        call: domains-actions.get
        with:
          X-Request-Id: rest.X-Request-Id
          customerId: rest.customerId
          domain: rest.domain
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/customers/{customerid}/domains/{domain}/actions/{type}
      name: v2-customers-customerid-domains-domain-actions-type
      description: REST surface for v2-customers-customerId-domains-domain-actions-type.
      operations:
      - method: DELETE
        name: delete
        description: Cancel the most recent user action for the specified domain
        call: domains-actions.delete
        with:
          X-Request-Id: rest.X-Request-Id
          customerId: rest.customerId
          domain: rest.domain
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: get
        description: Retrieves the most recent action for the specified domain
        call: domains-actions.get
        with:
          X-Request-Id: rest.X-Request-Id
          customerId: rest.customerId
          domain: rest.domain
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: domains-actions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Domains API — Actions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: retrieves-list-most-recent-actions
      description: Retrieves a list of the most recent actions for the specified domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains-actions.get
      with:
        X-Request-Id: tools.X-Request-Id
        customerId: tools.customerId
        domain: tools.domain
      outputParameters:
      - type: object
        mapping: $.
    - name: cancel-most-recent-user-action
      description: Cancel the most recent user action for the specified domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: domains-actions.delete
      with:
        X-Request-Id: tools.X-Request-Id
        customerId: tools.customerId
        domain: tools.domain
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieves-most-recent-action-specified
      description: Retrieves the most recent action for the specified domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains-actions.get
      with:
        X-Request-Id: tools.X-Request-Id
        customerId: tools.customerId
        domain: tools.domain
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.