Get Project Comments

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://developers.smartpm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "SmartPM Public API MCP server": {
    "url": "https://developers.smartpm.com/mcp"
  }
}

Close
GET /public/v1/projects/{projectId}/notes

Headers

  • X-COMPANY-ID string(uuid) Required

Path parameters

  • projectId integer(int64) Required

Query parameters

  • keepUnread boolean
  • category string

    Values are PROJECT, DELAY, CHANGE, MILESTONE, or CHECKLIST.

  • scenarioId integer(int64)
  • dataDate string(date-time)
  • projectNoteEntity string

    Values are ACTIVITY, LOGIC, CALENDAR, CALENDAR_WORKTIME, CHECKLIST, or CHECKLIST_ITEM.

  • projectNoteEntityId integer(int64)

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • id integer(int64) Required

      The ID of the project note

    • note string Required

      The content of the project note

    • user string Required

      The name of the user who created the note

    • userId string(uuid) Required

      The ID of the user who created the note

    • createdAt string(date-time) Required

      The creation timestamp of the note

    • updatedAt string(date-time) Required

      The last updated timestamp of the note

    • viewedByUser boolean Required

      Indicates if the note has been viewed by the user

    • canEdit boolean Required

      Indicates if the user can edit the note

    • canDelete boolean Required

      Indicates if the user can delete the note

    • category string Required

      Category the note belongs to

      Values are PROJECT, DELAY, CHANGE, MILESTONE, or CHECKLIST.

    • scenarioId integer(int64)

      The ID of the scenario the note is linked to

    • dataDate string(date-time)

      The data date of the delay period or change the note is linked to

    • projectNoteEntity string

      The type of entity the comment is attached to.

      Values are ACTIVITY, LOGIC, CALENDAR, CALENDAR_WORKTIME, CHECKLIST, or CHECKLIST_ITEM.

    • projectNoteEntityId integer(int64)

      Database identifier of the entity the note is linked to

    • projectNoteEntityLabel string

      The readable label shown for the entity, such as an activity ID.

GET /public/v1/projects/{projectId}/notes
curl \
 --request GET 'https://live.smartpmtech.com/public/v1/projects/{projectId}/notes' \
 --header "X-API-KEY: $API_KEY" \
 --header "X-COMPANY-ID: string"
Response examples (200)
[
  {
    "id": 1,
    "note": "This is a project note.",
    "user": "John Doe",
    "userId": "550e8400-e29b-41d4-a716-446655440000",
    "createdAt": "2024-01-01T12:00:00Z",
    "updatedAt": "2024-01-02T12:00:00Z",
    "viewedByUser": true,
    "canEdit": false,
    "canDelete": false,
    "category": "DELAY",
    "scenarioId": 12,
    "dataDate": "2026-06-01T08:00:00+00:00",
    "projectNoteEntity": "ACTIVITY",
    "projectNoteEntityId": 555,
    "projectNoteEntityLabel": "PROJ1-3410 (Perm. Power Available) - PROJ1-1550 (Set RTU's Pipe & Wire)"
  }
]