Import Company Users

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
POST /public/v1/users/import

Bulk import of users to the company, any invalid row fails the entire import and nothing is persisted

Headers

  • X-COMPANY-ID string(uuid) Required
application/json

Body

  • file string(binary) Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • imported integer(int32)
    • updated integer(int32)
    • unchanged integer(int32)
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • type string
      • message string
      • rows array[integer(int32)]
POST /public/v1/users/import
curl \
 --request POST 'https://live.smartpmtech.com/public/v1/users/import' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "X-COMPANY-ID: string" \
 --data '{
  "file": "@file"
}'
Request examples
# Headers
X-COMPANY-ID: string

# Payload
{
  "file": "@file"
}
Response examples (200)
{
  "imported": 42,
  "updated": 42,
  "unchanged": 42,
  "errors": [
    {
      "type": "string",
      "message": "string",
      "rows": [
        42
      ]
    }
  ]
}