UserGems · Capability

UserGems API — Contacts

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

UserGems API — Contacts 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/contact.

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

Tagged areas include UserGems and Contacts.

Run with Naftiko UserGemsContacts

What You Can Do

POST
Addcontact — UserGems Add Contact
/v1/contact
DELETE
Deletecontact — UserGems Delete Contact
/v1/contact

MCP Tools

usergems-add-contact

UserGems Add Contact

usergems-delete-contact

UserGems Delete Contact

idempotent

Capability Spec

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