Magic Moment Microsoft365 API

The microsoft365 API from Magic Moment — 2 operation(s) for microsoft365.

Operations 2

PATCH /microsoft365/subscription-expiration Microsoft 365 サブスクリプションの有効期限を延長 #
POST /microsoft365/webhook/subscription Microsoft 365 Webhook サブスクリプションの受け取り #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/magic-moment-microsoft365-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

magic-moment-microsoft365-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Office suite service連携アプリケーションAPI仕様
  title: Office suite service連携アプリケーション Microsoft365 API
  version: 1.0.0
servers:
- url: https://suite.magicmoment.co.jp/
tags:
- name: microsoft365
paths:
  /microsoft365/subscription-expiration:
    patch:
      security:
      - apiToken: []
      description: Microsoft 365 サブスクリプションの有効期限を延長します
      tags:
      - microsoft365
      summary: Microsoft 365 サブスクリプションの有効期限を延長
      operationId: updateMicrosoft365SubscriptionExpiration
      responses:
        '200':
          $ref: '#/components/responses/success'
        '500':
          $ref: '#/components/responses/default'
  /microsoft365/webhook/subscription:
    post:
      description: Microsoft 365 からのサブスクリプション通知を受け取ります
      tags:
      - microsoft365
      summary: Microsoft 365 Webhook サブスクリプションの受け取り
      operationId: microsoft365WebhookSubscription
      parameters:
      - description: Microsoft 365 から送られるサブスクリプション検証トークン
        name: validationToken
        in: query
        schema:
          type: string
      responses:
        '200':
          description: サブスクリプションの検証が成功しました
          content:
            text/plain:
              schema:
                type: string
        '202':
          description: ライフサイクル通知の検証が成功しました
          content:
            text/plain:
              schema:
                type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                value:
                  type: array
                  items:
                    type: object
                    properties:
                      changeType:
                        description: 変更タイプ
                        type: string
                      clientState:
                        description: クライアントステート
                        type: string
                      id:
                        description: ID
                        type: string
                      lifecycleEvent:
                        description: ライフサイクルイベント
                        type: string
                      resource:
                        description: リソース
                        type: string
                      resourceData:
                        type: object
                        properties:
                          '@odata.etag':
                            description: ODataのETag
                            type: string
                          '@odata.id':
                            description: ODataのID
                            type: string
                          '@odata.type':
                            description: ODataの型
                            type: string
                          id:
                            description: ID
                            type: string
                      subscriptionExpirationDateTime:
                        description: サブスクリプション有効期限
                        type: string
                      subscriptionId:
                        description: サブスクリプションID
                        type: string
                      tenantId:
                        description: テナントID
                        type: string
        description: Webhook body
components:
  schemas:
    error:
      type: object
      required:
      - message
      properties:
        code:
          type: integer
          format: int64
          example: 404
        message:
          type: string
          example: Not Found
    success:
      type: object
      required:
      - success
      properties:
        success:
          type: boolean
  responses:
    success:
      description: リクエストの成功時に返却します。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/success'
    default:
      description: 未知のエラーの場合に発生します。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
  securitySchemes:
    accessToken:
      type: apiKey
      name: x-access-token
      in: header
    apiToken:
      type: apiKey
      name: x-api-key
      in: header