Rollbar · Capability

Rollbar REST API — Invites

Rollbar REST API — Invites. 4 operations. Lead operation: Get an Invitation. Self-contained Naftiko capability covering one Rollbar business surface.

Run with Naftiko RollbarInvites

What You Can Do

GET
Getinvite — Get an Invitation
/v1/invite/{inviteid}
DELETE
Cancelinvite — Cancel an Invitation
/v1/invite/{inviteid}
GET
Listteaminvites — List All Invitations for a Team
/v1/team/{teamid}/invites
POST
Inviteusertoteam — Invite a User to a Team
/v1/team/{teamid}/invites

MCP Tools

get-invitation

Get an Invitation

read-only idempotent
cancel-invitation

Cancel an Invitation

idempotent
list-all-invitations-team

List All Invitations for a Team

read-only idempotent
invite-user-team

Invite a User to a Team

Capability Spec

rest-invites.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Rollbar REST API — Invites
  description: 'Rollbar REST API — Invites. 4 operations. Lead operation: Get an Invitation. Self-contained Naftiko capability
    covering one Rollbar business surface.'
  tags:
  - Rollbar
  - Invites
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ROLLBAR_API_KEY: ROLLBAR_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-invites
    baseUri: https://api.rollbar.com/api/1
    description: Rollbar REST API — Invites business capability. Self-contained, no shared references.
    resources:
    - name: invite-inviteId
      path: /invite/{inviteId}
      operations:
      - name: getinvite
        method: GET
        description: Get an Invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: inviteId
          in: path
          type: integer
          description: The ID of the invitation to retrieve.
          required: true
      - name: cancelinvite
        method: DELETE
        description: Cancel an Invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: inviteId
          in: path
          type: integer
          description: The ID of the invitation to cancel.
          required: true
    - name: team-teamId-invites
      path: /team/{teamId}/invites
      operations:
      - name: listteaminvites
        method: GET
        description: List All Invitations for a Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: inviteusertoteam
        method: POST
        description: Invite a User to a Team
        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-Rollbar-Access-Token
      value: '{{env.ROLLBAR_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: rest-invites-rest
    port: 8080
    description: REST adapter for Rollbar REST API — Invites. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/invite/{inviteid}
      name: invite-inviteid
      description: REST surface for invite-inviteId.
      operations:
      - method: GET
        name: getinvite
        description: Get an Invitation
        call: rest-invites.getinvite
        with:
          inviteId: rest.inviteId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: cancelinvite
        description: Cancel an Invitation
        call: rest-invites.cancelinvite
        with:
          inviteId: rest.inviteId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/team/{teamid}/invites
      name: team-teamid-invites
      description: REST surface for team-teamId-invites.
      operations:
      - method: GET
        name: listteaminvites
        description: List All Invitations for a Team
        call: rest-invites.listteaminvites
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: inviteusertoteam
        description: Invite a User to a Team
        call: rest-invites.inviteusertoteam
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-invites-mcp
    port: 9090
    transport: http
    description: MCP adapter for Rollbar REST API — Invites. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-invitation
      description: Get an Invitation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-invites.getinvite
      with:
        inviteId: tools.inviteId
      outputParameters:
      - type: object
        mapping: $.
    - name: cancel-invitation
      description: Cancel an Invitation
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-invites.cancelinvite
      with:
        inviteId: tools.inviteId
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-invitations-team
      description: List All Invitations for a Team
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-invites.listteaminvites
      outputParameters:
      - type: object
        mapping: $.
    - name: invite-user-team
      description: Invite a User to a Team
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-invites.inviteusertoteam
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.