freshworks · Capability

Freshworks Freshdesk API — Groups

Freshworks Freshdesk API — Groups. 5 operations. Lead operation: List all groups. Self-contained Naftiko capability covering one Freshworks business surface.

Run with Naftiko FreshworksGroups

What You Can Do

GET
Listgroups — List all groups
/v1/groups
POST
Creategroup — Create a group
/v1/groups
GET
Getgroup — View a group
/v1/groups/{group-id}
PUT
Updategroup — Update a group
/v1/groups/{group-id}
DELETE
Deletegroup — Delete a group
/v1/groups/{group-id}

MCP Tools

list-all-groups

List all groups

read-only idempotent
create-group

Create a group

view-group

View a group

read-only idempotent
update-group

Update a group

idempotent
delete-group

Delete a group

idempotent

Capability Spec

freshdesk-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Freshworks Freshdesk API — Groups
  description: 'Freshworks Freshdesk API — Groups. 5 operations. Lead operation: List all groups. Self-contained Naftiko capability
    covering one Freshworks business surface.'
  tags:
  - Freshworks
  - Groups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FRESHWORKS_API_KEY: FRESHWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: freshdesk-groups
    baseUri: https://{domain}.freshdesk.com/api/v2
    description: Freshworks Freshdesk API — Groups business capability. Self-contained, no shared references.
    resources:
    - name: groups
      path: /groups
      operations:
      - name: listgroups
        method: GET
        description: List all groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: creategroup
        method: POST
        description: Create a group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: groups-group_id
      path: /groups/{group_id}
      operations:
      - name: getgroup
        method: GET
        description: View a group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updategroup
        method: PUT
        description: Update a group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletegroup
        method: DELETE
        description: Delete a group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.FRESHWORKS_USER}}'
      password: '{{env.FRESHWORKS_PASS}}'
  exposes:
  - type: rest
    namespace: freshdesk-groups-rest
    port: 8080
    description: REST adapter for Freshworks Freshdesk API — Groups. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/groups
      name: groups
      description: REST surface for groups.
      operations:
      - method: GET
        name: listgroups
        description: List all groups
        call: freshdesk-groups.listgroups
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creategroup
        description: Create a group
        call: freshdesk-groups.creategroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/groups/{group-id}
      name: groups-group-id
      description: REST surface for groups-group_id.
      operations:
      - method: GET
        name: getgroup
        description: View a group
        call: freshdesk-groups.getgroup
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updategroup
        description: Update a group
        call: freshdesk-groups.updategroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletegroup
        description: Delete a group
        call: freshdesk-groups.deletegroup
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: freshdesk-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Freshworks Freshdesk API — Groups. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-groups
      description: List all groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshdesk-groups.listgroups
      outputParameters:
      - type: object
        mapping: $.
    - name: create-group
      description: Create a group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: freshdesk-groups.creategroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: view-group
      description: View a group
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshdesk-groups.getgroup
      outputParameters:
      - type: object
        mapping: $.
    - name: update-group
      description: Update a group
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: freshdesk-groups.updategroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-group
      description: Delete a group
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: freshdesk-groups.deletegroup
      outputParameters:
      - type: object
        mapping: $.