Microsoft Project Event Handlers API

Manage event handler subscriptions

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /EventHandlers List event handlers · Microsoft Project List Event Handlers #
Ask an LLM
“Which event handlers are registered in Project Server?”
“What event handler names and GUIDs exist?”
Tell an agent
List all event handlers.
Show every registered event handler.
POST /EventHandlers Register an event handler · Microsoft Project Create Event Handler #
Ask an LLM
“How do I register a custom event handler for a Project Server event?”
“Can I set the execution order of a new event handler?”
Tell an agent
Register event handler {Name} for event {EventId}.
Add event handler {Name} for event {EventId} running in assembly {AssemblyName}, class {ClassName}, order {Order}.
GET /EventHandlers('{handlerId}') Get an event handler · Microsoft Project Get Event Handler #
Ask an LLM
“What event handler is registered with a given GUID?”
“Can I look up one event handler by its ID?”
Tell an agent
Get event handler {handlerId}.
Show the details of event handler {handlerId}.
DELETE /EventHandlers('{handlerId}') Delete an event handler · Microsoft Project Delete Event Handler #
Ask an LLM
“How do I unregister an event handler from Project Server?”
“Can I remove an event handler by its GUID?”
Tell an agent destructive · confirm first
Delete event handler {handlerId}.
Unregister the event handler with ID {handlerId}.

Documentation

Specifications

Code Examples

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/microsoft-project/json-schema/rest-api-project-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-project/json-schema/rest-api-task-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-project/json-schema/rest-api-enterprise-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-project/json-schema/rest-api-assignment-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-project/json-schema/rest-api-calendar-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-project/json-schema/rest-api-custom-field-schema.json
📊
JSONSchema
https://artifacts.apis.io/microsoft-project/json-schema/rest-api-time-sheet-schema.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-project/json-structure/rest-api-project-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-project/json-structure/rest-api-task-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-project/json-structure/rest-api-enterprise-resource-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-project/json-structure/rest-api-assignment-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-project/json-structure/rest-api-calendar-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-project/json-structure/rest-api-custom-field-structure.json
📊
JSONStructure
https://artifacts.apis.io/microsoft-project/json-structure/rest-api-time-sheet-structure.json

Other Resources

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/microsoft-project:microsoft-project-event-handlers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

microsoft-project-event-handlers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Project Online REST Event Handlers API
  description: REST API for accessing and managing Microsoft Project Online and Project Server data including projects, tasks, resources, assignments, calendars, custom fields, timesheets, lookup tables, and workflow activities. Uses SharePoint-based REST endpoints via the ProjectServer service.
  version: '1.0'
  contact:
    name: Microsoft Project Support
    url: https://support.microsoft.com/
  license:
    name: Microsoft API License
    url: https://www.microsoft.com/en-us/legal/terms-of-use
  x-generated-from: documentation
  x-last-validated: '2026-04-18'
servers:
- url: https://{tenant}.sharepoint.com/sites/pwa/_api/ProjectServer
  description: Project Online REST API
  variables:
    tenant:
      default: contoso
      description: SharePoint tenant name
security:
- oauth2: []
tags:
- name: Event Handlers
  description: Manage event handler subscriptions
paths:
  /EventHandlers:
    get:
      operationId: listEventHandlers
      summary: Microsoft Project List Event Handlers
      description: Retrieve all registered event handlers.
      tags:
      - Event Handlers
      responses:
        '200':
          description: List of event handlers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHandlerCollection'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createEventHandler
      summary: Microsoft Project Create Event Handler
      description: Register a new event handler.
      tags:
      - Event Handlers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventHandlerCreate'
      responses:
        '201':
          description: Event handler created
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /EventHandlers('{handlerId}'):
    get:
      operationId: getEventHandler
      summary: Microsoft Project Get Event Handler
      description: Retrieve a specific event handler.
      tags:
      - Event Handlers
      parameters:
      - $ref: '#/components/parameters/handlerId'
      responses:
        '200':
          description: Event handler details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHandler'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: deleteEventHandler
      summary: Microsoft Project Delete Event Handler
      description: Delete an event handler.
      tags:
      - Event Handlers
      parameters:
      - $ref: '#/components/parameters/handlerId'
      responses:
        '204':
          description: Event handler deleted
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    EventHandlerCollection:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/EventHandler'
    EventHandlerCreate:
      type: object
      required:
      - Name
      - EventId
      properties:
        Name:
          type: string
          description: Event handler name
        EventId:
          type: integer
          description: Event identifier
        AssemblyName:
          type: string
          description: Assembly name
        ClassName:
          type: string
          description: Class name
        Order:
          type: integer
          description: Execution order
    EventHandler:
      type: object
      properties:
        Id:
          type: string
          format: uuid
          description: Event handler identifier
        Name:
          type: string
          description: Event handler name
          example: Project Published Handler
        AssemblyName:
          type: string
          description: Assembly containing the handler
        ClassName:
          type: string
          description: Class implementing the handler
        EventId:
          type: integer
          description: Event identifier
        Order:
          type: integer
          description: Handler execution order
          example: 1
  parameters:
    handlerId:
      name: handlerId
      in: path
      required: true
      description: The GUID identifier of the event handler
      schema:
        type: string
        format: uuid
  securitySchemes:
    oauth2:
      type: oauth2
      description: OAuth 2.0 authentication via Azure AD for SharePoint Online
      flows:
        authorizationCode:
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
          tokenUrl: https://login.microsoftonline.com/common/oauth2/token
          scopes:
            ProjectServer.Read: Read Project Server data
            ProjectServer.ReadWrite: Read and write Project Server data