Get messages for session

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/v2/foreman-message/{sessionId}

Headers

  • X-COMPANY-ID string Required

    The company's unique ID

Path parameters

  • sessionId string(uuid) Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • actor string

      Values are USER or AGENT.

    • message string
    • id integer(int64)
    • timeStamp string(date-time)
GET /public/v2/foreman-message/{sessionId}
curl \
 --request GET 'https://live.smartpmtech.com/public/v2/foreman-message/{sessionId}' \
 --header "X-API-KEY: $API_KEY" \
 --header "X-COMPANY-ID: string"
Response examples (200)
[
  {
    "actor": "USER",
    "message": "string",
    "id": 42,
    "timeStamp": "2026-05-04T09:42:00Z"
  }
]