freshworks · Capability

Freshworks Freshcaller API — Users

Freshworks Freshcaller API — Users. 5 operations. Lead operation: List all user statuses. Self-contained Naftiko capability covering one Freshworks business surface.

Run with Naftiko FreshworksUsers

What You Can Do

GET
Listuserstatuses — List all user statuses
/v1/user-statuses
GET
Listusers — List all users
/v1/users
POST
Createuser — Create a user
/v1/users
GET
Getuser — View a user
/v1/users/{user-id}
PUT
Updateuser — Update a user
/v1/users/{user-id}

MCP Tools

list-all-user-statuses

List all user statuses

read-only idempotent
list-all-users

List all users

read-only idempotent
create-user

Create a user

view-user

View a user

read-only idempotent
update-user

Update a user

idempotent

Capability Spec

freshcaller-users.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Freshworks Freshcaller API — Users
  description: 'Freshworks Freshcaller API — Users. 5 operations. Lead operation: List all user statuses. Self-contained Naftiko
    capability covering one Freshworks business surface.'
  tags:
  - Freshworks
  - Users
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FRESHWORKS_API_KEY: FRESHWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: freshcaller-users
    baseUri: https://{domain}.freshcaller.com/api/v1
    description: Freshworks Freshcaller API — Users business capability. Self-contained, no shared references.
    resources:
    - name: user_statuses
      path: /user_statuses
      operations:
      - name: listuserstatuses
        method: GET
        description: List all user statuses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users
      path: /users
      operations:
      - name: listusers
        method: GET
        description: List all users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createuser
        method: POST
        description: Create a user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: users-user_id
      path: /users/{user_id}
      operations:
      - name: getuser
        method: GET
        description: View a user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateuser
        method: PUT
        description: Update a user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Api-Auth
      value: '{{env.FRESHWORKS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: freshcaller-users-rest
    port: 8080
    description: REST adapter for Freshworks Freshcaller API — Users. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/user-statuses
      name: user-statuses
      description: REST surface for user_statuses.
      operations:
      - method: GET
        name: listuserstatuses
        description: List all user statuses
        call: freshcaller-users.listuserstatuses
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users
      name: users
      description: REST surface for users.
      operations:
      - method: GET
        name: listusers
        description: List all users
        call: freshcaller-users.listusers
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createuser
        description: Create a user
        call: freshcaller-users.createuser
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}
      name: users-user-id
      description: REST surface for users-user_id.
      operations:
      - method: GET
        name: getuser
        description: View a user
        call: freshcaller-users.getuser
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateuser
        description: Update a user
        call: freshcaller-users.updateuser
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: freshcaller-users-mcp
    port: 9090
    transport: http
    description: MCP adapter for Freshworks Freshcaller API — Users. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-user-statuses
      description: List all user statuses
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshcaller-users.listuserstatuses
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-users
      description: List all users
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshcaller-users.listusers
      outputParameters:
      - type: object
        mapping: $.
    - name: create-user
      description: Create a user
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: freshcaller-users.createuser
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: view-user
      description: View a user
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: freshcaller-users.getuser
      outputParameters:
      - type: object
        mapping: $.
    - name: update-user
      description: Update a user
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: freshcaller-users.updateuser
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.