UserGems · Capability

UserGems API — Accounts

UserGems API — Accounts. 2 operations. Lead operation: UserGems Add Account. Self-contained Naftiko capability covering one UserGems business surface.

UserGems API — Accounts is a Naftiko capability published by UserGems, one of 3 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the POST and DELETE methods rooted at /v1/account.

The capability includes 2 state-changing operations. Lead operation: UserGems Add Account. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include UserGems and Accounts.

Run with Naftiko UserGemsAccounts

What You Can Do

POST
Addaccount — UserGems Add Account
/v1/account
DELETE
Deleteaccount — UserGems Delete Account
/v1/account

MCP Tools

usergems-add-account

UserGems Add Account

usergems-delete-account

UserGems Delete Account

idempotent

Capability Spec

accounts-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: UserGems API — Accounts
  description: 'UserGems API — Accounts. 2 operations. Lead operation: UserGems Add Account. Self-contained Naftiko capability
    covering one UserGems business surface.'
  tags:
  - UserGems
  - Accounts
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    USERGEMS_API_KEY: USERGEMS_API_KEY
capability:
  consumes:
  - type: http
    namespace: accounts-accounts
    baseUri: https://api.usergems.com/v1
    description: UserGems API — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: account
      path: /account
      operations:
      - name: addaccount
        method: POST
        description: UserGems Add Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteaccount
        method: DELETE
        description: UserGems Delete Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          required: true
        - name: domain
          in: query
          type: string
          required: true
        - name: reportName
          in: query
          type: string
        - name: signal
          in: query
          type: string
        - name: salesforceId
          in: query
          type: string
        - name: customId
          in: query
          type: string
    authentication:
      type: apikey
      key: X-Api-Key
      value: '{{env.USERGEMS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: accounts-accounts-rest
    port: 8080
    description: REST adapter for UserGems API — Accounts. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/account
      name: account
      description: REST surface for account.
      operations:
      - method: POST
        name: addaccount
        description: UserGems Add Account
        call: accounts-accounts.addaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteaccount
        description: UserGems Delete Account
        call: accounts-accounts.deleteaccount
        with:
          name: rest.query.name
          domain: rest.query.domain
          reportName: rest.query.reportName
          signal: rest.query.signal
          salesforceId: rest.query.salesforceId
          customId: rest.query.customId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: accounts-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for UserGems API — Accounts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: usergems-add-account
      description: UserGems Add Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: accounts-accounts.addaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: usergems-delete-account
      description: UserGems Delete Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: accounts-accounts.deleteaccount
      with:
        name: tools.name
        domain: tools.domain
        reportName: tools.reportName
        signal: tools.signal
        salesforceId: tools.salesforceId
        customId: tools.customId
      outputParameters:
      - type: object
        mapping: $.