Deel · Capability

Endpoints — subpackage_managers

Endpoints — subpackage_managers. 3 operations. Lead operation: Create a Manager. Self-contained Naftiko capability covering one Deel business surface.

Run with Naftiko Deelsubpackage_managers

What You Can Do

POST
Createmanager — Create a Manager
/v1/managers
GET
Getmanagers — Retrieve List of Managers
/v1/managers
POST
Generatemagiclinkformanagerlogin — Generate magic link for manager login
/v1/managers/magic-links

MCP Tools

create-manager

Create a Manager

retrieve-list-managers

Retrieve List of Managers

read-only idempotent
generate-magic-link-manager-login

Generate magic link for manager login

Capability Spec

platform-endpoints-subpackage-managers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Endpoints — subpackage_managers
  description: 'Endpoints — subpackage_managers. 3 operations. Lead operation: Create a Manager. Self-contained Naftiko capability
    covering one Deel business surface.'
  tags:
  - Deel
  - subpackage_managers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEEL_API_KEY: DEEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-endpoints-subpackage-managers
    baseUri: https://api.letsdeel.com/rest/v2
    description: Endpoints — subpackage_managers business capability. Self-contained, no shared references.
    resources:
    - name: managers
      path: /managers
      operations:
      - name: createmanager
        method: POST
        description: Create a Manager
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: getmanagers
        method: GET
        description: Retrieve List of Managers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: The number of records to return in the response.
        - name: offset
          in: query
          type: integer
          description: The offset or starting point for pagination.
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
    - name: managers-magic-links
      path: /managers/magic-links
      operations:
      - name: generatemagiclinkformanagerlogin
        method: POST
        description: Generate magic link for manager login
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.DEEL_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-endpoints-subpackage-managers-rest
    port: 8080
    description: REST adapter for Endpoints — subpackage_managers. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/managers
      name: managers
      description: REST surface for managers.
      operations:
      - method: POST
        name: createmanager
        description: Create a Manager
        call: platform-endpoints-subpackage-managers.createmanager
        with:
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmanagers
        description: Retrieve List of Managers
        call: platform-endpoints-subpackage-managers.getmanagers
        with:
          limit: rest.limit
          offset: rest.offset
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/managers/magic-links
      name: managers-magic-links
      description: REST surface for managers-magic-links.
      operations:
      - method: POST
        name: generatemagiclinkformanagerlogin
        description: Generate magic link for manager login
        call: platform-endpoints-subpackage-managers.generatemagiclinkformanagerlogin
        with:
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-endpoints-subpackage-managers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Endpoints — subpackage_managers. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: create-manager
      description: Create a Manager
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: platform-endpoints-subpackage-managers.createmanager
      with:
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-list-managers
      description: Retrieve List of Managers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-endpoints-subpackage-managers.getmanagers
      with:
        limit: tools.limit
        offset: tools.offset
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.
    - name: generate-magic-link-manager-login
      description: Generate magic link for manager login
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: platform-endpoints-subpackage-managers.generatemagiclinkformanagerlogin
      with:
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.