Microsoft Office Integration Microsoft Office 365 Service Communications API — Messages

Microsoft Office Integration Microsoft Office 365 Service Communications API — Messages. 1 operations. Lead operation: Microsoft Office Integration Get Messages. Self-contained Naftiko capability covering one Microsoft Office Integration business surface.

Run with Naftiko Microsoft Office IntegrationMessages

What You Can Do

GET
Getmessages — Microsoft Office Integration Get Messages
/v1/messages

MCP Tools

microsoft-office-integration-get-messages

Microsoft Office Integration Get Messages

read-only idempotent

Capability Spec

microsoft-office-service-communications-messages.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Office Integration Microsoft Office 365 Service Communications API — Messages
  description: 'Microsoft Office Integration Microsoft Office 365 Service Communications API — Messages. 1 operations. Lead
    operation: Microsoft Office Integration Get Messages. Self-contained Naftiko capability covering one Microsoft Office
    Integration business surface.'
  tags:
  - Microsoft Office Integration
  - Messages
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_OFFICE_INTEGRATION_API_KEY: MICROSOFT_OFFICE_INTEGRATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-office-service-communications-messages
    baseUri: https://manage.office.com/api/v1.0/{tenantId}/ServiceComms
    description: Microsoft Office Integration Microsoft Office 365 Service Communications API — Messages business capability.
      Self-contained, no shared references.
    resources:
    - name: Messages
      path: /Messages
      operations:
      - name: getmessages
        method: GET
        description: Microsoft Office Integration Get Messages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Workload
          in: query
          type: string
          description: Filter by workload (default is all).
        - name: StartTime
          in: query
          type: string
          description: Filter by start time (default ge CurrentTime - 7 days).
        - name: EndTime
          in: query
          type: string
          description: Filter by end time (default le CurrentTime).
        - name: MessageType
          in: query
          type: string
          description: Filter by message type (default is all).
        - name: Id
          in: query
          type: string
          description: Filter by specific message Id.
        - name: $select
          in: query
          type: string
          description: Pick a subset of properties.
        - name: $top
          in: query
          type: integer
          description: Number of top results to return (default and max 100).
        - name: $skip
          in: query
          type: integer
          description: Number of results to skip (default 0).
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_OFFICE_INTEGRATION_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-office-service-communications-messages-rest
    port: 8080
    description: REST adapter for Microsoft Office Integration Microsoft Office 365 Service Communications API — Messages.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/messages
      name: messages
      description: REST surface for Messages.
      operations:
      - method: GET
        name: getmessages
        description: Microsoft Office Integration Get Messages
        call: microsoft-office-service-communications-messages.getmessages
        with:
          Workload: rest.Workload
          StartTime: rest.StartTime
          EndTime: rest.EndTime
          MessageType: rest.MessageType
          Id: rest.Id
          $select: rest.$select
          $top: rest.$top
          $skip: rest.$skip
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-office-service-communications-messages-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Office Integration Microsoft Office 365 Service Communications API — Messages.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-office-integration-get-messages
      description: Microsoft Office Integration Get Messages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-office-service-communications-messages.getmessages
      with:
        Workload: tools.Workload
        StartTime: tools.StartTime
        EndTime: tools.EndTime
        MessageType: tools.MessageType
        Id: tools.Id
        $select: tools.$select
        $top: tools.$top
        $skip: tools.$skip
      outputParameters:
      - type: object
        mapping: $.