Qovery · Capability

Qovery API — Referral & Rewards

Qovery API — Referral & Rewards. 2 operations. Lead operation: Get your referral information. Self-contained Naftiko capability covering one Qovery business surface.

Run with Naftiko QoveryReferral & Rewards

What You Can Do

GET
Getaccountreferral — Get your referral information
/v1/account/referral
POST
Postaccountrewardclaim — Claim a reward
/v1/account/rewardclaim

MCP Tools

get-your-referral-information

Get your referral information

read-only idempotent
claim-reward

Claim a reward

Capability Spec

qovery-referral-rewards.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Qovery API — Referral & Rewards
  description: 'Qovery API — Referral & Rewards. 2 operations. Lead operation: Get your referral information. Self-contained
    Naftiko capability covering one Qovery business surface.'
  tags:
  - Qovery
  - Referral & Rewards
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QOVERY_API_KEY: QOVERY_API_KEY
capability:
  consumes:
  - type: http
    namespace: qovery-referral-rewards
    baseUri: https://api.qovery.com
    description: Qovery API — Referral & Rewards business capability. Self-contained, no shared references.
    resources:
    - name: account-referral
      path: /account/referral
      operations:
      - name: getaccountreferral
        method: GET
        description: Get your referral information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: account-rewardClaim
      path: /account/rewardClaim
      operations:
      - name: postaccountrewardclaim
        method: POST
        description: Claim a reward
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.QOVERY_API_KEY}}'
  exposes:
  - type: rest
    namespace: qovery-referral-rewards-rest
    port: 8080
    description: REST adapter for Qovery API — Referral & Rewards. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/account/referral
      name: account-referral
      description: REST surface for account-referral.
      operations:
      - method: GET
        name: getaccountreferral
        description: Get your referral information
        call: qovery-referral-rewards.getaccountreferral
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/account/rewardclaim
      name: account-rewardclaim
      description: REST surface for account-rewardClaim.
      operations:
      - method: POST
        name: postaccountrewardclaim
        description: Claim a reward
        call: qovery-referral-rewards.postaccountrewardclaim
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: qovery-referral-rewards-mcp
    port: 9090
    transport: http
    description: MCP adapter for Qovery API — Referral & Rewards. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-your-referral-information
      description: Get your referral information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-referral-rewards.getaccountreferral
      outputParameters:
      - type: object
        mapping: $.
    - name: claim-reward
      description: Claim a reward
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-referral-rewards.postaccountrewardclaim
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.